summaryrefslogtreecommitdiffstats
path: root/tests/res
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-02-12 14:25:48 -0800
committerSunny Goyal <sunnygoyal@google.com>2018-03-02 13:20:09 -0800
commitb29a5fa55ce3b84dd1829688db8522d5e68ffc44 (patch)
treefe21e0db577a62912dbda25a338646b14e5eadb6 /tests/res
parentf454ded32c5273ca71538b3ae61467eabaf8bfd4 (diff)
downloadandroid_packages_apps_Trebuchet-b29a5fa55ce3b84dd1829688db8522d5e68ffc44.tar.gz
android_packages_apps_Trebuchet-b29a5fa55ce3b84dd1829688db8522d5e68ffc44.tar.bz2
android_packages_apps_Trebuchet-b29a5fa55ce3b84dd1829688db8522d5e68ffc44.zip
Adding support for hiding widgets from the widget tray and reconfiguring widgets
> Removing AppInfo target > Switching between uninstall and setup based on the drag view Bug: 63931362 Change-Id: Iccd6f965fa3d61992244a365efc242122292c0ca
Diffstat (limited to 'tests/res')
-rw-r--r--tests/res/xml/appwidget_hidden.xml11
-rw-r--r--tests/res/xml/appwidget_with_config.xml1
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/res/xml/appwidget_hidden.xml b/tests/res/xml/appwidget_hidden.xml
new file mode 100644
index 000000000..6f0e0066f
--- /dev/null
+++ b/tests/res/xml/appwidget_hidden.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<appwidget-provider
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:minWidth="180dp"
+ android:minHeight="110dp"
+ android:updatePeriodMillis="86400000"
+ android:initialLayout="@layout/test_layout_appwidget_blue"
+ android:resizeMode="horizontal|vertical"
+ android:widgetFeatures="hide_from_picker"
+ android:widgetCategory="home_screen">
+</appwidget-provider> \ No newline at end of file
diff --git a/tests/res/xml/appwidget_with_config.xml b/tests/res/xml/appwidget_with_config.xml
index 3e96c6f2f..840368987 100644
--- a/tests/res/xml/appwidget_with_config.xml
+++ b/tests/res/xml/appwidget_with_config.xml
@@ -7,5 +7,6 @@
android:initialLayout="@layout/test_layout_appwidget_blue"
android:configure="com.android.launcher3.testcomponent.WidgetConfigActivity"
android:resizeMode="horizontal|vertical"
+ android:widgetFeatures="reconfigurable"
android:widgetCategory="home_screen">
</appwidget-provider> \ No newline at end of file