Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
User Interface of the Countdown Math Game for the SSaurel's Channel
<?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:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.ssaurel.countdowngame.MainActivity">
<TextView
android:id="@+id/numbersTv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Numbers"
android:textStyle="bold"
android:textSize="20sp"
android:layout_marginLeft="10dp"
android:layout_marginTop="40dp"
/>
<EditText
android:id="@+id/numbers"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_below="@id/numbersTv"
android:layout_marginTop="10dp"/>
<TextView
android:id="@+id/targetTv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Target"
android:textStyle="bold"
android:textSize="20sp"
android:layout_marginLeft="10dp"
android:layout_marginTop="30dp"
android:layout_below="@id/numbers"
/>
<EditText
android:id="@+id/target"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_below="@id/targetTv"
android:layout_marginTop="10dp"/>
<Button
android:id="@+id/solve"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Solve"
android:layout_marginTop="50dp"
android:layout_below="@id/target"
android:layout_centerHorizontal="true"
/>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment