summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2013-06-19 16:37:06 -0400
committerChris Wren <cwren@android.com>2013-06-19 16:40:06 -0400
commit7170112b066301a1fc302a159aa8857a70f83883 (patch)
treea6277b7c73745ee8da12930783aea28a30a789b6 /res/layout
parent23ab8f3366a5eeecd36c5f489a47eb6b8f03bc56 (diff)
downloadPhotoTable-7170112b066301a1fc302a159aa8857a70f83883.tar.gz
quick fix for jank on touch devices.
optimizations for notouch devices caused jank on touch. The best solution is difficult, so for the time being, let's just disable that optimiztion on touch devices. Bug: 9462757 Change-Id: I4e574eb23d0764267e5b5efea01230feba5114d1
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/table.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/res/layout/table.xml b/res/layout/table.xml
index 7cdb51a..10622f5 100644
--- a/res/layout/table.xml
+++ b/res/layout/table.xml
@@ -26,6 +26,15 @@
android:background="@+drawable/table"
android:focusable="true" >
+ <View
+ android:id="@+id/scrim"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@+drawable/table"
+ android:alpha="0"
+ android:visibility="gone"
+ />
+
<FrameLayout
android:id="@+id/stageleft"
android:layout_width="match_parent"