From 82196ead569c25dae76a70be6b2bc147666ea24d Mon Sep 17 00:00:00 2001 From: Raj Yengisetty Date: Tue, 13 May 2014 23:19:54 -0700 Subject: Trebuchet Settings UI Refresh - Overview Panel contains all Launcher Settings - Accessible through long press on Workspace or HW Menu button - Settings are held in a SlidingPanel in the Overview Panel - Replace the Settings shortcut in Overview Panel with Themes shortcut - Replace widgets icon with new widgets icon from Launcher3 - Trebuchet Settings changes no longer require restarting Process - Transition Effects have PNG Sequence to show animation sequence - Remove PageIndicator click event to open Overview Panel in AppTray Contributors: Adrian Foulk - UX Lead Abishek Devkota - Project Manager Hayden Schoen - UX Designer Change-Id: I2186213960cf12e840e814757894fe104551856b --- res/layout/overview_panel.xml | 148 +++++------------------------ res/layout/settings_pane.xml | 121 +++++++++++++++++++++++ res/layout/settings_pane_list_header.xml | 19 ++++ res/layout/settings_pane_list_item.xml | 36 +++++++ res/layout/settings_transitions_screen.xml | 51 ++++++++++ 5 files changed, 251 insertions(+), 124 deletions(-) create mode 100644 res/layout/settings_pane.xml create mode 100644 res/layout/settings_pane_list_header.xml create mode 100644 res/layout/settings_pane_list_item.xml create mode 100644 res/layout/settings_transitions_screen.xml (limited to 'res/layout') diff --git a/res/layout/overview_panel.xml b/res/layout/overview_panel.xml index 479b622ec..b6707417c 100644 --- a/res/layout/overview_panel.xml +++ b/res/layout/overview_panel.xml @@ -1,5 +1,6 @@ - - + android:layout_height="match_parent" + android:gravity="bottom" + slidingpanel:overlay="false" + slidingpanel:panelHeight="@dimen/sliding_panel_padding" > + android:layout_gravity="center_horizontal" + android:background="@color/settings_bg_color" + android:paddingTop="@dimen/overview_panel_top_padding" > - - - - - - + android:paddingRight="@dimen/overview_panel_button_spacing"/> - + - - - - - - - + \ No newline at end of file diff --git a/res/layout/settings_pane.xml b/res/layout/settings_pane.xml new file mode 100644 index 000000000..26ee8fc26 --- /dev/null +++ b/res/layout/settings_pane.xml @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/settings_pane_list_header.xml b/res/layout/settings_pane_list_header.xml new file mode 100644 index 000000000..700f5e773 --- /dev/null +++ b/res/layout/settings_pane_list_header.xml @@ -0,0 +1,19 @@ + + + + diff --git a/res/layout/settings_pane_list_item.xml b/res/layout/settings_pane_list_item.xml new file mode 100644 index 000000000..2a9d31b95 --- /dev/null +++ b/res/layout/settings_pane_list_item.xml @@ -0,0 +1,36 @@ + + + + + + + \ No newline at end of file diff --git a/res/layout/settings_transitions_screen.xml b/res/layout/settings_transitions_screen.xml new file mode 100644 index 000000000..23b3b37e9 --- /dev/null +++ b/res/layout/settings_transitions_screen.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3