diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2018-03-26 12:10:31 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2018-03-26 15:52:03 -0700 |
commit | 81b4c7bb3c76f5f83848d536b1783e0aa75ace0d (patch) | |
tree | f43bbe3e28f9e22175ee0f8d04cdb99ba1829e7c /res/layout/launcher.xml | |
parent | 864ae5a2b39fe2b756bb2b28a672598dc88fa2ed (diff) | |
download | android_packages_apps_Trebuchet-81b4c7bb3c76f5f83848d536b1783e0aa75ace0d.tar.gz android_packages_apps_Trebuchet-81b4c7bb3c76f5f83848d536b1783e0aa75ace0d.tar.bz2 android_packages_apps_Trebuchet-81b4c7bb3c76f5f83848d536b1783e0aa75ace0d.zip |
Adding a custom view for DragHandle
> Separating page indicator and drag handle
> Page indicator always draws irrespactive of oriantation
> Drag handle is responsible for accessibility interactions
> Adding assissibility actions for DragHandle
Bug: 72500733
Change-Id: I9030337456964af1bdf77f1c01956452321f9229
Diffstat (limited to 'res/layout/launcher.xml')
-rw-r--r-- | res/layout/launcher.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/res/layout/launcher.xml b/res/layout/launcher.xml index 4693917e5..a4acf06be 100644 --- a/res/layout/launcher.xml +++ b/res/layout/launcher.xml @@ -49,7 +49,8 @@ <com.android.launcher3.pageindicators.WorkspacePageIndicator android:id="@+id/page_indicator" android:layout_width="match_parent" - android:layout_height="@dimen/dynamic_grid_min_page_indicator_size" + android:layout_height="4dp" + android:layout_gravity="bottom|center_horizontal" android:theme="@style/HomeScreenElementTheme" /> <include @@ -63,6 +64,9 @@ android:layout_height="match_parent" android:visibility="invisible" /> + <include android:id="@+id/drag_indicator" + layout="@layout/drag_handle_indicator" /> + <!-- DO NOT CHANGE THE ID --> <include android:id="@+id/hotseat" |