|
@@ -1,71 +1,36 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
+ android:background="#ededed"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <FrameLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="160dp"
|
|
|
- android:background="@color/normal_bg">
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="120dp"
|
|
|
- android:background="@drawable/ai2"
|
|
|
- android:paddingTop="20dp">
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/title_ly"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="50dp">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/red_back_tv"
|
|
|
- android:layout_marginLeft="15dp"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:src="@mipmap/return_icon"
|
|
|
- android:tint="@color/white" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:text="@string/title_red_packet"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="18sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/get_redlist_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:text="@string/red_packet_history"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="15sp" />
|
|
|
-
|
|
|
- </RelativeLayout>
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_bg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="174dp"
|
|
|
+ android:scaleType="fitXY"
|
|
|
+ android:src="@mipmap/red_packet_details_bg" />
|
|
|
|
|
|
- <com.jixin.im.view.CircleImageView
|
|
|
- android:id="@+id/red_head_iv"
|
|
|
- android:layout_width="80dp"
|
|
|
- android:layout_height="80dp"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:layout_marginTop="40dp"
|
|
|
- android:src="@drawable/avatar_normal" />
|
|
|
|
|
|
- </FrameLayout>
|
|
|
+ <include
|
|
|
+ android:id="@+id/mergerStatus"
|
|
|
+ layout="@layout/a_view_actionbar"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="72dp" />
|
|
|
+
|
|
|
|
|
|
<LinearLayout
|
|
|
+ android:layout_marginTop="36dp"
|
|
|
+ android:id="@+id/ll_part_center"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/iv_bg"
|
|
|
android:background="@color/normal_bg"
|
|
|
android:gravity="center_horizontal"
|
|
|
android:orientation="vertical"
|
|
@@ -75,7 +40,7 @@
|
|
|
android:id="@+id/red_nickname_tv"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
android:text="@string/someone_s_red_packet"
|
|
|
android:textColor="@color/black"
|
|
|
android:textSize="14sp" />
|
|
@@ -130,29 +95,52 @@
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/red_resultmsg_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:paddingLeft="10dp"
|
|
|
- android:text="@string/example_red_packet_remain"
|
|
|
- android:textColor="@color/Grey_600"
|
|
|
- android:textSize="14sp"
|
|
|
- android:visibility="visible" />
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0.1dp"
|
|
|
- android:background="@color/normal_bg" />
|
|
|
+ <LinearLayout
|
|
|
|
|
|
- <ListView
|
|
|
- android:id="@+id/red_details_lsv"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:divider="@color/normal_bg"
|
|
|
- android:dividerHeight="0.1dip"
|
|
|
- android:footerDividersEnabled="false"
|
|
|
- android:headerDividersEnabled="false" />
|
|
|
|
|
|
-</LinearLayout>
|
|
|
+ android:layout_below="@+id/ll_part_center"
|
|
|
+
|
|
|
+ android:background="@color/white"
|
|
|
+
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/red_resultmsg_tv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="10dp"
|
|
|
+ android:text="@string/example_red_packet_remain"
|
|
|
+ android:textColor="@color/Grey_600"
|
|
|
+ android:textSize="14sp"
|
|
|
+ android:visibility="visible" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0.1dp"
|
|
|
+ android:background="@color/normal_bg" />
|
|
|
+
|
|
|
+ <ListView
|
|
|
+ android:id="@+id/red_details_lsv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:divider="@color/normal_bg"
|
|
|
+ android:dividerHeight="0.1dip"
|
|
|
+ android:footerDividersEnabled="false"
|
|
|
+ android:headerDividersEnabled="false" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <com.makeramen.roundedimageview.RoundedImageView
|
|
|
+ android:id="@+id/iv_avatar"
|
|
|
+ android:layout_width="72dp"
|
|
|
+
|
|
|
+ android:layout_height="72dp"
|
|
|
+ android:layout_alignBottom="@+id/iv_bg"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_marginBottom="-36dp"
|
|
|
+ app:riv_oval="true" />
|
|
|
+
|
|
|
+</RelativeLayout>
|