Skip to content

Instantly share code, notes, and snippets.

@yccheok
Created May 8, 2016 02:09
Show Gist options
  • Save yccheok/60bda9461c1a6551410e9eaeb6c24379 to your computer and use it in GitHub Desktop.
Save yccheok/60bda9461c1a6551410e9eaeb6c24379 to your computer and use it in GitHub Desktop.
<Button
android:theme="@style/Shop.Button.Light"
android:id="@+id/buy_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="?attr/shopButtonTextColor"
style="?attr/buttonStyle"
android:stateListAnimator="@null"
android:textStyle="bold"
android:text="@string/shop_buy" />
<style name="Shop.Button.Light" parent="@style/Theme.JStock.Light">
<item name="colorButtonNormal">@color/shop_button_background_color_material_light</item>
<item name="android:colorButtonNormal">@color/shop_button_background_color_material_light</item>
<item name="colorControlHighlight">#ffffffff</item>
<item name="android:colorControlHighlight">#ffffffff</item>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment