Skip to content

Commit

Permalink
Added Holo.Light as the parent theme for Android devices 3.0 or great…
Browse files Browse the repository at this point in the history
…er. Dialogs and UI elements look much better.
  • Loading branch information
roundhill committed Jan 4, 2013
1 parent 3897e15 commit fd96893
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ res/values-sw720dp/styles.xml -text
res/values-ta/strings.xml -text
res/values-th/strings.xml -text
res/values-tr/strings.xml -text
res/values-v11/styles.xml -text
res/values-xlarge-v11/styles.xml -text
res/values-zh-rTW/strings.xml -text
res/values-zh/strings.xml -text
Expand Down
21 changes: 21 additions & 0 deletions res/values-v11/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<style name="WordPress" parent="@android:style/Theme.Holo.Light">
<item name="android:windowNoTitle">true</item>
<item name="android:textViewStyle">@style/WordPressTextAppearance</item>
<item name="android:windowTitleStyle">@style/WordPressTitleAppearance</item>
<item name="android:buttonStyle">@style/WordPressButtonAppearance</item>
<item name="android:windowTitleBackgroundStyle">@style/WindowTitleBackground</item>
<item name="android:windowContentOverlay">@null</item>
</style>

<style name="IncludeTitleBar" parent="@android:style/Theme.Holo.Light">
<item name="android:textViewStyle">@style/WordPressTextAppearance</item>
<item name="android:windowTitleStyle">@style/WordPressTitleAppearance</item>
<item name="android:buttonStyle">@style/WordPressButtonAppearance</item>
<item name="android:windowTitleBackgroundStyle">@style/WindowTitleBackground</item>
<item name="android:windowContentOverlay">@null</item>
</style>

</resources>
2 changes: 1 addition & 1 deletion res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
<style name="DashboardButtonText">
<item name="android:singleLine">true</item>
<item name="android:ellipsize">end</item>
<item name="android:textSize">12dip</item>
<item name="android:textSize">14sp</item>
<item name="android:textColor">#333333</item>
</style>

Expand Down

0 comments on commit fd96893

Please sign in to comment.