summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJon Miranda <jonmiranda@google.com>2019-09-16 14:44:14 -0700
committerJon Miranda <jonmiranda@google.com>2019-09-16 16:24:59 -0700
commit6f7e9702e3124680b7eb0640898cca0a8855fbb7 (patch)
treebb94ea2dd961e5e380c21896518265dfe6612dfc /res
parent3463d1c5f9e9b5b5014a5326fbbc812a834aadb8 (diff)
downloadandroid_packages_apps_Trebuchet-6f7e9702e3124680b7eb0640898cca0a8855fbb7.tar.gz
android_packages_apps_Trebuchet-6f7e9702e3124680b7eb0640898cca0a8855fbb7.tar.bz2
android_packages_apps_Trebuchet-6f7e9702e3124680b7eb0640898cca0a8855fbb7.zip
Support defining X column layout for all apps as a display option.
Bug: 124967099 Change-Id: I7bf576759b3fa4f6ca617fbbd660541c12fd09ac
Diffstat (limited to 'res')
-rw-r--r--res/values/attrs.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 69b8c8a22..e76b89826 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -115,7 +115,8 @@
<attr name="numFolderColumns" format="integer" />
<!-- numHotseatIcons defaults to numColumns, if not specified -->
<attr name="numHotseatIcons" format="integer" />
-
+ <!-- numAllAppsColumns defaults to numColumns, if not specified -->
+ <attr name="numAllAppsColumns" format="integer" />
<attr name="defaultLayoutId" format="reference" />
<attr name="demoModeLayoutId" format="reference" />
</declare-styleable>
@@ -131,6 +132,12 @@
<attr name="iconTextSize" format="float" />
<!-- If true, this display option is used to determine the default grid -->
<attr name="canBeDefault" format="boolean" />
+
+ <!-- The following values are only enabled if grid is supported. -->
+ <!-- allAppsIconSize defaults to iconSize, if not specified -->
+ <attr name="allAppsIconSize" format="float" />
+ <!-- allAppsIconTextSize defaults to iconTextSize, if not specified -->
+ <attr name="allAppsIconTextSize" format="float" />
</declare-styleable>
<declare-styleable name="CellLayout">