summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2011-09-14 20:50:28 +0800
committerChih-Chung Chang <chihchung@google.com>2011-09-16 15:23:49 +0800
commit5bb73989b355f9875305c46062cc5fc35da053b6 (patch)
treeb5874f6cf3e9d3c77b1b4c71659ea6a63ce661b9 /res
parent3312c9b950e7183e45243083186bcd25e87a8338 (diff)
downloadandroid_packages_apps_Snap-5bb73989b355f9875305c46062cc5fc35da053b6.zip
android_packages_apps_Snap-5bb73989b355f9875305c46062cc5fc35da053b6.tar.gz
android_packages_apps_Snap-5bb73989b355f9875305c46062cc5fc35da053b6.tar.bz2
New UI for Gallery.
Change-Id: I5f243c00ebac55a9b333a9e13d0cc9c371a85005
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/album_frame.9.pngbin211 -> 0 bytes
-rw-r--r--res/drawable-hdpi/frame_overlay_gallery_camera.pngbin0 -> 1013 bytes
-rw-r--r--res/drawable-hdpi/frame_overlay_gallery_folder.pngbin0 -> 821 bytes
-rw-r--r--res/drawable-hdpi/frame_overlay_gallery_picasa.pngbin0 -> 1488 bytes
-rw-r--r--res/drawable-hdpi/grid_selected.9.pngbin219 -> 235 bytes
-rw-r--r--res/drawable-hdpi/grid_selected_top.9.pngbin229 -> 0 bytes
-rw-r--r--res/drawable-hdpi/ic_album_overlay_camera_holo.pngbin2365 -> 0 bytes
-rw-r--r--res/drawable-hdpi/ic_album_overlay_folder_holo.pngbin1603 -> 0 bytes
-rw-r--r--res/drawable-hdpi/ic_album_overlay_picassa_holo.pngbin5605 -> 0 bytes
-rw-r--r--res/drawable-hdpi/ic_gallery_play.pngbin0 -> 4092 bytes
-rw-r--r--res/drawable-hdpi/ic_pan_thumb.pngbin0 -> 656 bytes
-rw-r--r--res/drawable-hdpi/ic_video_thumb.pngbin0 -> 725 bytes
-rw-r--r--res/drawable-hdpi/import_translucent.9.pngbin155 -> 0 bytes
-rw-r--r--res/drawable-hdpi/manage_frame.9.pngbin194 -> 0 bytes
-rw-r--r--res/drawable-hdpi/thumbnail_album_video_overlay_holo.pngbin791 -> 0 bytes
-rw-r--r--res/drawable-hdpi/videooverlay.pngbin6790 -> 0 bytes
-rw-r--r--res/drawable-mdpi/album_frame.9.pngbin211 -> 0 bytes
-rw-r--r--res/drawable-mdpi/frame_overlay_gallery_camera.pngbin0 -> 748 bytes
-rw-r--r--res/drawable-mdpi/frame_overlay_gallery_folder.pngbin0 -> 626 bytes
-rw-r--r--res/drawable-mdpi/frame_overlay_gallery_picasa.pngbin0 -> 988 bytes
-rw-r--r--res/drawable-mdpi/grid_selected.9.pngbin219 -> 215 bytes
-rw-r--r--res/drawable-mdpi/grid_selected_top.9.pngbin229 -> 0 bytes
-rw-r--r--res/drawable-mdpi/ic_album_overlay_camera_holo.pngbin2193 -> 0 bytes
-rw-r--r--res/drawable-mdpi/ic_album_overlay_folder_holo.pngbin1727 -> 0 bytes
-rw-r--r--res/drawable-mdpi/ic_album_overlay_picassa_holo.pngbin2762 -> 0 bytes
-rw-r--r--res/drawable-mdpi/ic_gallery_play.pngbin0 -> 2636 bytes
-rw-r--r--res/drawable-mdpi/ic_pan_thumb.pngbin0 -> 539 bytes
-rw-r--r--res/drawable-mdpi/ic_video_thumb.pngbin0 -> 644 bytes
-rw-r--r--res/drawable-mdpi/import_translucent.9.pngbin178 -> 0 bytes
-rw-r--r--res/drawable-mdpi/manage_frame.9.pngbin194 -> 0 bytes
-rw-r--r--res/drawable-mdpi/thumbnail_album_video_overlay_holo.pngbin1520 -> 0 bytes
-rw-r--r--res/drawable-mdpi/videooverlay.pngbin11286 -> 0 bytes
-rw-r--r--res/values-xlarge/dimensions.xml14
-rw-r--r--res/values/dimensions.xml23
34 files changed, 20 insertions, 17 deletions
diff --git a/res/drawable-hdpi/album_frame.9.png b/res/drawable-hdpi/album_frame.9.png
deleted file mode 100644
index 3a456ce..0000000
--- a/res/drawable-hdpi/album_frame.9.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-hdpi/frame_overlay_gallery_camera.png b/res/drawable-hdpi/frame_overlay_gallery_camera.png
new file mode 100644
index 0000000..895de5f
--- /dev/null
+++ b/res/drawable-hdpi/frame_overlay_gallery_camera.png
Binary files differ
diff --git a/res/drawable-hdpi/frame_overlay_gallery_folder.png b/res/drawable-hdpi/frame_overlay_gallery_folder.png
new file mode 100644
index 0000000..c5f9490
--- /dev/null
+++ b/res/drawable-hdpi/frame_overlay_gallery_folder.png
Binary files differ
diff --git a/res/drawable-hdpi/frame_overlay_gallery_picasa.png b/res/drawable-hdpi/frame_overlay_gallery_picasa.png
new file mode 100644
index 0000000..b6d78a1
--- /dev/null
+++ b/res/drawable-hdpi/frame_overlay_gallery_picasa.png
Binary files differ
diff --git a/res/drawable-hdpi/grid_selected.9.png b/res/drawable-hdpi/grid_selected.9.png
index 4211b5e..c8eac67 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/grid_selected_top.9.png b/res/drawable-hdpi/grid_selected_top.9.png
deleted file mode 100644
index 1ed6297..0000000
--- a/res/drawable-hdpi/grid_selected_top.9.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-hdpi/ic_album_overlay_camera_holo.png b/res/drawable-hdpi/ic_album_overlay_camera_holo.png
deleted file mode 100644
index 189aa3d..0000000
--- a/res/drawable-hdpi/ic_album_overlay_camera_holo.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-hdpi/ic_album_overlay_folder_holo.png b/res/drawable-hdpi/ic_album_overlay_folder_holo.png
deleted file mode 100644
index 469b222..0000000
--- a/res/drawable-hdpi/ic_album_overlay_folder_holo.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-hdpi/ic_album_overlay_picassa_holo.png b/res/drawable-hdpi/ic_album_overlay_picassa_holo.png
deleted file mode 100644
index 7cdf8e4..0000000
--- a/res/drawable-hdpi/ic_album_overlay_picassa_holo.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-hdpi/ic_gallery_play.png b/res/drawable-hdpi/ic_gallery_play.png
new file mode 100644
index 0000000..e475e1f
--- /dev/null
+++ b/res/drawable-hdpi/ic_gallery_play.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_pan_thumb.png b/res/drawable-hdpi/ic_pan_thumb.png
new file mode 100644
index 0000000..937d4a8
--- /dev/null
+++ b/res/drawable-hdpi/ic_pan_thumb.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_video_thumb.png b/res/drawable-hdpi/ic_video_thumb.png
new file mode 100644
index 0000000..69f9047
--- /dev/null
+++ b/res/drawable-hdpi/ic_video_thumb.png
Binary files differ
diff --git a/res/drawable-hdpi/import_translucent.9.png b/res/drawable-hdpi/import_translucent.9.png
deleted file mode 100644
index cb3152b..0000000
--- a/res/drawable-hdpi/import_translucent.9.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-hdpi/manage_frame.9.png b/res/drawable-hdpi/manage_frame.9.png
deleted file mode 100644
index 879c47b..0000000
--- a/res/drawable-hdpi/manage_frame.9.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-hdpi/thumbnail_album_video_overlay_holo.png b/res/drawable-hdpi/thumbnail_album_video_overlay_holo.png
deleted file mode 100644
index 567a69a..0000000
--- a/res/drawable-hdpi/thumbnail_album_video_overlay_holo.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-hdpi/videooverlay.png b/res/drawable-hdpi/videooverlay.png
deleted file mode 100644
index 1718832..0000000
--- a/res/drawable-hdpi/videooverlay.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/album_frame.9.png b/res/drawable-mdpi/album_frame.9.png
deleted file mode 100644
index 3a456ce..0000000
--- a/res/drawable-mdpi/album_frame.9.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/frame_overlay_gallery_camera.png b/res/drawable-mdpi/frame_overlay_gallery_camera.png
new file mode 100644
index 0000000..9e71053
--- /dev/null
+++ b/res/drawable-mdpi/frame_overlay_gallery_camera.png
Binary files differ
diff --git a/res/drawable-mdpi/frame_overlay_gallery_folder.png b/res/drawable-mdpi/frame_overlay_gallery_folder.png
new file mode 100644
index 0000000..99873f9
--- /dev/null
+++ b/res/drawable-mdpi/frame_overlay_gallery_folder.png
Binary files differ
diff --git a/res/drawable-mdpi/frame_overlay_gallery_picasa.png b/res/drawable-mdpi/frame_overlay_gallery_picasa.png
new file mode 100644
index 0000000..20b7b5c
--- /dev/null
+++ b/res/drawable-mdpi/frame_overlay_gallery_picasa.png
Binary files differ
diff --git a/res/drawable-mdpi/grid_selected.9.png b/res/drawable-mdpi/grid_selected.9.png
index 4211b5e..ca8943a 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/grid_selected_top.9.png b/res/drawable-mdpi/grid_selected_top.9.png
deleted file mode 100644
index 1ed6297..0000000
--- a/res/drawable-mdpi/grid_selected_top.9.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/ic_album_overlay_camera_holo.png b/res/drawable-mdpi/ic_album_overlay_camera_holo.png
deleted file mode 100644
index 15bdedf..0000000
--- a/res/drawable-mdpi/ic_album_overlay_camera_holo.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/ic_album_overlay_folder_holo.png b/res/drawable-mdpi/ic_album_overlay_folder_holo.png
deleted file mode 100644
index 99b2088..0000000
--- a/res/drawable-mdpi/ic_album_overlay_folder_holo.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/ic_album_overlay_picassa_holo.png b/res/drawable-mdpi/ic_album_overlay_picassa_holo.png
deleted file mode 100644
index 8e1e432..0000000
--- a/res/drawable-mdpi/ic_album_overlay_picassa_holo.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/ic_gallery_play.png b/res/drawable-mdpi/ic_gallery_play.png
new file mode 100644
index 0000000..183d75e
--- /dev/null
+++ b/res/drawable-mdpi/ic_gallery_play.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_pan_thumb.png b/res/drawable-mdpi/ic_pan_thumb.png
new file mode 100644
index 0000000..893386e
--- /dev/null
+++ b/res/drawable-mdpi/ic_pan_thumb.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_video_thumb.png b/res/drawable-mdpi/ic_video_thumb.png
new file mode 100644
index 0000000..f329175
--- /dev/null
+++ b/res/drawable-mdpi/ic_video_thumb.png
Binary files differ
diff --git a/res/drawable-mdpi/import_translucent.9.png b/res/drawable-mdpi/import_translucent.9.png
deleted file mode 100644
index 94a14ae..0000000
--- a/res/drawable-mdpi/import_translucent.9.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/manage_frame.9.png b/res/drawable-mdpi/manage_frame.9.png
deleted file mode 100644
index 879c47b..0000000
--- a/res/drawable-mdpi/manage_frame.9.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/thumbnail_album_video_overlay_holo.png b/res/drawable-mdpi/thumbnail_album_video_overlay_holo.png
deleted file mode 100644
index a4541c1..0000000
--- a/res/drawable-mdpi/thumbnail_album_video_overlay_holo.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/videooverlay.png b/res/drawable-mdpi/videooverlay.png
deleted file mode 100644
index 8b39eed..0000000
--- a/res/drawable-mdpi/videooverlay.png
+++ /dev/null
Binary files differ
diff --git a/res/values-xlarge/dimensions.xml b/res/values-xlarge/dimensions.xml
index 4ead09c..a016054 100644
--- a/res/values-xlarge/dimensions.xml
+++ b/res/values-xlarge/dimensions.xml
@@ -20,16 +20,14 @@
<dimen name="stack_photo_height">190dp</dimen>
<!-- configuration for album set page -->
- <dimen name="albumset_display_item_size">144dp</dimen>
- <dimen name="albumset_slot_width">220dp</dimen>
- <dimen name="albumset_slot_height">220dp</dimen>
- <dimen name="albumset_label_font_size">14dp</dimen>
- <dimen name="albumset_label_offset_y">110dp</dimen>
+ <integer name="albumset_rows_land">3</integer>
+ <integer name="albumset_rows_port">5</integer>
+ <dimen name="albumset_slot_gap">1dp</dimen>
<!-- configuration for album page -->
- <dimen name="album_display_item_size">176dp</dimen>
- <dimen name="album_slot_width">192dp</dimen>
- <dimen name="album_slot_height">192dp</dimen>
+ <integer name="album_rows_land">3</integer>
+ <integer name="album_rows_port">5</integer>
+ <dimen name="album_slot_gap">1dp</dimen>
<!-- configuration for manage page -->
<dimen name="cache_bar_height">48dp</dimen>
diff --git a/res/values/dimensions.xml b/res/values/dimensions.xml
index 90c3064..7cbd875 100644
--- a/res/values/dimensions.xml
+++ b/res/values/dimensions.xml
@@ -20,17 +20,22 @@
<dimen name="stack_photo_height">110dp</dimen>
<!-- configuration for album set page -->
- <dimen name="albumset_display_item_size">80dp</dimen>
- <dimen name="albumset_slot_width">135dp</dimen>
- <dimen name="albumset_slot_height">135dp</dimen>
- <dimen name="albumset_label_font_size">11dp</dimen>
- <dimen name="albumset_label_offset_y">70dp</dimen>
- <dimen name="albumset_label_margin">10dp</dimen>
+ <integer name="albumset_rows_land">2</integer>
+ <integer name="albumset_rows_port">4</integer>
+ <dimen name="albumset_slot_gap">1dp</dimen>
+
+ <dimen name="albumset_dark_strip_height">40dp</dimen>
+ <dimen name="albumset_title_offset">3dp</dimen>
+ <dimen name="albumset_number_offset">4dp</dimen>
+ <dimen name="albumset_title_font_size">14sp</dimen>
+ <dimen name="albumset_number_font_size">12sp</dimen>
+ <dimen name="albumset_left_margin">6dp</dimen>
+ <dimen name="albumset_icon_size">26dp</dimen>
<!-- configuration for album page -->
- <dimen name="album_display_item_size">108dp</dimen>
- <dimen name="album_slot_width">122dp</dimen>
- <dimen name="album_slot_height">122dp</dimen>
+ <integer name="album_rows_land">2</integer>
+ <integer name="album_rows_port">4</integer>
+ <dimen name="album_slot_gap">1dp</dimen>
<!-- configuration for manage page -->
<dimen name="cache_bar_height">32dp</dimen>