优化布局,删除不需要的view背景
This commit is contained in:
@@ -42,8 +42,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/white"
|
||||
android:paddingHorizontal="16dp"
|
||||
android:paddingVertical="12dp"
|
||||
android:layout_marginTop="8dp">
|
||||
android:paddingVertical="12dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -36,10 +36,6 @@
|
||||
android:layout_height="24dp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="10dp"
|
||||
android:background="@color/face" />
|
||||
|
||||
<LinearLayout
|
||||
android:gravity="center_vertical"
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
android:id="@+id/llExpireTime"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="56dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingHorizontal="16dp">
|
||||
|
||||
@@ -48,8 +48,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/white"
|
||||
android:paddingHorizontal="16dp"
|
||||
android:paddingVertical="12dp"
|
||||
android:layout_marginTop="8dp">
|
||||
android:paddingVertical="12dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -35,18 +35,16 @@
|
||||
android:layout_height="24dp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="10dp"
|
||||
android:background="@color/face" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingHorizontal="16dp"
|
||||
android:paddingVertical="12dp"
|
||||
android:layout_height="50dp"
|
||||
android:text="@string/function_settings"
|
||||
android:textColor="@color/gray"
|
||||
android:textColor="@color/black"
|
||||
android:background="@color/message_bg"
|
||||
android:gravity="bottom"
|
||||
android:paddingStart="20dp"
|
||||
android:paddingBottom="7dp"
|
||||
android:textSize="14dp" />
|
||||
|
||||
<LinearLayout
|
||||
@@ -191,18 +189,16 @@
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="10dp"
|
||||
android:background="@color/face" />
|
||||
|
||||
.
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingHorizontal="16dp"
|
||||
android:paddingVertical="12dp"
|
||||
android:layout_height="50dp"
|
||||
android:text="@string/basic_settings"
|
||||
android:textColor="@color/gray"
|
||||
android:textColor="@color/black"
|
||||
android:background="@color/message_bg"
|
||||
android:gravity="bottom"
|
||||
android:paddingStart="20dp"
|
||||
android:paddingBottom="7dp"
|
||||
android:textSize="14dp" />
|
||||
|
||||
<LinearLayout
|
||||
|
||||
@@ -35,11 +35,6 @@
|
||||
android:layout_height="24dp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="10dp"
|
||||
android:background="@color/face" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/itemDistance"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
Reference in New Issue
Block a user