summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2009-08-04 16:04:55 -0400
committerLeon Scroggins <scroggo@google.com>2009-08-04 16:16:27 -0400
commit0c7865002753aea5de117ea4c08043dca95d07b6 (patch)
treeb6c3286559bef67c46686296269db0ea2e13ea81 /res/drawable
parent2b0da96f012b02c16adbec3fe040dea721e2f333 (diff)
downloadandroid_packages_apps_Gello-0c7865002753aea5de117ea4c08043dca95d07b6.tar.gz
android_packages_apps_Gello-0c7865002753aea5de117ea4c08043dca95d07b6.tar.bz2
android_packages_apps_Gello-0c7865002753aea5de117ea4c08043dca95d07b6.zip
Updates for the look of the bookmarks page.
Add new assets. -tab_indicator.xml State selector for the background of tabs in the CombinedHistoryActivity -bookmark_thumnail.xml Web page title is now above the thumb. Removed the favicon. Added a shadow. -tab_header.xml Layout for the tabs in CombinedHistoryActivity -tabs.xml Change the height of the tabs. -bookmarks.xml Remove the title for the "switch" menu item, which gets set in Java, depending on the current viewing mode. -strings.xml Remove the placeholder menu item text, add the actual text for switching between modes. -BrowserBookmarksAdapter No longer set the favicon on top of the bookmark thumbs in grid mode. -BrowserBookmarksPage Implement onPrepareOptionsMenu, and set the title of a menu option, depending on the current viewing state. -CombinedHistoryActivity Create a common function for setting up all the tabs. Change the look of the tabs to match the new design.
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/bookmark_shadow.9.pngbin0 -> 501 bytes
-rw-r--r--res/drawable/minitab_focus.9.pngbin0 -> 47833 bytes
-rw-r--r--res/drawable/minitab_press.9.pngbin0 -> 48225 bytes
-rw-r--r--res/drawable/minitab_selected.9.pngbin0 -> 48121 bytes
-rw-r--r--res/drawable/minitab_unselected.9.pngbin0 -> 47724 bytes
-rw-r--r--res/drawable/tab_indicator.xml42
6 files changed, 42 insertions, 0 deletions
diff --git a/res/drawable/bookmark_shadow.9.png b/res/drawable/bookmark_shadow.9.png
new file mode 100644
index 00000000..3c706be6
--- /dev/null
+++ b/res/drawable/bookmark_shadow.9.png
Binary files differ
diff --git a/res/drawable/minitab_focus.9.png b/res/drawable/minitab_focus.9.png
new file mode 100644
index 00000000..7c290e36
--- /dev/null
+++ b/res/drawable/minitab_focus.9.png
Binary files differ
diff --git a/res/drawable/minitab_press.9.png b/res/drawable/minitab_press.9.png
new file mode 100644
index 00000000..c7369e73
--- /dev/null
+++ b/res/drawable/minitab_press.9.png
Binary files differ
diff --git a/res/drawable/minitab_selected.9.png b/res/drawable/minitab_selected.9.png
new file mode 100644
index 00000000..849e1242
--- /dev/null
+++ b/res/drawable/minitab_selected.9.png
Binary files differ
diff --git a/res/drawable/minitab_unselected.9.png b/res/drawable/minitab_unselected.9.png
new file mode 100644
index 00000000..e12b36da
--- /dev/null
+++ b/res/drawable/minitab_unselected.9.png
Binary files differ
diff --git a/res/drawable/tab_indicator.xml b/res/drawable/tab_indicator.xml
new file mode 100644
index 00000000..839532b9
--- /dev/null
+++ b/res/drawable/tab_indicator.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:state_selected="true"
+ android:state_focused="false"
+ android:state_pressed="false"
+ android:drawable="@drawable/minitab_selected"
+ />
+ <item
+ android:state_selected="false"
+ android:state_focused="false"
+ android:state_pressed="false"
+ android:drawable="@drawable/minitab_unselected"
+ />
+ <item
+ android:state_focused="true"
+ android:state_selected="true"
+ android:state_pressed="false"
+ android:drawable="@drawable/minitab_focus"
+ />
+ <item
+ android:state_pressed="true"
+ android:state_selected="true"
+ android:state_focused="true"
+ android:drawable="@drawable/minitab_press"
+ />
+</selector>