Bug 1192780 - panel_item_container: Remove unnecessary view for click highlighting. r=jonalmeida, a=sledru
authorSebastian Kaspari <s.kaspari@gmail.com>
Tue, 11 Aug 2015 10:16:35 +0200
changeset 288757 1cfe65791f1cf67f5427eb63888b550ca99b984b
parent 288756 c138c6fff215a8210d2832b11bc3094feb6ff61c
child 288758 5b24d4b40792fdc3e3f6e6f1848296f901f3d67e
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjonalmeida, sledru
bugs1192780
milestone42.0a2
Bug 1192780 - panel_item_container: Remove unnecessary view for click highlighting. r=jonalmeida, a=sledru
mobile/android/base/resources/layout/panel_item_container.xml
--- a/mobile/android/base/resources/layout/panel_item_container.xml
+++ b/mobile/android/base/resources/layout/panel_item_container.xml
@@ -1,14 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
-     android:clickable="true">
-
-    <View
-        android:layout_width="match_parent"
-        android:layout_height="match_parent"
-        android:background="@color/recyclerview_selector"
-        android:clickable="true"
-        android:importantForAccessibility="no" />
+     android:clickable="true"
+     android:foreground="@color/recyclerview_selector">
 
 </FrameLayout>