From 99b11059aedf616df4ed3b74300fa59417568bc3 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期二, 08 四月 2025 16:37:38 +0800
Subject: [PATCH] feat: 添加单选按钮文本颜色资源文件
---
generallibrary/src/main/res/layout/fragment_recharge.xml | 31 +++++++++++--------------------
1 files changed, 11 insertions(+), 20 deletions(-)
diff --git a/generallibrary/src/main/res/layout/fragment_recharge.xml b/generallibrary/src/main/res/layout/fragment_recharge.xml
index 197c37a..e9971e8 100644
--- a/generallibrary/src/main/res/layout/fragment_recharge.xml
+++ b/generallibrary/src/main/res/layout/fragment_recharge.xml
@@ -5,29 +5,19 @@
android:layout_height="match_parent"
android:background="#F5F5F5">
- <RelativeLayout
- android:id="@+id/header_layout"
+ <com.dayu.baselibrary.view.TitleBar
+ android:id="@+id/titleBar"
android:layout_width="match_parent"
android:layout_height="@dimen/dimen_title_height"
- android:background="@color/bottom_color"
- android:elevation="4dp">
-
- <TextView
- android:id="@+id/titleBar"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:text="鍏呭��"
- android:textColor="@color/white"
- android:textSize="@dimen/title_text_size"
- android:textStyle="bold" />
- </RelativeLayout>
+ android:background="@color/title_bar_bg"
+ android:elevation="4dp"
+ app:centerText="鎴戠殑" />
<LinearLayout
android:id="@+id/recharge_read_LL"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_below="@+id/header_layout"
+ android:layout_below="@+id/titleBar"
android:orientation="vertical"
android:visibility="visible">
@@ -83,6 +73,7 @@
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone">
+
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -96,7 +87,6 @@
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
-
<TextView
@@ -113,8 +103,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#F9F9F9"
- android:padding="12dp"
- android:orientation="vertical">
+ android:orientation="vertical"
+ android:padding="12dp">
<TextView
android:id="@+id/recharge_tx"
@@ -138,11 +128,12 @@
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
+
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginBottom="16dp"
android:layout_marginTop="15dp"
+ android:layout_marginBottom="16dp"
app:cardCornerRadius="8dp"
app:cardElevation="2dp">
--
Gitblit v1.8.0