|
@@ -1,12 +1,20 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<RelativeLayout 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:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
- android:background="@color/white_light"
|
|
|
|
|
- xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
|
|
+ android:background="#f5f5f5"
|
|
|
tools:context="com.sheep.gamegroup.view.activity.ActMyMoney">
|
|
tools:context="com.sheep.gamegroup.view.activity.ActMyMoney">
|
|
|
|
|
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/act_my_money_bg_iv"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:adjustViewBounds="true"
|
|
|
|
|
+ android:scaleType="fitXY"
|
|
|
|
|
+ android:src="@mipmap/bg_person" />
|
|
|
|
|
+
|
|
|
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
|
<com.scwang.smartrefresh.layout.SmartRefreshLayout
|
|
|
android:id="@+id/refresh"
|
|
android:id="@+id/refresh"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
@@ -33,276 +41,246 @@
|
|
|
android:layout_height="wrap_content">
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<ImageView
|
|
<ImageView
|
|
|
- android:id="@+id/act_my_money_bg_iv"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginTop="30dp"
|
|
|
|
|
- android:adjustViewBounds="true"
|
|
|
|
|
- android:scaleType="fitXY"
|
|
|
|
|
- android:src="@mipmap/home_blue_bg"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
- <View
|
|
|
|
|
- android:id="@+id/act_my_money_top_v"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
|
|
+ android:id="@+id/img_baseactivity_title"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
android:layout_marginTop="@dimen/status_bar_height"
|
|
android:layout_marginTop="@dimen/status_bar_height"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:paddingStart="@dimen/content_padding_20"
|
|
|
|
|
+ android:paddingEnd="@dimen/content_padding_20"
|
|
|
|
|
+ android:scaleType="centerInside"
|
|
|
|
|
+ android:src="@drawable/narrow_back_white"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
- android:id="@+id/my_money_recharge_tv"
|
|
|
|
|
|
|
+ android:id="@+id/txt_baseactivity_title"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="28dp"
|
|
|
|
|
- android:background="@drawable/shape_white_solid_rectangle_left"
|
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
|
- android:paddingStart="14dp"
|
|
|
|
|
- android:paddingEnd="10dp"
|
|
|
|
|
- android:text="充值 >"
|
|
|
|
|
- android:textColor="#2BCEFA"
|
|
|
|
|
- android:textSize="15sp"
|
|
|
|
|
|
|
+ android:layout_height="?attr/actionBarSize"
|
|
|
|
|
+ android:layout_centerInParent="true"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:text="@string/app_name"
|
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
|
+ android:textSize="@dimen/text_size_4"
|
|
|
|
|
+ app:layout_constraintBottom_toBottomOf="@+id/img_baseactivity_title"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/act_my_money_top_v" />
|
|
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/img_baseactivity_title" />
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/my_money_withdraw_tv"
|
|
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/ico_baseactivity_title"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="28dp"
|
|
|
|
|
- android:layout_marginTop="13dp"
|
|
|
|
|
- android:background="@drawable/shape_white_solid_rectangle_left"
|
|
|
|
|
|
|
+ android:layout_height="?attr/actionBarSize"
|
|
|
|
|
+ android:layout_marginTop="@dimen/status_bar_height"
|
|
|
android:gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
|
- android:paddingStart="14dp"
|
|
|
|
|
- android:paddingEnd="10dp"
|
|
|
|
|
- android:text="提现 >"
|
|
|
|
|
- android:textColor="#2BCEFA"
|
|
|
|
|
- android:textSize="15sp"
|
|
|
|
|
|
|
+ android:paddingStart="@dimen/content_padding_20"
|
|
|
|
|
+ android:paddingEnd="@dimen/content_padding_20"
|
|
|
|
|
+ android:scaleType="centerInside"
|
|
|
|
|
+ android:src="@mipmap/question"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/my_money_recharge_tv" />
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/my_money_total_money_lable"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginStart="22dp"
|
|
|
|
|
- android:text="@string/total_money_lable"
|
|
|
|
|
- android:textColor="#DCF3FD"
|
|
|
|
|
- android:textSize="15sp"
|
|
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/my_money_withdraw_tv"
|
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="@id/my_money_recharge_tv" />
|
|
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
|
|
+ <android.support.v7.widget.CardView
|
|
|
|
|
+ android:id="@+id/my_money_card_layout"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical"
|
|
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/my_money_withdraw_tv"
|
|
|
|
|
- app:layout_constraintStart_toEndOf="@id/my_money_total_money_lable"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="@id/my_money_recharge_tv">
|
|
|
|
|
|
|
+ android:layout_marginLeft="15dp"
|
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
|
|
+ app:cardBackgroundColor="@color/white"
|
|
|
|
|
+ app:cardCornerRadius="5dp"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/txt_baseactivity_title">
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/my_money_total_money"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginStart="15dp"
|
|
|
|
|
- android:text="@string/total_money"
|
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
|
- android:textSize="25sp" />
|
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/my_money_available_amount"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginStart="9dp"
|
|
|
|
|
- android:layout_marginTop="2dp"
|
|
|
|
|
- android:background="@drawable/shape_2b0a4c60_solid_rectangle_10"
|
|
|
|
|
- android:paddingStart="6dp"
|
|
|
|
|
- android:paddingTop="3dp"
|
|
|
|
|
- android:paddingEnd="6dp"
|
|
|
|
|
- android:paddingBottom="3dp"
|
|
|
|
|
- android:text="@string/available_amount"
|
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
|
- android:textSize="12sp" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
|
|
+ android:text="可用余额(元)"
|
|
|
|
|
+ android:textColor="#393939"
|
|
|
|
|
+ android:textSize="12sp" />
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:id="@+id/my_money_amount_ll"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginTop="18dp"
|
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- app:layout_constraintTop_toBottomOf="@id/my_money_withdraw_tv">
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/my_money_recharge_amount"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
|
|
+ android:layout_marginTop="36dp"
|
|
|
|
|
+ android:text="00.00"
|
|
|
|
|
+ android:textColor="#2ebff3"
|
|
|
|
|
+ android:textSize="30sp" />
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/my_money_agent_extract"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:text="@string/total_money"
|
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
|
- android:textSize="12sp" />
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/my_money_assets_layout"
|
|
|
|
|
+ android:layout_below="@+id/my_money_recharge_amount"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/my_money_task_reward"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:text="@string/total_money"
|
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
|
- android:textSize="12sp" />
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_weight="4"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
|
|
+ android:text="可提现余额(元)"
|
|
|
|
|
+ android:textColor="#999999"
|
|
|
|
|
+ android:textSize="12sp" />
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/my_money_available_amount"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
|
|
+ android:text="00.00"
|
|
|
|
|
+ android:textColor="#000000"
|
|
|
|
|
+ android:textSize="18sp" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_weight="4"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
|
|
+ android:text="可用绵羊币(元)"
|
|
|
|
|
+ android:textColor="#999999"
|
|
|
|
|
+ android:textSize="12sp" />
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/my_money_total_money"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
|
|
+ android:text="00.00"
|
|
|
|
|
+ android:textColor="#000000"
|
|
|
|
|
+ android:textSize="18sp" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
|
|
+ android:layout_marginLeft="12dp"
|
|
|
|
|
+ android:layout_marginRight="12dp"
|
|
|
|
|
+ android:layout_marginBottom="18dp"
|
|
|
|
|
+ android:layout_below="@+id/my_money_assets_layout"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/my_money_withdraw_tv"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="48dp"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:layout_marginRight="6dp"
|
|
|
|
|
+ android:background="@drawable/shape_grey_stroke_withe_radius_5"
|
|
|
|
|
+ android:text="转出"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:textColor="#2ebff3"
|
|
|
|
|
+ android:textSize="15sp" />
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/my_money_recharge_tv"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="48dp"
|
|
|
|
|
+ android:layout_marginLeft="6dp"
|
|
|
|
|
+ android:background="@drawable/shape_blue_stroke_withe_radius_5"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:text="转入"
|
|
|
|
|
+ android:textColor="#ffffff"
|
|
|
|
|
+ android:textSize="15sp" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+ </android.support.v7.widget.CardView>
|
|
|
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/my_money_card_layout"
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_marginTop="24dp"
|
|
|
|
|
+ android:layout_height="wrap_content">
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
|
+ android:id="@+id/my_money_dingxiang_tag"
|
|
|
|
|
+ style="@style/style_item_container"
|
|
|
|
|
+ android:background="@color/white">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/style_item_label"
|
|
|
|
|
+ android:text="定向福利币" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/my_money_dingxiang_amount"
|
|
android:id="@+id/my_money_dingxiang_amount"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/total_money"
|
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
|
- android:textSize="12sp" />
|
|
|
|
|
|
|
+ android:textColor="#333333"
|
|
|
|
|
+ android:textSize="15sp"
|
|
|
|
|
+ android:text="00.00"
|
|
|
|
|
+ />
|
|
|
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:id="@+id/my_money_dingxiang_amount_iv"
|
|
|
|
|
- android:layout_width="19dp"
|
|
|
|
|
- android:layout_height="35dp"
|
|
|
|
|
- android:paddingTop="10dp"
|
|
|
|
|
- android:paddingBottom="10dp"
|
|
|
|
|
- android:paddingEnd="2dp"
|
|
|
|
|
- android:paddingStart="2dp"
|
|
|
|
|
- android:src="@mipmap/question_mark" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/my_money_recharge_amount"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:text="@string/total_money"
|
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
|
- android:textSize="12sp" />
|
|
|
|
|
|
|
+ <TextView style="@style/style_item_end_next" />
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ <View style="@style/style_item_line" />
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/my_money_game_coupon_tag"
|
|
|
|
|
+ style="@style/style_item_container"
|
|
|
|
|
+ android:background="@color/white">
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:id="@+id/my_money_ll"
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginTop="2dp"
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- app:layout_constraintTop_toBottomOf="@id/my_money_amount_ll">
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/style_item_label"
|
|
|
|
|
+ android:text="游戏代金券" />
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:text="@string/agent_extract"
|
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
|
- android:textSize="12sp" />
|
|
|
|
|
|
|
+ <TextView style="@style/style_item_end_next" />
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:text="@string/task_reward"
|
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
|
- android:textSize="12sp" />
|
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ <View style="@style/style_item_line" />
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/my_money_mall_coupon_tag"
|
|
|
|
|
+ style="@style/style_item_container"
|
|
|
|
|
+ android:background="@color/white">
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/my_money_dingxiang_tag"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:text="@string/dingxiang_amount"
|
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
|
- android:textSize="12sp" />
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/style_item_label"
|
|
|
|
|
+ android:text="商城代金券" />
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:text="@string/recharge_amount"
|
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
|
- android:textSize="12sp" />
|
|
|
|
|
|
|
+ <TextView style="@style/style_item_end_next" />
|
|
|
|
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
+
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginStart="16dp"
|
|
|
|
|
- android:layout_marginTop="7dp"
|
|
|
|
|
- android:text="管家推介"
|
|
|
|
|
- android:textColor="#ff333333"
|
|
|
|
|
- android:textSize="14sp" />
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:background="#f5f5f5"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginTop="16dp"
|
|
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:drawableTop="@mipmap/ic_coupons"
|
|
|
|
|
- android:drawablePadding="10dp"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:textColor="#ff333333"
|
|
|
|
|
- android:onClick="onClickCoupons"
|
|
|
|
|
- android:textSize="12sp"
|
|
|
|
|
- android:text="优惠购物"/>
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:drawableTop="@mipmap/ic_vip"
|
|
|
|
|
- android:drawablePadding="10dp"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:textColor="#ff333333"
|
|
|
|
|
- android:onClick="onClickVip"
|
|
|
|
|
- android:textSize="12sp"
|
|
|
|
|
- android:text="VIP"/>
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_weight="1"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:drawableTop="@mipmap/ic_game_recharge"
|
|
|
|
|
- android:drawablePadding="10dp"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:textColor="#ff333333"
|
|
|
|
|
- android:onClick="onClickGameRecharge"
|
|
|
|
|
- android:textSize="12sp"
|
|
|
|
|
- android:visibility="gone"
|
|
|
|
|
- android:text="游戏直充"/>
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
+ android:layout_height="20dp"/>
|
|
|
|
|
+
|
|
|
<android.support.design.widget.TabLayout
|
|
<android.support.design.widget.TabLayout
|
|
|
android:id="@+id/indicator"
|
|
android:id="@+id/indicator"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="50dp"
|
|
android:layout_height="50dp"
|
|
|
- android:layout_marginStart="@dimen/content_padding_10"
|
|
|
|
|
- android:layout_marginTop="@dimen/content_padding_20"
|
|
|
|
|
- android:layout_marginEnd="@dimen/content_padding_10"
|
|
|
|
|
- android:background="@drawable/shape_main_solid_rectangle_small_top"
|
|
|
|
|
|
|
+ android:background="@color/white"
|
|
|
app:tabGravity="center"
|
|
app:tabGravity="center"
|
|
|
app:tabIndicatorColor="#4bc1fe"
|
|
app:tabIndicatorColor="#4bc1fe"
|
|
|
- app:tabIndicatorHeight="0dp"
|
|
|
|
|
|
|
+ app:tabIndicatorHeight="4dp"
|
|
|
app:tabMode="fixed"
|
|
app:tabMode="fixed"
|
|
|
- app:tabSelectedTextColor="@android:color/white"
|
|
|
|
|
- app:tabTextAppearance="@android:style/TextAppearance.Holo.Medium"
|
|
|
|
|
- app:tabTextColor="#444444" />
|
|
|
|
|
|
|
+ app:tabSelectedTextColor="#4bc1fe"
|
|
|
|
|
+ app:tabTextAppearance="@android:style/TextAppearance.Holo.Small"
|
|
|
|
|
+ app:tabTextColor="#333333" />
|
|
|
|
|
|
|
|
<com.kfzs.android.view.widget.WrapContentHeightViewPager
|
|
<com.kfzs.android.view.widget.WrapContentHeightViewPager
|
|
|
android:id="@+id/pager"
|
|
android:id="@+id/pager"
|
|
|
|
|
+ android:background="#f5f5f5"
|
|
|
|
|
+ android:minHeight="200dp"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dip"
|
|
android:layout_height="0dip"
|
|
|
android:layout_weight="1" />
|
|
android:layout_weight="1" />
|
|
@@ -310,36 +288,4 @@
|
|
|
</android.support.v4.widget.NestedScrollView>
|
|
</android.support.v4.widget.NestedScrollView>
|
|
|
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
|
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
|
|
|
|
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:background="@drawable/shape_gradient_main"
|
|
|
|
|
- android:paddingTop="@dimen/status_bar_height">
|
|
|
|
|
-
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:id="@+id/img_baseactivity_title"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="?attr/actionBarSize"
|
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
|
- android:paddingStart="@dimen/content_padding_20"
|
|
|
|
|
- android:paddingEnd="@dimen/content_padding_20"
|
|
|
|
|
- android:scaleType="centerInside"
|
|
|
|
|
- android:src="@drawable/narrow_back_white"
|
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/txt_baseactivity_title"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="?attr/actionBarSize"
|
|
|
|
|
- android:layout_centerInParent="true"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:text="@string/app_name"
|
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
|
- android:textSize="@dimen/text_size_4"
|
|
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/img_baseactivity_title"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="@+id/img_baseactivity_title" />
|
|
|
|
|
- </android.support.constraint.ConstraintLayout>
|
|
|
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|