Skip to content

Instantly share code, notes, and snippets.

@travisdachi
Created August 3, 2016 21:42
Show Gist options
  • Save travisdachi/33027575b4de565c39a75aa99c841a2a to your computer and use it in GitHub Desktop.
Save travisdachi/33027575b4de565c39a75aa99c841a2a to your computer and use it in GitHub Desktop.
<?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"
tools:context=".grader.LegendaryGraderActivity">
<TextView
android:id="@+id/act_grader_textView"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="bottom|center_horizontal"
android:textSize="64sp"
tools:text="A"/>
<RadioGroup
android:id="@+id/act_grader_radioGroup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp">
<RadioButton
android:id="@+id/act_grader_radio_typical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checked="true"
android:text="Typical Grader"/>
<RadioButton
android:id="@+id/act_grader_radio_su"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="S/U Grader"/>
</RadioGroup>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<EditText
android:id="@+id/act_grader_editText"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:imeOptions="actionDone"
android:inputType="number"/>
<ImageButton
android:id="@+id/act_grader_imageButton"
style="?borderlessButtonStyle"
android:layout_width="60dp"
android:layout_height="60dp"
android:src="@drawable/ic_send_black_24dp"/>
</LinearLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment