电量记录表里添加换行显示功能。

This commit is contained in:
ZhanGSKen
2025-09-03 20:54:48 +08:00
parent 80201e8370
commit 7e476894a7
4 changed files with 51 additions and 9 deletions

View File

@@ -47,12 +47,32 @@
android:layout_weight="1.0"
android:background="@drawable/bg_frame">
<TextView
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Record Text"
android:textStyle="bold"
android:gravity="center_horizontal"/>
android:gravity="center_horizontal">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="Record Text"
android:textStyle="bold"
android:gravity="center_horizontal"
android:layout_weight="1.0"
android:layout_marginLeft="10dp"
android:background="#FFD5D5D5"/>
<Switch
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="&lt;↲&gt;"
android:id="@+id/activityclearrecordSwitch1"
android:onClick="onShowRecordWithEnter"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"/>
</LinearLayout>
<ScrollView
android:layout_width="match_parent"