summaryrefslogtreecommitdiff
path: root/res/layout-sw800dp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2018-05-10 15:46:27 -0700
committerColin Cross <ccross@android.com>2018-05-10 15:46:27 -0700
commitd917b9bc0a68ca46b558943466ddb21b08f77966 (patch)
tree1a22cb763cfdfd3f179cfeef41b2433d81b884f0 /res/layout-sw800dp
parent97fd601978b04e23cad5a5f1647925e93a196f98 (diff)
downloadPhotoTable-d917b9bc0a68ca46b558943466ddb21b08f77966.tar.gz
Fix errors caught by aapt2
Fixes: packages/screensavers/PhotoTable/res/layout-sw800dp/table.xml:20: error: '@+drawable/table' is incompatible with attribute android:background (attr) reference|color. packages/screensavers/PhotoTable/res/layout-sw800dp/table.xml:26: error: '@+drawable/table' is incompatible with attribute android:background (attr) reference|color. packages/screensavers/PhotoTable/res/layout/table.xml:22: error: '@+drawable/table' is incompatible with attribute android:background (attr) reference|color. packages/screensavers/PhotoTable/res/layout/table.xml:29: error: '@+drawable/table' is incompatible with attribute android:background (attr) reference|color. Bug: 79481102 Test: m java FORCE_AAPT2=true Change-Id: Ia855b098ec7b47793a925720f2da1b7933400093
Diffstat (limited to 'res/layout-sw800dp')
-rw-r--r--res/layout-sw800dp/table.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/res/layout-sw800dp/table.xml b/res/layout-sw800dp/table.xml
index c40ee48..f3561bc 100644
--- a/res/layout-sw800dp/table.xml
+++ b/res/layout-sw800dp/table.xml
@@ -18,7 +18,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent" >
<com.android.dreams.phototable.PhotoTable
- android:background="@+drawable/table"
+ android:background="@drawable/table"
android:id="@+id/table"
android:layout_width="match_parent"
android:layout_height="match_parent" >
@@ -27,7 +27,7 @@
android:id="@+id/scrim"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@+drawable/table"
+ android:background="@drawable/table"
android:alpha="0"
android:visibility="gone"
/>
@@ -47,12 +47,12 @@
</com.android.dreams.phototable.PhotoTable>
<!-- View
- android:background="@+drawable/vignette_br"
+ android:background="@drawable/vignette_br"
android:layout_gravity="bottom|right"
android:layout_width="200dp"
android:layout_height="200dp" />
<View
- android:background="@+drawable/vignette_tl"
+ android:background="@drawable/vignette_tl"
android:layout_gravity="top|left"
android:layout_width="200dp"
android:layout_height="200dp" / -->