summaryrefslogtreecommitdiffstats
path: root/res/layout/settings_pane.xml
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2014-11-10 10:35:00 -0800
committerAdnan <adnan@cyngn.com>2014-11-19 15:53:46 -0800
commit0daed36da7dab3172f05aa3dc29b7facac01ce6e (patch)
tree284e4d166ce0ffaa557c7fe1c99cbd35ac35aa70 /res/layout/settings_pane.xml
parentae5f7ce8ed2e385cba8d65a67d9b108c9c3590e8 (diff)
downloadandroid_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/settings_pane.xml')
-rw-r--r--res/layout/settings_pane.xml121
1 files changed, 121 insertions, 0 deletions
diff --git a/res/layout/settings_pane.xml b/res/layout/settings_pane.xml
new file mode 100644
index 000000000..cb79e37c6
--- /dev/null
+++ b/res/layout/settings_pane.xml
@@ -0,0 +1,121 @@
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="center_horizontal|bottom"
+ android:background="@color/settings_bg_color"
+ android:orientation="vertical"
+ android:paddingBottom="@dimen/overview_panel_bottom_padding" >
+
+ <LinearLayout
+ android:id="@+id/settings_pane_header"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingTop="@dimen/overview_panel_top_padding" >
+
+ <ImageView
+ android:id="@+id/settings_drag_arrow"
+ android:layout_width="@dimen/overview_panel_button_spacing"
+ android:layout_height="@dimen/overview_panel_button_spacing"
+ android:layout_gravity="center_horizontal"
+ android:adjustViewBounds="true"
+ android:background="@drawable/launcheranimatedarrow_00000"/>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:orientation="horizontal"
+ android:paddingBottom="@dimen/overview_panel_bottom_padding"
+ android:paddingTop="@dimen/overview_panel_list_padding" >
+
+ <Space
+ android:layout_width="0dip"
+ android:layout_height="1dp"
+ android:layout_weight="1" />
+
+ <TextView
+ android:id="@+id/wallpaper_button"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:drawablePadding="4dp"
+ android:drawableTop="@drawable/wallpaper_button"
+ android:fontFamily="sans-serif-condensed"
+ android:gravity="center_horizontal"
+ android:layout_weight="2"
+ android:text="@string/wallpaper_button_text"
+ android:textAllCaps="true"
+ android:textSize="12sp"
+ android:textColor="@android:color/white"
+ android:maxLines="2" />
+
+ <Space
+ android:layout_width="0dip"
+ android:layout_height="1dp"
+ android:layout_weight="1" />
+
+ <TextView
+ android:id="@+id/widget_button"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:drawablePadding="4dp"
+ android:drawableTop="@drawable/widget_button"
+ android:fontFamily="sans-serif-condensed"
+ android:gravity="center_horizontal"
+ android:layout_weight="2"
+ android:text="@string/widget_button_text"
+ android:textAllCaps="true"
+ android:textSize="12sp"
+ android:textColor="@android:color/white"
+ android:maxLines="2" />
+
+ <Space
+ android:layout_width="0dip"
+ android:layout_height="1dp"
+ android:layout_weight="1" />
+
+ <TextView
+ android:id="@+id/settings_button"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:drawablePadding="4dp"
+ android:drawableTop="@drawable/setting_button"
+ android:fontFamily="sans-serif-condensed"
+ android:gravity="center_horizontal"
+ android:layout_weight="2"
+ android:text="@string/settings_button_text"
+ android:textAllCaps="true"
+ android:textSize="12sp"
+ android:textColor="@android:color/white"
+ android:maxLines="2" />
+
+ <Space
+ android:layout_width="0dip"
+ android:layout_height="1dp"
+ android:layout_weight="1" />
+
+ </LinearLayout>
+ </LinearLayout>
+
+ <view
+ class="com.android.launcher3.list.PinnedHeaderListView"
+ android:id="@+id/settings_home_screen_listview"
+ android:layout_width="match_parent"
+ android:layout_height="0dip"
+ android:fastScrollEnabled="true"
+ android:layout_weight="1" />
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/dark_panel"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@android:color/background_dark"
+ android:visibility="gone" />
+</FrameLayout>