Style for wizard labels

This commit is contained in:
serso 2015-01-29 10:21:26 +01:00
parent 8804af0d51
commit 8f01f748de
2 changed files with 10 additions and 7 deletions

View File

@ -27,12 +27,7 @@
a:layout_height="match_parent"> a:layout_height="match_parent">
<TextView <TextView
a:layout_width="match_parent" style="@style/WizardLabel"
a:layout_height="wrap_content"
a:layout_gravity="center"
a:drawablePadding="40dp"
a:drawableTop="@drawable/logo_wizard" a:drawableTop="@drawable/logo_wizard"
a:gravity="center" a:text="@string/c_first_start_text" />
a:text="@string/c_first_start_text"
a:textAppearance="@android:style/TextAppearance.Medium" />
</FrameLayout> </FrameLayout>

View File

@ -145,6 +145,14 @@
<item name="android:padding">1dp</item> <item name="android:padding">1dp</item>
</style> </style>
<style name="WizardLabel">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_gravity">center</item>
<item name="android:drawablePadding">40dp</item>
<item name="android:gravity">center</item>
<item name="android:textAppearance">@android:style/TextAppearance.Medium</item>
</style>
<style name="BaseWizardButtons"> <style name="BaseWizardButtons">
<item name="android:background">@null</item> <item name="android:background">@null</item>
<item name="android:layout_width">wrap_content</item> <item name="android:layout_width">wrap_content</item>