调整UI布局

This commit is contained in:
2026-04-30 10:09:12 +08:00
parent e3f47043ef
commit dc6a589db4
2 changed files with 48 additions and 27 deletions

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Thu Apr 30 01:57:42 GMT 2026 #Thu Apr 30 02:08:18 GMT 2026
stageCount=26 stageCount=26
libraryProject= libraryProject=
baseVersion=15.11 baseVersion=15.11
publishVersion=15.11.25 publishVersion=15.11.25
buildCount=42 buildCount=44
baseBetaVersion=15.11.26 baseBetaVersion=15.11.26

View File

@@ -1,29 +1,50 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<FrameLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:orientation="vertical"
android:layout_height="match_parent"> android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="top">
<androidx.appcompat.widget.Toolbar <androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary" android:background="?attr/colorPrimary"
app:title="@string/app_name" app:title="@string/app_name"
app:subtitle="@string/my_termux_activity" app:subtitle="@string/my_termux_activity"
app:titleTextColor="@android:color/white" app:titleTextColor="@android:color/white"
app:subtitleTextColor="@android:color/white"/> app:subtitleTextColor="@android:color/white"/>
<Button <ScrollView
android:id="@+id/btn_termux" android:layout_width="match_parent"
android:layout_width="wrap_content" android:layout_height="0dp"
android:layout_height="wrap_content" android:layout_weight="1.0">
android:layout_gravity="bottom|center_horizontal"
android:layout_margin="8dp" <LinearLayout
android:text="Termux" android:orientation="vertical"
android:textSize="18sp" android:layout_width="match_parent"
android:padding="16dp" android:layout_height="wrap_content">
android:backgroundTint="@android:color/holo_blue_dark"/>
<HorizontalScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content">
<Button
android:id="@+id/btn_termux"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Termux"
android:textSize="18sp"
android:padding="16dp"
android:backgroundTint="@android:color/holo_blue_dark"/>
</HorizontalScrollView>
</LinearLayout>
</ScrollView>
</LinearLayout>
</FrameLayout>