diff options
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/attrs.xml | 8 | ||||
-rw-r--r-- | res/values/dimens.xml | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 800aeaa5c..730e831e9 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -101,10 +101,6 @@ <!-- PagedView specific attributes. These attributes are used to customize a PagedView view in XML files. --> <declare-styleable name="PagedView"> - <!-- The number of horizontal cells in a page --> - <attr name="cellCountX" /> - <!-- The number of vertical cells in a page --> - <attr name="cellCountY" /> <!-- A spacing override for the icons within a page --> <attr name="pageLayoutWidthGap" format="dimension" /> <attr name="pageLayoutHeightGap" format="dimension" /> @@ -123,6 +119,10 @@ <!-- AppsCustomizePagedView specific attributes. These attributes are used to customize an AppsCustomizePagedView in xml files. --> <declare-styleable name="AppsCustomizePagedView"> + <!-- Max number of cells of applications horizontally --> + <attr name="maxAppCellCountX" format="integer" /> + <!-- Max number of cells of applications vertically --> + <attr name="maxAppCellCountY" format="integer" /> <!-- Horizontal spacing between widgets and wallpapers --> <attr name="widgetCellWidthGap" format="dimension" /> <!-- Vertical spacing between widgets --> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 967ef66f0..7c20d814f 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -54,6 +54,8 @@ <dimen name="toolbar_external_icon_height">36dp</dimen> <!-- AllApps/Customize/AppsCustomize --> + <integer name="apps_customize_maxCellCountX">-1</integer> + <integer name="apps_customize_maxCellCountY">-1</integer> <!-- The height of the tab bar - if this changes, we should update the external icon width/height above to compensate --> <dimen name="apps_customize_tab_bar_height">52dp</dimen> |