Fix checkboxes pre 17
This commit is contained in:
parent
d8adae60d2
commit
d9f7b8f6f8
3 changed files with 8 additions and 2 deletions
4
eclipse-compile/appcompat/res/values-v17/dimens.xml
Normal file
4
eclipse-compile/appcompat/res/values-v17/dimens.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="checkbox_padding">0dp</dimen>
|
||||
</resources>
|
|
@ -83,5 +83,5 @@
|
|||
|
||||
<!-- Dialog button bar height -->
|
||||
<dimen name="abc_alert_dialog_button_bar_height">48dp</dimen>
|
||||
|
||||
<dimen name="checkbox_padding">12dp</dimen>
|
||||
</resources>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<!-- Like in themes_base.xml, the namespace "Base.AppCompat.*" is used to
|
||||
define base styles for the platform version. The "*.AppCompat"
|
||||
|
@ -372,6 +372,8 @@
|
|||
<style name="Base.Widget.AppCompat.CompoundButton.CheckBox" parent="android:Widget.CompoundButton.CheckBox">
|
||||
<item name="android:button">?android:attr/listChoiceIndicatorMultiple</item>
|
||||
<item name="android:background">?attr/selectableItemBackgroundBorderless</item>
|
||||
<item name="android:paddingLeft">@dimen/checkbox_padding</item>
|
||||
<item name="android:paddingRight">@dimen/checkbox_padding</item>
|
||||
</style>
|
||||
|
||||
<style name="Base.Widget.AppCompat.CompoundButton.RadioButton" parent="android:Widget.CompoundButton.RadioButton">
|
||||
|
|
Loading…
Reference in a new issue