From a0dc1b87de08a5462396a750baa77827ee14f754 Mon Sep 17 00:00:00 2001 From: Joey Rizzoli Date: Wed, 1 Jun 2016 14:04:38 +0200 Subject: Gallery2: Replace hamburger menu with bottom bar Change-Id: I20caa58fe11ee6f4148cb0bcb0ccbcdcf3a9612e Signed-off-by: Joey Rizzoli --- res/drawable/ic_album.xml | 9 +++++ res/drawable/ic_timeline.xml | 14 ++++++++ res/drawable/ic_video.xml | 13 ++++++++ res/layout/gallery_main.xml | 69 +++++++++++---------------------------- res/layout/gl_root_group.xml | 12 +++++-- res/values/attrs.xml | 10 ++---- res/values/cm_colors.xml | 7 ++++ res/values/codeaurora_strings.xml | 12 ++----- 8 files changed, 76 insertions(+), 70 deletions(-) create mode 100644 res/drawable/ic_album.xml create mode 100644 res/drawable/ic_timeline.xml create mode 100644 res/drawable/ic_video.xml (limited to 'res') diff --git a/res/drawable/ic_album.xml b/res/drawable/ic_album.xml new file mode 100644 index 000000000..3f0cfa2fb --- /dev/null +++ b/res/drawable/ic_album.xml @@ -0,0 +1,9 @@ + + + diff --git a/res/drawable/ic_timeline.xml b/res/drawable/ic_timeline.xml new file mode 100644 index 000000000..7c30ffa4e --- /dev/null +++ b/res/drawable/ic_timeline.xml @@ -0,0 +1,14 @@ + + + + + diff --git a/res/drawable/ic_video.xml b/res/drawable/ic_video.xml new file mode 100644 index 000000000..1904d8b68 --- /dev/null +++ b/res/drawable/ic_video.xml @@ -0,0 +1,13 @@ + + + + + diff --git a/res/layout/gallery_main.xml b/res/layout/gallery_main.xml index 31d67c5ea..da9e76a8d 100644 --- a/res/layout/gallery_main.xml +++ b/res/layout/gallery_main.xml @@ -28,67 +28,36 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> - - - - - - - - - - - - - - - + android:layout_height="match_parent"> + + android:layout_height="match_parent"> - + android:layout_alignParentBottom="true" /> + + - + + - - \ No newline at end of file + diff --git a/res/layout/gl_root_group.xml b/res/layout/gl_root_group.xml index de0f66afe..eee2b49f8 100644 --- a/res/layout/gl_root_group.xml +++ b/res/layout/gl_root_group.xml @@ -15,13 +15,19 @@ --> - + + + android:background="#fafafa"/> diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 80079dd46..52ac78ff9 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -14,16 +14,11 @@ limitations under the License. --> - - - - + - - - + @@ -44,7 +39,6 @@ - diff --git a/res/values/cm_colors.xml b/res/values/cm_colors.xml index 70fc269a8..4eb65aead 100644 --- a/res/values/cm_colors.xml +++ b/res/values/cm_colors.xml @@ -24,6 +24,13 @@ #424242 + @color/primary + @color/primary + @color/primary + @color/white + @color/white + @color/white + #1a000000 #26000000 #75000000 diff --git a/res/values/codeaurora_strings.xml b/res/values/codeaurora_strings.xml index b05aaf45c..540707e3a 100644 --- a/res/values/codeaurora_strings.xml +++ b/res/values/codeaurora_strings.xml @@ -122,19 +122,13 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. DRM license info - - Timeline - Albums - Videos - - - @string/app_name Timeline - @string/tab_albums + Albums Videos + List view @string/switch_photo_grid No photos found @@ -144,7 +138,7 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Soften Trimface Bigeye - drawer + Normal Whiteboard TrueScanner -- cgit v1.2.3