diff --git a/packages/SettingsLib/ActionButtonsPreference/lint-baseline.xml b/packages/SettingsLib/ActionButtonsPreference/lint-baseline.xml index 22b25a31ae075..95b7e3b8033d7 100644 --- a/packages/SettingsLib/ActionButtonsPreference/lint-baseline.xml +++ b/packages/SettingsLib/ActionButtonsPreference/lint-baseline.xml @@ -26,10 +26,54 @@ + + + + + + + + + + + + + + + + diff --git a/packages/SettingsLib/ActionButtonsPreference/res/drawable/half_rounded_left_bk.xml b/packages/SettingsLib/ActionButtonsPreference/res/drawable/half_rounded_left_bk.xml new file mode 100644 index 0000000000000..16a85d694bf81 --- /dev/null +++ b/packages/SettingsLib/ActionButtonsPreference/res/drawable/half_rounded_left_bk.xml @@ -0,0 +1,28 @@ + + + + + + + \ No newline at end of file diff --git a/packages/SettingsLib/ActionButtonsPreference/res/drawable/half_rounded_right_bk.xml b/packages/SettingsLib/ActionButtonsPreference/res/drawable/half_rounded_right_bk.xml new file mode 100644 index 0000000000000..1b9f68fac8505 --- /dev/null +++ b/packages/SettingsLib/ActionButtonsPreference/res/drawable/half_rounded_right_bk.xml @@ -0,0 +1,28 @@ + + + + + + + \ No newline at end of file diff --git a/packages/SettingsLib/ActionButtonsPreference/res/drawable/left_rounded_ripple.xml b/packages/SettingsLib/ActionButtonsPreference/res/drawable/left_rounded_ripple.xml new file mode 100644 index 0000000000000..1584b45aabf9d --- /dev/null +++ b/packages/SettingsLib/ActionButtonsPreference/res/drawable/left_rounded_ripple.xml @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/packages/SettingsLib/ActionButtonsPreference/res/drawable/right_rounded_ripple.xml b/packages/SettingsLib/ActionButtonsPreference/res/drawable/right_rounded_ripple.xml new file mode 100644 index 0000000000000..15f2b5cd79d0d --- /dev/null +++ b/packages/SettingsLib/ActionButtonsPreference/res/drawable/right_rounded_ripple.xml @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/packages/SettingsLib/ActionButtonsPreference/res/drawable/rounded_bk.xml b/packages/SettingsLib/ActionButtonsPreference/res/drawable/rounded_bk.xml new file mode 100644 index 0000000000000..a884ef11e8354 --- /dev/null +++ b/packages/SettingsLib/ActionButtonsPreference/res/drawable/rounded_bk.xml @@ -0,0 +1,25 @@ + + + + + + + \ No newline at end of file diff --git a/packages/SettingsLib/ActionButtonsPreference/res/drawable/rounded_ripple.xml b/packages/SettingsLib/ActionButtonsPreference/res/drawable/rounded_ripple.xml new file mode 100644 index 0000000000000..90eefbe9a86e0 --- /dev/null +++ b/packages/SettingsLib/ActionButtonsPreference/res/drawable/rounded_ripple.xml @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/packages/SettingsLib/ActionButtonsPreference/res/drawable/settingslib_rounded_background.xml b/packages/SettingsLib/ActionButtonsPreference/res/drawable/settingslib_rounded_background.xml deleted file mode 100644 index ae3834dc0d9da..0000000000000 --- a/packages/SettingsLib/ActionButtonsPreference/res/drawable/settingslib_rounded_background.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/packages/SettingsLib/ActionButtonsPreference/res/drawable/square_bk.xml b/packages/SettingsLib/ActionButtonsPreference/res/drawable/square_bk.xml new file mode 100644 index 0000000000000..67b5107576a79 --- /dev/null +++ b/packages/SettingsLib/ActionButtonsPreference/res/drawable/square_bk.xml @@ -0,0 +1,25 @@ + + + + + + + \ No newline at end of file diff --git a/packages/SettingsLib/ActionButtonsPreference/res/drawable/square_ripple.xml b/packages/SettingsLib/ActionButtonsPreference/res/drawable/square_ripple.xml new file mode 100644 index 0000000000000..06be00dc2279a --- /dev/null +++ b/packages/SettingsLib/ActionButtonsPreference/res/drawable/square_ripple.xml @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/packages/SettingsLib/ActionButtonsPreference/res/layout-v31/settingslib_action_buttons.xml b/packages/SettingsLib/ActionButtonsPreference/res/layout-v31/settingslib_action_buttons.xml index ba612d76fa57d..7c3f5a566bdbd 100644 --- a/packages/SettingsLib/ActionButtonsPreference/res/layout-v31/settingslib_action_buttons.xml +++ b/packages/SettingsLib/ActionButtonsPreference/res/layout-v31/settingslib_action_buttons.xml @@ -21,14 +21,13 @@ android:layout_height="wrap_content" android:layout_margin="8dp" android:paddingHorizontal="8dp" - android:orientation="horizontal" - android:background="@drawable/settingslib_rounded_background"> + android:orientation="horizontal">