OSDN Git Service

Update padding for panel
authorLei Yu <jackqdyulei@google.com>
Thu, 25 Apr 2019 20:01:23 +0000 (13:01 -0700)
committerLei Yu <jackqdyulei@google.com>
Wed, 1 May 2019 19:46:05 +0000 (12:46 -0700)
Reuse the slice style that is used by contextual homepage.

Fixes: 131253950
Test: Manual
Change-Id: Iec5fbaec7d992a3aa084f6bd7176ff2582f69757

res/layout/panel_slice_row.xml

index 4e1184b..74dc412 100644 (file)
@@ -22,8 +22,9 @@
 
     <androidx.slice.widget.SliceView
         android:id="@+id/slice_view"
+        style="@style/SliceViewStyle"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
-        android:paddingStart="20dp"
-        android:paddingEnd="20dp"/>
+        android:paddingStart="8dp"
+        android:paddingEnd="8dp"/>
 </LinearLayout>
\ No newline at end of file