diff --git a/aconfig/launcher.aconfig b/aconfig/launcher.aconfig index 4de1c960de..a724602e7b 100644 --- a/aconfig/launcher.aconfig +++ b/aconfig/launcher.aconfig @@ -215,3 +215,10 @@ flag { description: "Enables the Home gesture animation" bug: "308801666" } + +flag { + name: "enable_widget_tap_to_add" + namespace: "launcher" + description: "Enables an add button in the widget picker" + bug: "323886237" +} diff --git a/res/drawable/ic_plus.xml b/res/drawable/ic_plus.xml new file mode 100644 index 0000000000..3ab926aade --- /dev/null +++ b/res/drawable/ic_plus.xml @@ -0,0 +1,24 @@ + + + + + diff --git a/res/drawable/widget_cell_add_button_background.xml b/res/drawable/widget_cell_add_button_background.xml new file mode 100644 index 0000000000..860d1cdd02 --- /dev/null +++ b/res/drawable/widget_cell_add_button_background.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/widget_cell_content.xml b/res/layout/widget_cell_content.xml index 0c606f6f8f..106c5b7d56 100644 --- a/res/layout/widget_cell_content.xml +++ b/res/layout/widget_cell_content.xml @@ -45,40 +45,70 @@ android:layout_margin="@dimen/profile_badge_margin"/> - - - - - + android:layout_height="wrap_content"> + + + - + + - \ No newline at end of file + + + +