Make number of grid columns adjustable

This commit is contained in:
MM20
2021-12-17 20:31:13 +01:00
parent dded695b81
commit 185e54bab2
17 changed files with 68 additions and 34 deletions
+1 -2
View File
@@ -17,6 +17,5 @@
android:layout_height="wrap_content"
android:padding="8dp"
android:clipChildren="false"
android:clipToPadding="false"
app:columnCount="@integer/config_columnCount"/>
android:clipToPadding="false"/>
</de.mm20.launcher2.ui.legacy.view.LauncherCardView>
+1 -2
View File
@@ -16,6 +16,5 @@
android:layout_height="wrap_content"
android:clipChildren="false"
android:clipToPadding="false"
android:padding="8dp"
app:columnCount="@integer/config_columnCount" />
android:padding="8dp" />
</de.mm20.launcher2.ui.legacy.view.LauncherCardView>
@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="config_toolbarSlots">2</integer>
</resources>
@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="config_columnCount">5</integer>
</resources>
@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="config_toolbarSlots">3</integer>
</resources>
@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="config_columnCount">6</integer>
</resources>
@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="config_toolbarSlots">4</integer>
</resources>
@@ -1,4 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="config_toolbarSlots">5</integer>
</resources>
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="SearchGridView">
<attr name="columnCount" format="integer" />
<attr name="rowHeight" format="dimension" />
</declare-styleable>
</resources>