Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:weightSum="100"
- android:layoutDirection="ltr"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <Button
- android:text="player1"
- android:rotation="180"
- android:backgroundTint="#0091ff"
- android:layout_weight="45"
- android:layout_width="match_parent"
- android:layout_height="0sp"
- android:minWidth="25px"
- android:minHeight="25px"
- android:id="@+id/buttonPlayer1" />
- <LinearLayout
- android:orientation="horizontal"
- android:weightSum="100"
- android:minWidth="25px"
- android:minHeight="25px"
- android:layout_weight="10"
- android:layout_width="match_parent"
- android:layout_height="0sp"
- android:id="@+id/linearLayout1" >
- <TextView
- android:text="0"
- android:rotation="180"
- android:textAlignment="center"
- android:layout_weight="25"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:id="@+id/textViewScore1" />
- <TextView
- android:layout_weight="25"
- android:rotation="180"
- android:textAlignment="center"
- android:text="1"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:id="@+id/textViewTimer1" />
- <TextView
- android:layout_weight="25"
- android:textAlignment="center"
- android:text="1"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:id="@+id/textViewTimer2" />
- <TextView
- android:layout_weight="25"
- android:textAlignment="center"
- android:text="0"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:id="@+id/textViewScore2" />
- </LinearLayout>
- <Button
- android:text="player2"
- android:backgroundTint="#ff669900"
- android:layout_weight="45"
- android:layout_width="match_parent"
- android:layout_height="0sp"
- android:id="@+id/buttonPlayer2" />
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement