Skip to content

Instantly share code, notes, and snippets.

@px-amaac
Created December 12, 2014 23:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save px-amaac/7da69358a74e091236b2 to your computer and use it in GitHub Desktop.
Save px-amaac/7da69358a74e091236b2 to your computer and use it in GitHub Desktop.
<CheckBox
android:id="@+id/selected_check_box"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:button="@drawable/default_checkbox_btn"
android:text="Select"
android:layout_marginLeft="4dp"
android:layout_marginRight="32dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"/>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/white"/>
<corners android:radius="4dp"/>
<size android:height="32dp"
android:width="74dp"/>
</shape>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/primary_orange"/>
<corners android:radius="4dp"/>
<size android:height="32dp"
android:width="74dp"/>
</shape>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment