checkpoint for moving UI to Holo style
mostly final assets
dialogs are not styled correctly
Change-Id: Ib98312ca9465ded3efc2743f9828fe9a815814cc
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 68bf253..95105e1 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -32,7 +32,8 @@
<color name="white">#ffffffff</color>
<color name="black">#ff000000</color>
-
+ <color name="tab_title_selected">#ffffffff</color>
+ <color name="tab_title_unselected">#ff808080</color>
<color name="geolocation_permissions_prompt_background">#ffdddddd</color>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index fadb16e..933cff1 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -129,11 +129,11 @@
<string name="http">http://</string>
<!-- Menu item that opens a dialog to save a bookmark for the current page, also displayed as
the title of the dialog used for adding a bookmark -->
- <string name="save_to_bookmarks">Add to Bookmarks</string>
+ <string name="save_to_bookmarks">Bookmark this page</string>
<!-- Menu item on the bookmarks page, to edit an existing bookmark -->
<string name="edit_bookmark">Edit bookmark</string>
<!-- Context menu item to create a shortcut to the bookmark on the desktop -->
- <string name="create_shortcut_bookmark">Add to Home</string>
+ <string name="create_shortcut_bookmark">Add shortcut to home</string>
<!-- Context menu item to open the currently highlighted bookmark -->
<string name="open_bookmark">Open</string>
<!-- Menu item to remove the currently highlighted bookmark-->
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 09dbff1..acfbe97 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -18,12 +18,13 @@
*/
-->
<resources>
- <style name="BrowserTheme" parent="@android:Theme.Black">
- <item name="android:windowBackground">@color/white</item>
- <item name="android:colorBackground">#FFFFFFFF</item>
+ <style name="BrowserTheme" parent="@android:Theme.Holo">
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
+ <style name="ActionBar" parent="@android:style/ActionBar">
+ <item name="android:background">@color/black</item>
+ </style>
<style name="BookmarkTheme" parent="@android:Theme.Black">
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null</item>
@@ -36,5 +37,20 @@
<item name="android:windowEnterAnimation">@anim/title_bar_enter</item>
<item name="android:windowExitAnimation">@anim/title_bar_exit</item>
</style>
+ <style name="HoloIcon">
+ <item name="android:paddingLeft">16dip</item>
+ <item name="android:paddingRight">16dip</item>
+ </style>
+ <style name="HoloButton" parent="@style/HoloIcon">
+ <item name="android:background">@drawable/browserbarbutton</item>
+ </style>
+ <style name="TabTitleSelected" parent="@android:style/TextAppearance.Small">
+ <item name="android:textColor">@color/tab_title_selected</item>
+ <item name="android:textStyle">bold</item>
+ </style>
+ <style name="TabTitleUnselected" parent="@android:style/TextAppearance.Small">
+ <item name="android:textColor">@color/tab_title_unselected</item>
+ <item name="android:textStyle">normal</item>
+ </style>
</resources>