From 65fe833d59b833854cee0c9896b2c9a3bba8fde3 Mon Sep 17 00:00:00 2001 From: Himanshu Jaju Date: Mon, 23 Nov 2020 10:42:34 +0000 Subject: [PATCH] Refactor global actions items and lock message view. Larger screens will have a different layout structure, but these components are reusable. More details - ag/12936281 Bug: b/171918213 Test: Manually on fold2 without ag/12936281 Change-Id: I6abdc8f6cefd405c60769c58b7e65fe3a434ed74 --- .../res/layout/global_actions_grid_v2.xml | 58 +------------------ .../res/layout/global_actions_lock_view.xml | 35 +++++++++++ .../res/layout/global_actions_view.xml | 52 +++++++++++++++++ 3 files changed, 90 insertions(+), 55 deletions(-) create mode 100644 packages/SystemUI/res/layout/global_actions_lock_view.xml create mode 100644 packages/SystemUI/res/layout/global_actions_view.xml diff --git a/packages/SystemUI/res/layout/global_actions_grid_v2.xml b/packages/SystemUI/res/layout/global_actions_grid_v2.xml index 7d45de3fa50db..30ffc32ce1f84 100644 --- a/packages/SystemUI/res/layout/global_actions_grid_v2.xml +++ b/packages/SystemUI/res/layout/global_actions_grid_v2.xml @@ -1,67 +1,15 @@ - - - - - - - - - - + + + + + + \ No newline at end of file diff --git a/packages/SystemUI/res/layout/global_actions_view.xml b/packages/SystemUI/res/layout/global_actions_view.xml new file mode 100644 index 0000000000000..454707bc44e2d --- /dev/null +++ b/packages/SystemUI/res/layout/global_actions_view.xml @@ -0,0 +1,52 @@ + + + + + + + + \ No newline at end of file