[SetupWizardLib] Add more themes
Add more themes from res-shared to library, namely SuwContentFrame and SuwDescription. Bug: 18685749 Change-Id: Iae97d016705e422fa6e194b5e939ea013477bbb0
This commit is contained in:
parent
2853c9e766
commit
4dad307e70
|
@ -46,6 +46,26 @@
|
|||
<item name="android:activityCloseExitAnimation">@anim/suw_slide_back_out</item>
|
||||
</style>
|
||||
|
||||
<!-- Content styles -->
|
||||
|
||||
<style name="SuwContentFrame">
|
||||
<item name="android:paddingTop">@dimen/suw_content_frame_padding_top</item>
|
||||
<item name="android:paddingLeft">@dimen/suw_layout_margin_sides</item>
|
||||
<item name="android:paddingRight">@dimen/suw_layout_margin_sides</item>
|
||||
<item name="android:paddingBottom">@dimen/suw_content_frame_padding_bottom</item>
|
||||
</style>
|
||||
|
||||
<style name="SuwDescription">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_marginBottom">@dimen/suw_description_margin_bottom</item>
|
||||
<item name="android:layout_marginTop">@dimen/suw_description_margin_top</item>
|
||||
<item name="android:lineSpacingExtra">@dimen/suw_description_line_spacing_extra</item>
|
||||
<item name="android:textAppearance">@android:style/TextAppearance.Material.Medium</item>
|
||||
<item name="android:textColor">?android:attr/textColorPrimary</item>
|
||||
<item name="android:textSize">@dimen/suw_description_text_size</item>
|
||||
</style>
|
||||
|
||||
<!-- Card layout (for tablets) -->
|
||||
|
||||
<style name="SuwCardTitle">
|
||||
|
|
|
@ -20,6 +20,15 @@
|
|||
<!-- General -->
|
||||
<dimen name="suw_layout_margin_sides">40dp</dimen>
|
||||
|
||||
<!-- Content styles -->
|
||||
<dimen name="suw_content_frame_padding_top">0dp</dimen>
|
||||
<dimen name="suw_content_frame_padding_bottom">16dp</dimen>
|
||||
|
||||
<dimen name="suw_description_margin_top">24dp</dimen>
|
||||
<dimen name="suw_description_margin_bottom">12dp</dimen>
|
||||
<dimen name="suw_description_line_spacing_extra">4sp</dimen>
|
||||
<dimen name="suw_description_text_size">16sp</dimen>
|
||||
|
||||
<!-- Card layout (for tablets) -->
|
||||
<dimen name="suw_card_corner_radius">2dp</dimen>
|
||||
<dimen name="suw_card_elevation">5dp</dimen>
|
||||
|
|
Loading…
Reference in a new issue