The styles used by the app details showed good padding on either side of the buttons text. This was because they had a certain amount of screen space to fill up which resulted in nice empty space on either side of the text. Other buttons do not have this type of layout, so need to have a minimum amount of padding thrust upon them. Required breaking out into values-v17 too, so refactored common styles into base style to make this easier.
7 lines
252 B
XML
7 lines
252 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<style name="DetailsButtonStyle" parent="DetailsButtonStyleBase">
|
|
<item name="android:paddingStart">20dp</item>
|
|
<item name="android:paddingEnd">20dp</item>
|
|
</style>
|
|
</resources> |