调整MainActivity按钮顺序将关于应用置顶

This commit is contained in:
2026-04-27 20:15:54 +08:00
parent bfaf3543b9
commit 9c66f61891

View File

@@ -23,6 +23,18 @@
android:gravity="center_vertical" android:gravity="center_vertical"
android:spacing="12dp"> android:spacing="12dp">
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="关于应用"
android:textSize="16sp"
android:textColor="@android:color/white"
android:background="#81C7F5"
android:paddingVertical="12dp"
android:layout_marginHorizontal="24dp"
android:onClick="onAboutActivity"
android:layout_margin="10dp"/>
<Button <Button
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@@ -71,18 +83,6 @@
android:onClick="onToastUtilsTest" android:onClick="onToastUtilsTest"
android:layout_margin="10dp"/> android:layout_margin="10dp"/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="关于应用"
android:textSize="16sp"
android:textColor="@android:color/white"
android:background="#81C7F5"
android:paddingVertical="12dp"
android:layout_marginHorizontal="24dp"
android:onClick="onAboutActivity"
android:layout_margin="10dp"/>
<Button <Button
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@@ -111,5 +111,4 @@
</ScrollView> </ScrollView>
</LinearLayout> </LinearLayout>