ソースを参照

chore: adjust profile layout

metacubex 3 年 前
コミット
b6ec92e642
1 ファイル変更2 行追加1 行削除
  1. 2 1
      design/src/main/res/layout/adapter_profile.xml

+ 2 - 1
design/src/main/res/layout/adapter_profile.xml

@@ -23,7 +23,8 @@
         android:id="@+id/root_view"
         android:id="@+id/root_view"
         android:layout_width="match_parent"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:layout_height="wrap_content"
-        android:layout_margin="5dp"
+        android:layout_marginVertical="5dp"
+        android:layout_marginHorizontal="@dimen/item_header_margin"
         android:background="@drawable/bg_b"
         android:background="@drawable/bg_b"
         android:clickable="true"
         android:clickable="true"
         android:focusable="true"
         android:focusable="true"