Files
qianyanAndroid/app/src/main/res/layout/item_exchange_title.xml
被淹死的鱼 cd3b53759e 第一次提交
2026-03-11 18:26:29 +08:00

78 lines
3.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="35dp"
android:background="@android:color/white"
xmlns:tools="http://schemas.android.com/tools"
tools:viewBindingIgnore="true"
android:orientation="horizontal">
<ImageView
android:id="@+id/exchange_title_back"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="15dp"
android:src="@drawable/ic_return" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="horizontal">
<RelativeLayout
android:id="@+id/exchange_title_view_1"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_marginRight="16dp">
<TextView
android:id="@+id/exchange_title_name_1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="兑换金币"
android:textColor="@android:color/black"
android:textSize="18sp" />
<View
android:id="@+id/exchange_title_bottom_line_1"
android:layout_width="20dp"
android:layout_height="2.5dp"
android:layout_below="@+id/exchange_title_name_1"
android:layout_centerHorizontal="true"
android:layout_marginBottom="1dp"
android:layout_marginTop="2dp"
android:background="@drawable/shape_exchange_selector_bottom" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/exchange_title_view_2"
android:layout_width="wrap_content"
android:layout_height="match_parent">
<TextView
android:id="@+id/exchange_title_name_2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="兑换余额"
android:textColor="@color/loginText2"
android:textSize="18sp" />
<View
android:id="@+id/exchange_title_bottom_line_2"
android:layout_width="20dp"
android:layout_height="2.5dp"
android:layout_below="@+id/exchange_title_name_2"
android:layout_centerHorizontal="true"
android:layout_marginBottom="1dp"
android:layout_marginTop="2dp"
android:background="@drawable/shape_exchange_selector_bottom"
android:visibility="gone" />
</RelativeLayout>
</LinearLayout>
</LinearLayout>