Created
July 26, 2020 15:27
-
-
Save chelseatroy/0b67669db2c7dbdd55604d1d05de955c to your computer and use it in GitHub Desktop.
Custom View
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
> | |
<RadioGroup | |
android:id="@+id/radio_group" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="10dp" | |
android:paddingTop="10dp"> | |
<RadioButton | |
android:id="@+id/severity_none" | |
android:paddingRight="8dp" | |
android:textSize="20sp" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@string/none" /> | |
<RadioButton | |
android:id="@+id/severity_mild" | |
android:paddingRight="8dp" | |
android:textSize="20sp" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@string/mild" /> | |
<RadioButton | |
android:id="@+id/severity_moderate" | |
android:paddingRight="8dp" | |
android:textSize="20sp" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@string/moderate" /> | |
<RadioButton | |
android:id="@+id/severity_severe" | |
android:paddingRight="8dp" | |
android:textSize="20sp" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@string/severe" /> | |
<RadioButton | |
android:id="@+id/severity_very_severe" | |
android:paddingRight="8dp" | |
android:textSize="20sp" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="@string/very_severe" /> | |
</RadioGroup> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment