[SetupWizardLib] Check box styles

Add style for setup wizard check boxes according to setup wizard
design guidelines.

Change-Id: Idbbf7b14bcc73631352b4741d4d37579e7cac988
This commit is contained in:
Maurice Lam 2015-06-04 18:16:37 -07:00
parent 9a3337d4b0
commit 69ebd3159b
2 changed files with 27 additions and 0 deletions

View file

@ -21,6 +21,13 @@
<dimen name="suw_layout_margin_sides">40dp</dimen>
<!-- Content styles -->
<dimen name="suw_check_box_line_spacing_extra">4sp</dimen>
<dimen name="suw_check_box_margin_bottom">12dp</dimen>
<dimen name="suw_check_box_margin_start">1dp</dimen>
<dimen name="suw_check_box_margin_top">24dp</dimen>
<dimen name="suw_check_box_padding_start">15dp</dimen>
<dimen name="suw_check_box_text_size">16sp</dimen>
<dimen name="suw_content_frame_padding_top">0dp</dimen>
<dimen name="suw_content_frame_padding_bottom">16dp</dimen>

View file

@ -44,6 +44,10 @@
<item name="android:textAppearance">@style/TextAppearance.SuwDescription</item>
</style>
<style name="TextAppearance.SuwDescription.Light" parent="TextAppearance.SuwDescription">
<item name="android:fontFamily">sans-serif-light</item>
</style>
<style name="SuwRadioButton">
<item name="android:layout_marginBottom">@dimen/suw_radio_button_margin_bottom</item>
<item name="android:layout_marginLeft">@dimen/suw_radio_button_margin_start</item>
@ -55,6 +59,22 @@
<item name="android:textAppearance">@style/TextAppearance.SuwDescription</item>
</style>
<style name="SuwCheckBox">
<item name="android:layout_marginBottom">@dimen/suw_check_box_margin_bottom</item>
<item name="android:layout_marginLeft">@dimen/suw_check_box_margin_start</item>
<item name="android:layout_marginStart" tools:ignore="NewApi">@dimen/suw_check_box_margin_start</item>
<item name="android:layout_marginTop">@dimen/suw_check_box_margin_top</item>
<item name="android:lineSpacingExtra">@dimen/suw_check_box_line_spacing_extra</item>
<item name="android:paddingLeft">@dimen/suw_check_box_padding_start</item>
<item name="android:paddingStart" tools:ignore="NewApi">@dimen/suw_check_box_padding_start</item>
<item name="android:textAppearance">@style/TextAppearance.SuwDescription.Light</item>
<item name="android:textSize">@dimen/suw_check_box_text_size</item>
</style>
<style name="SuwCheckBox.Multiline" parent="SuwCheckBox">
<item name="android:gravity">top</item>
</style>
<!-- Card layout (for tablets) -->
<style name="SuwBaseCardTitle">