Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="12dp"
- android:padding="15dp" >
- <TextView
- android:id="@+id/tv_tys_Timer"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="true"
- android:gravity="center"
- android:text="01:25"
- android:textAppearance="?android:textAppearanceMedium"
- android:textColor="#000" />
- <LinearLayout
- android:id="@+id/ll_tys_Main"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_marginTop="15.0dip"
- android:orientation="horizontal"
- android:padding="5.0dip" >
- <TextView
- android:id="@+id/tv_tys_Questions"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="3"
- android:gravity="center"
- android:text="Questions"
- android:textAppearance="?android:textAppearanceLarge"
- android:textColor="#000"
- android:textSize="28.0sp" />
- <TextView
- android:id="@+id/tv_tys_NumberOfQuestions"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:text="5/15"
- android:textAppearance="?android:textAppearanceMedium" />
- </LinearLayout>
- <TextView
- android:id="@+id/tv_tys_Answers"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/ll_tys_Main"
- android:text="Answers"
- android:textColor="#000"
- android:textSize="28.0sp" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/tv_tys_Answers"
- android:layout_marginTop="24dp"
- android:orientation="vertical" >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <Button
- android:id="@+id/bOne"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="1" />
- <Button
- android:id="@+id/bTwo"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="2" />
- <Button
- android:id="@+id/bThree"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="3" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <Button
- android:id="@+id/bFour"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="4" />
- <Button
- android:id="@+id/bFive"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="5" />
- <Button
- android:id="@+id/bSix"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="6" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <Button
- android:id="@+id/bSeven"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="7" />
- <Button
- android:id="@+id/bEight"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="8" />
- <Button
- android:id="@+id/bNine"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="9" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <Button
- android:id="@+id/bZero"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="0" />
- <Button
- android:id="@+id/bClear"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="3"
- android:text="Clear" />
- </LinearLayout>
- </LinearLayout>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment