Quick Settings rows and columns on small landscape lockscreen
- Added new resource values that override quick settings number of columns and rows
- Only used flag lockscreen.enable_landscape is enabled
- This is done to change the number of ros/columns for quick settings on small landscape lockscreen
Bug: 293252410
Bug: 296571001
Test: TileAdapterTest
Change-Id: I2f691e382f68cf6e8e3580d95bd87535b4ac0868
diff --git a/packages/SystemUI/res/values/config.xml b/packages/SystemUI/res/values/config.xml
index c72f565..b6bca65 100644
--- a/packages/SystemUI/res/values/config.xml
+++ b/packages/SystemUI/res/values/config.xml
@@ -70,6 +70,16 @@
<!-- The number of rows in the QuickSettings -->
<integer name="quick_settings_max_rows">4</integer>
+ <!-- Override column number for quick settings.
+ For now, this value has effect only when flag lockscreen.enable_landscape is enabled.
+ TODO (b/293252410) - change this comment/resource when flag is enabled -->
+ <integer name="small_land_lockscreen_quick_settings_num_columns">2</integer>
+
+ <!-- Override row number for quick settings.
+ For now, this value has effect only when flag lockscreen.enable_landscape is enabled.
+ TODO (b/293252410) - change this comment/resource when flag is enabled -->
+ <integer name="small_land_lockscreen_quick_settings_max_rows">2</integer>
+
<!-- If the dp width of the available space is <= this value, potentially adjust the number
of media recommendation items-->
<integer name="default_qs_media_rec_width_dp">380</integer>