<?xml version="1.0" encoding="utf-8"?>
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintDimensionRatio="390:490"
|
android:background="@mipmap/bg_mine"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="余额明细"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
android:textColor="@color/textColor"
|
android:textSize="16sp"
|
android:textStyle="bold"
|
android:id="@+id/tv_title"
|
android:layout_marginTop="44dp"/>
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@mipmap/back"
|
android:padding="10dp"
|
app:layout_constraintStart_toStartOf="parent"
|
android:layout_marginStart="4dp"
|
app:layout_constraintTop_toTopOf="@id/tv_title"
|
app:layout_constraintBottom_toBottomOf="@id/tv_title"
|
android:id="@+id/iv_back"/>
|
|
<LinearLayout
|
android:id="@+id/ll"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
app:layout_constraintTop_toBottomOf="@id/tv_title"
|
android:layout_marginTop="51dp"
|
android:orientation="vertical"
|
android:gravity="center_horizontal"
|
android:layout_marginHorizontal="14dp"
|
android:background="@mipmap/bg_wallet_detail">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textColor="@color/textColor"
|
android:layout_marginTop="50dp"
|
android:textSize="15sp"
|
android:text="可用余额(元)"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:textColor="@color/textColor"
|
android:id="@+id/tv_money"
|
android:textSize="38sp"
|
android:layout_marginTop="8dp"
|
android:textStyle="bold"
|
android:text="0"/>
|
<Space
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1"/>
|
<TextView
|
android:id="@+id/tv_withdraw"
|
android:layout_width="160dp"
|
android:layout_height="49dp"
|
android:textColor="@color/textColor"
|
android:gravity="center"
|
android:textStyle="bold"
|
android:layout_marginTop="40dp"
|
android:textSize="18sp"
|
android:layout_marginBottom="21dp"
|
android:background="@drawable/bg_white_25dp"
|
android:text="提现" />
|
</LinearLayout>
|
<com.flyco.tablayout.SlidingTabLayout
|
android:id="@+id/tab_bar"
|
android:layout_width="match_parent"
|
android:layout_height="44dp"
|
app:layout_constraintTop_toBottomOf="@id/ll"
|
android:layout_marginTop="18dp"
|
app:tl_tab_space_equal="true"
|
app:tl_indicator_width="12dp"
|
app:tl_indicator_height="2dp"
|
app:tl_indicator_corner_radius="1dp"
|
app:tl_indicator_color="@color/textGreen"
|
app:tl_textsize="14sp"
|
app:tl_textUnselectColor="@color/textColor66"
|
app:tl_textSelectColor="@color/textGreen"/>
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:layout_marginTop="2dp"
|
android:background="@color/dividing_line_color"
|
app:layout_constraintTop_toBottomOf="@id/tab_bar"
|
/>
|
<androidx.viewpager.widget.ViewPager
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:id="@+id/view_pager"
|
android:layout_marginTop="3dp"
|
app:layout_constraintTop_toBottomOf="@id/tab_bar"
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|