|
|
@@ -1,64 +1,59 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/view_size_136">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/view_size_110"
|
|
|
- android:orientation="vertical"
|
|
|
+ android:layout_height="120dp"
|
|
|
android:background="@mipmap/home_blue_bg">
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/icon_img_iv"
|
|
|
+ android:layout_width="@dimen/view_size_60"
|
|
|
+ android:layout_height="@dimen/view_size_60"
|
|
|
+ android:src="@drawable/icon"
|
|
|
+ android:layout_centerVertical="true"/>
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/view_size_100"
|
|
|
- android:layout_marginBottom="@dimen/content_padding_small">
|
|
|
- <ImageView
|
|
|
- android:id="@+id/icon_img_iv"
|
|
|
- android:layout_width="@dimen/view_size_60"
|
|
|
- android:layout_height="@dimen/view_size_60"
|
|
|
- android:src="@drawable/icon"
|
|
|
- android:layout_centerVertical="true"/>
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_toRightOf="@+id/icon_img_iv"
|
|
|
+ android:layout_centerVertical="true">
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/name_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_toRightOf="@+id/icon_img_iv"
|
|
|
- android:layout_centerVertical="true">
|
|
|
- <TextView
|
|
|
- android:id="@+id/name_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="@dimen/content_padding_small"
|
|
|
- android:layout_marginLeft="@dimen/content_padding_10"
|
|
|
- android:layout_marginTop="@dimen/content_padding_small"
|
|
|
- android:text="aaaa"
|
|
|
- android:textColor="@color/txt_white"
|
|
|
- android:textSize="@dimen/text_size_12"/>
|
|
|
+ android:layout_marginBottom="@dimen/content_padding_small"
|
|
|
+ android:layout_marginLeft="@dimen/content_padding_10"
|
|
|
+ android:layout_marginTop="@dimen/content_padding_small"
|
|
|
+ android:text="aaaa"
|
|
|
+ android:textColor="@color/txt_white"
|
|
|
+ android:textSize="@dimen/text_size_12"/>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/sheep_num_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@+id/name_tv"
|
|
|
- android:layout_marginBottom="@dimen/content_padding_small"
|
|
|
- android:layout_marginLeft="@dimen/content_padding_10"
|
|
|
- android:text="绵羊号:"
|
|
|
- android:textColor="@color/txt_white"
|
|
|
- android:textSize="@dimen/text_size_10"/>
|
|
|
- </LinearLayout>
|
|
|
- </RelativeLayout>
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/sheep_num_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/name_tv"
|
|
|
+ android:layout_marginBottom="@dimen/content_padding_small"
|
|
|
+ android:layout_marginLeft="@dimen/content_padding_10"
|
|
|
+ android:text="绵羊号:"
|
|
|
+ android:textColor="@color/txt_white"
|
|
|
+ android:textSize="@dimen/text_size_10"/>
|
|
|
+ </LinearLayout>
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:id="@+id/personalcenter_price_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_height="50dp"
|
|
|
android:orientation="horizontal"
|
|
|
android:background="@drawable/x_shap_shadow_bg_rectgangle_white"
|
|
|
android:layout_marginRight="@dimen/content_padding_15"
|
|
|
android:layout_marginLeft="@dimen/content_padding_15"
|
|
|
android:layout_gravity="bottom"
|
|
|
+ android:layout_marginTop="-25dp"
|
|
|
android:padding="@dimen/content_padding_15">
|
|
|
|
|
|
<ImageView
|
|
|
@@ -87,4 +82,4 @@
|
|
|
android:layout_centerVertical="true"
|
|
|
android:gravity="right"/>
|
|
|
</LinearLayout>
|
|
|
-</FrameLayout>
|
|
|
+</LinearLayout>
|