diff options
author | Raj Yengisetty <rajesh@cyngn.com> | 2014-11-10 10:35:00 -0800 |
---|---|---|
committer | Adnan <adnan@cyngn.com> | 2014-11-19 15:53:46 -0800 |
commit | 0daed36da7dab3172f05aa3dc29b7facac01ce6e (patch) | |
tree | 284e4d166ce0ffaa557c7fe1c99cbd35ac35aa70 /res/layout/overview_panel.xml | |
parent | ae5f7ce8ed2e385cba8d65a67d9b108c9c3590e8 (diff) | |
download | android_packages_apps_Trebuchet-0daed36da7dab3172f05aa3dc29b7facac01ce6e.tar.gz android_packages_apps_Trebuchet-0daed36da7dab3172f05aa3dc29b7facac01ce6e.tar.bz2 android_packages_apps_Trebuchet-0daed36da7dab3172f05aa3dc29b7facac01ce6e.zip |
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
Diffstat (limited to 'res/layout/overview_panel.xml')
-rw-r--r-- | res/layout/overview_panel.xml | 76 |
1 files changed, 33 insertions, 43 deletions
diff --git a/res/layout/overview_panel.xml b/res/layout/overview_panel.xml index 558900c7d..ea12aefe4 100644 --- a/res/layout/overview_panel.xml +++ b/res/layout/overview_panel.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2013 The Android Open Source Project +<!-- + Copyright (C) 2013 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. @@ -13,47 +14,36 @@ See the License for the specific language governing permissions and limitations under the License. --> -<FrameLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal|bottom" - android:orientation="horizontal"> +<com.android.launcher3.SlidingUpPanelLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:slidingpanel="http://schemas.android.com/apk/res/com.android.launcher3" + android:id="@+id/sliding_layout" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="bottom" + slidingpanel:overlay="false" + slidingpanel:panelHeight="@dimen/sliding_panel_padding" > - <TextView - android:id="@+id/wallpaper_button" - android:layout_width="wrap_content" + <LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/default_home_screen_panel" + android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_gravity="start|top" - android:text="@string/wallpaper_button_text" - android:drawablePadding="4dp" - android:drawableTop="@drawable/wallpaper_button" - android:gravity="center_horizontal" - android:fontFamily="sans-serif-condensed" - android:textAllCaps="true" - android:textSize="12sp" /> - <TextView - android:id="@+id/widget_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal|top" - android:text="@string/widget_button_text" - android:drawablePadding="4dp" - android:gravity="center_horizontal" - android:drawableTop="@drawable/widget_button" - android:fontFamily="sans-serif-condensed" - android:textAllCaps="true" - android:textSize="12sp"/> - <TextView - android:id="@+id/settings_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="end|top" - android:text="@string/settings_button_text" - android:drawablePadding="4dp" - android:gravity="center_horizontal" - android:drawableTop="@drawable/setting_button" - android:fontFamily="sans-serif-condensed" - android:textAllCaps="true" - android:textSize="12sp" /> -</FrameLayout> + android:layout_gravity="center_horizontal" + android:background="@color/settings_bg_color" + android:paddingTop="@dimen/overview_panel_top_padding" > + + <ImageView + android:id="@+id/default_screen_button" + android:layout_width="match_parent" + android:layout_height="@dimen/app_icon_size" + android:layout_weight="1" + android:src="@drawable/ic_default_screen" + android:scaleType="fitCenter" + android:gravity="top" + android:paddingLeft="@dimen/overview_panel_button_spacing" + android:paddingRight="@dimen/overview_panel_button_spacing"/> + </LinearLayout> + + <include layout="@layout/settings_pane" /> + +</com.android.launcher3.SlidingUpPanelLayout> |