Categoria: Desenvolvimento

Laravel – Instalação

Laravel é um framework PHP (open-source) para desenvolvimento web com base na arquitetura MVC. Para maiores informações acesse http://laravel.com/ ou https://en.wikipedia.org/wiki/Laravel (em Inglês). Instalação do Laravel (Ambiente Windows) Esta artigo …

Android Studio – activity_main.xml

activity_main.xml – Comentários em breve! <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_main" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context="net.mgc_ti.myfirstapplication.MainActivity"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Hello World!" /> </RelativeLayout>  

Android Studio – MainActivity.java

MainActivity.java – Comentários em breve! package net.mgc_ti.myfirstapplication; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } }

Android Studio – AndroidManifest.xml

AndroidManifest.xml – Comentários em breve! <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="net.mgc_ti.myfirstapplication"> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> …