Skip to content

Instantly share code, notes, and snippets.

@NearLinHere
Created February 12, 2015 03:07
Show Gist options
  • Save NearLinHere/8e08c06bf6ab0a54c4df to your computer and use it in GitHub Desktop.
Save NearLinHere/8e08c06bf6ab0a54c4df to your computer and use it in GitHub Desktop.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Radio Button Group with 2 rows"
android:textAppearance="?android:attr/textAppearanceMedium" />
<Button
android:id="@+id/btn_get"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Get choosen radio button" />
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="The choosen option is: "
android:textAppearance="?android:attr/textAppearanceMedium" />
<TextView
android:id="@+id/tvw_result"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""
android:textAppearance="?android:attr/textAppearanceMedium" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment