Skip to content

Instantly share code, notes, and snippets.

@NearLinHere
Created February 11, 2015 03:19
Show Gist options
  • Select an option

  • Save NearLinHere/f7f7d0565967f02ed266 to your computer and use it in GitHub Desktop.

Select an option

Save NearLinHere/f7f7d0565967f02ed266 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" >
<com.custom.view.ToggleButtonGroupTableLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/radgp_order"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<TableRow>
<RadioButton
android:id="@+id/rad_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Date"
android:textSize="20sp" />
<RadioButton
android:id="@+id/rad_rating"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Rating"
android:textSize="20sp" />
<RadioButton
android:id="@+id/rad_relevance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Relevance"
android:textSize="20sp" />
</TableRow>
<TableRow>
<RadioButton
android:id="@+id/rad_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Title"
android:textSize="20sp" />
<RadioButton
android:id="@+id/rad_videoCount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Video Count"
android:textSize="20sp" />
<RadioButton
android:id="@+id/rad_viewCount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="View Count"
android:textSize="20sp" />
</TableRow>
</com.custom.view.ToggleButtonGroupTableLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment