Created
April 27, 2017 01:50
-
-
Save clottman/55e9c223928f36d856471c43f84cd740 to your computer and use it in GitHub Desktop.
Updated styles.xml
This file contains 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" ?> | |
<resources> | |
<style name="AppTheme" parent="android:Theme.Light"> | |
<!-- or maybe my name should not include @attr? --> | |
<item name="@attr/buttonAttrReference">@style/ButtonDefaultTheme</item> | |
</style> | |
<attr name="buttonAttrReference" format="reference" /> | |
<style name="ButtonDefaultTheme" parent="android:style/Widget.Button"> | |
<item name="android:paddingBottom">0dp</item> | |
<item name="android:paddingTop">0dp</item> | |
<item name="android:paddingLeft">10dp</item> | |
<item name="android:paddingRight">10dp</item> | |
<item name="android:layout_width">wrap_content</item> | |
<item name="android:layout_height">wrap_content</item> | |
<item name="android:layout_weight">1</item> | |
<item name="android:minWidth">100dp</item> | |
</style> | |
</resources> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment