Skip to content

Instantly share code, notes, and snippets.

@AraujoJordan
Created March 12, 2016 04:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AraujoJordan/78eaf556b2af4b723f8a to your computer and use it in GitHub Desktop.
Save AraujoJordan/78eaf556b2af4b723f8a to your computer and use it in GitHub Desktop.
[Nova Cursos] Aula5 activity_primeira.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
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="araujo.jordan.novaquiz.PrimeiraActivity"
android:gravity="center_horizontal">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="NovaQuiz"
android:layout_gravity="center"
android:gravity="center_horizontal"
android:singleLine="true"
android:textSize="40sp"
android:layout_marginTop="16dp"
android:layout_marginBottom="64dp" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Partida 1"
android:id="@+id/button"
android:layout_margin="8dp" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Partida 2"
android:id="@+id/button2"
android:layout_margin="8dp" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Partida 3"
android:id="@+id/button3"
android:layout_margin="8dp" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Partida 4"
android:id="@+id/button4"
android:layout_margin="8dp" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment