Skip to content

Instantly share code, notes, and snippets.

@abdahma01
Forked from udacityandroid/activity_main.xml
Created February 14, 2018 01:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abdahma01/3dbfcadbaf0b969852606148e8b67d05 to your computer and use it in GitHub Desktop.
Save abdahma01/3dbfcadbaf0b969852606148e8b67d05 to your computer and use it in GitHub Desktop.
Android Development for Beginners : Court Counter - The Stages
<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">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:padding="4dp"
android:text="Team A" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:padding="4dp"
android:text="0" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="+3 Points" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="+2 Points" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="Free throw" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment