From c0481524da976f707e4891add64ff21ca0b8eea1 Mon Sep 17 00:00:00 2001 From: Thales Lima Date: Wed, 6 Apr 2022 15:32:20 +0000 Subject: [PATCH] Making tablet grid scalable and tuning size Bug: 227344807 Test: manual and HSV Change-Id: I078d19905947eb924de8b6ed9067b70a32674bfa --- res/xml/device_profiles.xml | 27 ++++++++++--- res/xml/paddings_6x5.xml | 76 +++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+), 5 deletions(-) create mode 100644 res/xml/paddings_6x5.xml diff --git a/res/xml/device_profiles.xml b/res/xml/device_profiles.xml index dd201e556f..f1af348b38 100644 --- a/res/xml/device_profiles.xml +++ b/res/xml/device_profiles.xml @@ -145,22 +145,39 @@ launcher:numFolderColumns="3" launcher:numHotseatIcons="6" launcher:numAllAppsColumns="6" + launcher:isScalable="true" + launcher:devicePaddingId="@xml/paddings_6x5" launcher:dbFile="launcher_6_by_5.db" launcher:defaultLayoutId="@xml/default_workspace_6x5" - launcher:deviceCategory="tablet" > + launcher:deviceCategory="tablet"> diff --git a/res/xml/paddings_6x5.xml b/res/xml/paddings_6x5.xml new file mode 100644 index 0000000000..a958ec7b55 --- /dev/null +++ b/res/xml/paddings_6x5.xml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file