diff options
author | Raj Yengisetty <rajesh@cyngn.com> | 2014-05-13 23:19:54 -0700 |
---|---|---|
committer | fuzz <fuzzzzzzzzzzzzzzzzzz@gmail.com> | 2014-05-24 12:26:03 +0900 |
commit | 82196ead569c25dae76a70be6b2bc147666ea24d (patch) | |
tree | 252a9885b63068b590921cab270a6d93cf09bc4f /res/layout/settings_pane.xml | |
parent | 0b4362157fdc930f0eb342194dfb553c80a238bd (diff) | |
download | android_packages_apps_Trebuchet-82196ead569c25dae76a70be6b2bc147666ea24d.tar.gz android_packages_apps_Trebuchet-82196ead569c25dae76a70be6b2bc147666ea24d.tar.bz2 android_packages_apps_Trebuchet-82196ead569c25dae76a70be6b2bc147666ea24d.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.xml | 121 |
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..26ee8fc26 --- /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/themes_button" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:drawablePadding="4dp" + android:drawableTop="@drawable/themes_button" + android:fontFamily="sans-serif-condensed" + android:gravity="center_horizontal" + android:layout_weight="2" + android:text="@string/themes_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>
\ No newline at end of file |