summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorEvan Millar <emillar@google.com>2011-09-30 09:57:14 -0700
committerEvan Millar <emillar@google.com>2011-09-30 16:18:57 -0700
commitcf19320192ae5799b7ba147949bc9ef0d3a9c8d5 (patch)
tree6bd48c42e12fe38313a891506e05301b5164d162 /res
parent2ec4e1c43dbd2488738a4ab529a535a276425fd5 (diff)
downloadandroid_packages_apps_Snap-cf19320192ae5799b7ba147949bc9ef0d3a9c8d5.tar.gz
android_packages_apps_Snap-cf19320192ae5799b7ba147949bc9ef0d3a9c8d5.tar.bz2
android_packages_apps_Snap-cf19320192ae5799b7ba147949bc9ef0d3a9c8d5.zip
Various UI fixes in Gallery
-New assets for grid and strip selection borders. -Fix spacing in details dialog. -New scrollbar asset in the strip view. -Deleted unused ScrollView.java and GlDetailsView.java bug:5327238 Change-Id: I147b8f8069f42e345110f7ae86c47d331551f089
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/grid_pressed.9.pngbin223 -> 138 bytes
-rw-r--r--res/drawable-hdpi/grid_selected.9.pngbin222 -> 138 bytes
-rw-r--r--res/drawable-hdpi/scrollbar_handle_holo_dark.9.pngbin267 -> 0 bytes
-rw-r--r--res/drawable-hdpi/thumb_selected.9.pngbin0 -> 139 bytes
-rw-r--r--res/drawable-mdpi/grid_pressed.9.pngbin205 -> 134 bytes
-rw-r--r--res/drawable-mdpi/grid_selected.9.pngbin204 -> 135 bytes
-rw-r--r--res/drawable-mdpi/scrollbar_handle_holo_dark.9.pngbin205 -> 0 bytes
-rw-r--r--res/drawable-mdpi/thumb_selected.9.pngbin0 -> 127 bytes
-rw-r--r--res/drawable-xhdpi/grid_pressed.9.pngbin232 -> 143 bytes
-rw-r--r--res/drawable-xhdpi/grid_selected.9.pngbin236 -> 142 bytes
-rw-r--r--res/drawable-xhdpi/thumb_selected.9.pngbin0 -> 147 bytes
-rw-r--r--res/layout/details_list.xml22
-rw-r--r--res/values-xlarge/bool.xml4
-rw-r--r--res/values/bool.xml1
14 files changed, 22 insertions, 5 deletions
diff --git a/res/drawable-hdpi/grid_pressed.9.png b/res/drawable-hdpi/grid_pressed.9.png
index 41cd9aa58..5e1d2e369 100644
--- a/res/drawable-hdpi/grid_pressed.9.png
+++ b/res/drawable-hdpi/grid_pressed.9.png
Binary files differ
diff --git a/res/drawable-hdpi/grid_selected.9.png b/res/drawable-hdpi/grid_selected.9.png
index 0d8d2f51e..24a78d2a9 100644
--- a/res/drawable-hdpi/grid_selected.9.png
+++ b/res/drawable-hdpi/grid_selected.9.png
Binary files differ
diff --git a/res/drawable-hdpi/scrollbar_handle_holo_dark.9.png b/res/drawable-hdpi/scrollbar_handle_holo_dark.9.png
deleted file mode 100644
index 575edee14..000000000
--- a/res/drawable-hdpi/scrollbar_handle_holo_dark.9.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-hdpi/thumb_selected.9.png b/res/drawable-hdpi/thumb_selected.9.png
new file mode 100644
index 000000000..3e762f230
--- /dev/null
+++ b/res/drawable-hdpi/thumb_selected.9.png
Binary files differ
diff --git a/res/drawable-mdpi/grid_pressed.9.png b/res/drawable-mdpi/grid_pressed.9.png
index b26bc8816..74ba39c0e 100644
--- a/res/drawable-mdpi/grid_pressed.9.png
+++ b/res/drawable-mdpi/grid_pressed.9.png
Binary files differ
diff --git a/res/drawable-mdpi/grid_selected.9.png b/res/drawable-mdpi/grid_selected.9.png
index a8f7e191c..0310273aa 100644
--- a/res/drawable-mdpi/grid_selected.9.png
+++ b/res/drawable-mdpi/grid_selected.9.png
Binary files differ
diff --git a/res/drawable-mdpi/scrollbar_handle_holo_dark.9.png b/res/drawable-mdpi/scrollbar_handle_holo_dark.9.png
deleted file mode 100644
index e039c4bca..000000000
--- a/res/drawable-mdpi/scrollbar_handle_holo_dark.9.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/thumb_selected.9.png b/res/drawable-mdpi/thumb_selected.9.png
new file mode 100644
index 000000000..b1c8fac7f
--- /dev/null
+++ b/res/drawable-mdpi/thumb_selected.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/grid_pressed.9.png b/res/drawable-xhdpi/grid_pressed.9.png
index 339d1eb74..4e505322a 100644
--- a/res/drawable-xhdpi/grid_pressed.9.png
+++ b/res/drawable-xhdpi/grid_pressed.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/grid_selected.9.png b/res/drawable-xhdpi/grid_selected.9.png
index 31777a1cc..5609df051 100644
--- a/res/drawable-xhdpi/grid_selected.9.png
+++ b/res/drawable-xhdpi/grid_selected.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/thumb_selected.9.png b/res/drawable-xhdpi/thumb_selected.9.png
new file mode 100644
index 000000000..9ddbd05f9
--- /dev/null
+++ b/res/drawable-xhdpi/thumb_selected.9.png
Binary files differ
diff --git a/res/layout/details_list.xml b/res/layout/details_list.xml
new file mode 100644
index 000000000..b80ab6ca8
--- /dev/null
+++ b/res/layout/details_list.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 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.
+-->
+
+<ListView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="16dp"
+ android:dividerHeight="8dp"
+/>
diff --git a/res/values-xlarge/bool.xml b/res/values-xlarge/bool.xml
deleted file mode 100644
index cffa691fc..000000000
--- a/res/values-xlarge/bool.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
- <bool name="dialog_details_view">false</bool>
-</resources> \ No newline at end of file
diff --git a/res/values/bool.xml b/res/values/bool.xml
index 7b7ead20f..464842ab4 100644
--- a/res/values/bool.xml
+++ b/res/values/bool.xml
@@ -14,6 +14,5 @@
limitations under the License.
-->
<resources>
- <bool name="dialog_details_view">true</bool>
<bool name="show_action_bar_title">false</bool>
</resources> \ No newline at end of file