Ver código fonte

Fix selector in search card item (#5711)

Zakhar Timoshenko 3 anos atrás
pai
commit
feca30d7ed

+ 3 - 5
app/src/main/res/layout/global_search_controller_card_item.xml

@@ -4,11 +4,9 @@
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
-    android:layout_marginStart="4dp"
-    android:layout_marginTop="8dp"
-    android:layout_marginEnd="4dp"
-    android:layout_marginBottom="8dp"
-    android:background="@drawable/list_item_selector_background">
+    android:layout_marginVertical="4dp"
+    android:background="@drawable/library_item_selector"
+    android:padding="4dp">
 
     <FrameLayout
         android:id="@+id/card"