Commit 47c2c8ea authored by Max Lv's avatar Max Lv

Refine the layout of profile item

parent d68ccedf
...@@ -8,16 +8,14 @@ ...@@ -8,16 +8,14 @@
android:background="@drawable/background_profile" android:background="@drawable/background_profile"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingLeft="8dp"
android:paddingRight="4dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:focusable="true" android:focusable="true"
android:nextFocusRight="@+id/edit"> android:nextFocusRight="@+id/edit">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="8dp" android:layout_marginTop="4dp"
android:paddingLeft="24dp"
android:paddingRight="4dp"
android:id="@+id/container"> android:id="@+id/container">
<TextView <TextView
android:id="@android:id/text1" android:id="@android:id/text1"
...@@ -56,8 +54,10 @@ ...@@ -56,8 +54,10 @@
<RelativeLayout <RelativeLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="8dp" android:paddingLeft="24dp"
android:layout_marginEnd="8dp"> android:paddingRight="4dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp">
<TextView <TextView
android:id="@android:id/text2" android:id="@android:id/text2"
android:layout_width="wrap_content" android:layout_width="wrap_content"
...@@ -65,7 +65,6 @@ ...@@ -65,7 +65,6 @@
android:layout_alignParentStart="true" android:layout_alignParentStart="true"
android:layout_toStartOf="@+id/traffic" android:layout_toStartOf="@+id/traffic"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:maxLines="2" android:maxLines="2"
android:ellipsize="end" android:ellipsize="end"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
...@@ -76,7 +75,6 @@ ...@@ -76,7 +75,6 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="bottom" android:layout_gravity="bottom"
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:layout_marginBottom="8dp"
android:ellipsize="end" android:ellipsize="end"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"/> android:textColor="?android:attr/textColorSecondary"/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment