|
|
@@ -1,273 +1,275 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<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="#f5f5f5"
|
|
|
- tools:context="com.sheep.gamegroup.view.activity.ActMyMoney">
|
|
|
+ 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="#f5f5f5"
|
|
|
+ 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" />
|
|
|
+ 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
|
|
|
- android:id="@+id/refresh"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent">
|
|
|
-
|
|
|
- <android.support.v4.widget.NestedScrollView
|
|
|
- android:id="@+id/scrollView"
|
|
|
+ android:id="@+id/refresh"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_gravity="fill_vertical"
|
|
|
- android:fillViewport="true"
|
|
|
- android:scrollbars="none"
|
|
|
- app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <android.support.v4.widget.NestedScrollView
|
|
|
+ android:id="@+id/scrollView"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:focusable="true"
|
|
|
- android:focusableInTouchMode="true"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:layout_gravity="fill_vertical"
|
|
|
+ android:fillViewport="true"
|
|
|
+ android:scrollbars="none"
|
|
|
+ app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
|
- <android.support.constraint.ConstraintLayout
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <android.support.constraint.ConstraintLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
<ImageView
|
|
|
- android:id="@+id/img_baseactivity_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="?attr/actionBarSize"
|
|
|
- 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" />
|
|
|
+ android:id="@+id/img_baseactivity_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="?attr/actionBarSize"
|
|
|
+ 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"/>
|
|
|
|
|
|
<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: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"/>
|
|
|
|
|
|
<ImageView
|
|
|
- android:id="@+id/ico_baseactivity_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="?attr/actionBarSize"
|
|
|
- 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="@mipmap/question"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
+ android:id="@+id/ico_baseactivity_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="?attr/actionBarSize"
|
|
|
+ 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="@mipmap/question"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
|
|
<android.support.v7.widget.CardView
|
|
|
- android:id="@+id/my_money_card_layout"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- 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">
|
|
|
+ android:id="@+id/my_money_card_layout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ app:cardBackgroundColor="@color/white"
|
|
|
+ app:cardCornerRadius="8dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/txt_baseactivity_title">
|
|
|
|
|
|
<RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
<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" />
|
|
|
+ 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"/>
|
|
|
|
|
|
<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" />
|
|
|
+ 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"/>
|
|
|
|
|
|
<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">
|
|
|
-
|
|
|
- <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_weight="4"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical">
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:text="可提现余额(元)"
|
|
|
- android:textColor="#999999"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:layout_weight="4"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
<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" />
|
|
|
+ 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:textStyle="bold"
|
|
|
+ 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_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:text="虚拟绵羊币(元)"
|
|
|
- android:textColor="#999999"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:layout_weight="4"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
<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" />
|
|
|
+ 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:textStyle="bold"
|
|
|
+ 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">
|
|
|
+ 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" />
|
|
|
+ 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" />
|
|
|
+ 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">
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/my_money_card_layout"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:background="@drawable/bg_corner_8dp"
|
|
|
+ android:backgroundTint="@color/white"
|
|
|
+ android:layout_marginTop="24dp"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/my_money_dingxiang_tag"
|
|
|
- style="@style/style_item_container"
|
|
|
- android:background="@color/white">
|
|
|
+ android:id="@+id/my_money_dingxiang_tag"
|
|
|
+ style="@style/style_item_container">
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="定向福利币" />
|
|
|
+ style="@style/style_item_label"
|
|
|
+ android:text="定向福利币"/>
|
|
|
<TextView
|
|
|
- android:id="@+id/my_money_dingxiang_amount"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="15sp"
|
|
|
- android:text="00.00"
|
|
|
- />
|
|
|
- <TextView style="@style/style_item_end_next" />
|
|
|
+ android:id="@+id/my_money_dingxiang_amount"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="15sp"
|
|
|
+ android:text="00.00"
|
|
|
+ />
|
|
|
+ <TextView style="@style/style_item_end_next"/>
|
|
|
</LinearLayout>
|
|
|
- <View style="@style/style_item_line" />
|
|
|
+ <View style="@style/style_item_line"/>
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/my_money_activity_tag"
|
|
|
- style="@style/style_item_container"
|
|
|
- android:background="@color/white">
|
|
|
+ android:id="@+id/my_money_activity_tag"
|
|
|
+ style="@style/style_item_container">
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="活动币" />
|
|
|
+ style="@style/style_item_label"
|
|
|
+ android:text="活动币"/>
|
|
|
<TextView
|
|
|
- android:id="@+id/my_money_activity_amount"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="15sp"
|
|
|
- android:text="00.00"
|
|
|
- />
|
|
|
- <TextView style="@style/style_item_end_next" />
|
|
|
+ android:id="@+id/my_money_activity_amount"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="15sp"
|
|
|
+ android:text="00.00"
|
|
|
+ />
|
|
|
+ <TextView style="@style/style_item_end_next"/>
|
|
|
</LinearLayout>
|
|
|
- <View style="@style/style_item_line" />
|
|
|
+ <View style="@style/style_item_line"/>
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/my_money_game_coupon_tag"
|
|
|
- style="@style/style_item_container"
|
|
|
- android:background="@color/white">
|
|
|
+ android:id="@+id/my_money_game_coupon_tag"
|
|
|
+ style="@style/style_item_container">
|
|
|
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="游戏代金券" />
|
|
|
+ style="@style/style_item_label"
|
|
|
+ android:text="游戏代金券"/>
|
|
|
|
|
|
- <TextView style="@style/style_item_end_next" />
|
|
|
+ <TextView style="@style/style_item_end_next"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
- <View style="@style/style_item_line" />
|
|
|
+ <View style="@style/style_item_line"/>
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/my_money_mall_coupon_tag"
|
|
|
- style="@style/style_item_container"
|
|
|
- android:visibility="gone"
|
|
|
- android:background="@color/white">
|
|
|
+ android:id="@+id/my_money_mall_coupon_tag"
|
|
|
+ style="@style/style_item_container"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
<TextView
|
|
|
- style="@style/style_item_label"
|
|
|
- android:text="商城代金券" />
|
|
|
+ style="@style/style_item_label"
|
|
|
+ android:text="商城代金券"/>
|
|
|
|
|
|
- <TextView style="@style/style_item_end_next" />
|
|
|
+ <TextView style="@style/style_item_end_next"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
@@ -275,30 +277,36 @@
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
|
|
<View
|
|
|
- android:background="#f5f5f5"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="20dp"/>
|
|
|
+ android:background="#f5f5f5"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="20dp"/>
|
|
|
|
|
|
<android.support.design.widget.TabLayout
|
|
|
- android:id="@+id/indicator"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:background="@color/white"
|
|
|
- app:tabGravity="center"
|
|
|
- app:tabIndicatorColor="#4bc1fe"
|
|
|
- app:tabIndicatorHeight="4dp"
|
|
|
- app:tabMode="fixed"
|
|
|
- app:tabSelectedTextColor="#4bc1fe"
|
|
|
- app:tabTextAppearance="@android:style/TextAppearance.Holo.Small"
|
|
|
- app:tabTextColor="#333333" />
|
|
|
+ android:id="@+id/indicator"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:background="#f5f5f5"
|
|
|
+ app:tabGravity="center"
|
|
|
+ app:tabIndicatorColor="#4bc1fe"
|
|
|
+ app:tabIndicatorHeight="4dp"
|
|
|
+ app:tabMode="fixed"
|
|
|
+ app:tabSelectedTextColor="#4bc1fe"
|
|
|
+ app:tabTextAppearance="@android:style/TextAppearance.Holo.Small"
|
|
|
+ app:tabTextColor="#333333"/>
|
|
|
+
|
|
|
+ <View android:layout_width="match_parent"
|
|
|
+ android:layout_height="16dp"
|
|
|
+ android:background="#f5f5f5"/>
|
|
|
|
|
|
<com.kfzs.android.view.widget.WrapContentHeightViewPager
|
|
|
- android:id="@+id/pager"
|
|
|
- android:background="#f5f5f5"
|
|
|
- android:minHeight="200dp"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="0dip"
|
|
|
- android:layout_weight="1" />
|
|
|
+ android:id="@+id/pager"
|
|
|
+ android:background="#f5f5f5"
|
|
|
+ android:minHeight="200dp"
|
|
|
+ android:paddingStart="16dp"
|
|
|
+ android:paddingEnd="16dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dip"
|
|
|
+ android:layout_weight="1"/>
|
|
|
</LinearLayout>
|
|
|
</android.support.v4.widget.NestedScrollView>
|
|
|
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|