From 3a154bdb0a5aaa2c0ac3eac95a6ba747068bd454 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期二, 13 一月 2026 10:00:37 +0800 Subject: [PATCH] 优化 --- keyCabinet-android/lib_coremodel/src/main/res/layout/toast_view.xml | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/keyCabinet-android/lib_coremodel/src/main/res/layout/toast_view.xml b/keyCabinet-android/lib_coremodel/src/main/res/layout/toast_view.xml new file mode 100644 index 0000000..59e1211 --- /dev/null +++ b/keyCabinet-android/lib_coremodel/src/main/res/layout/toast_view.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="match_parent" + android:gravity="center" + android:layout_height="match_parent" + android:focusable="false" + android:focusableInTouchMode="false"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="@dimen/activity_vertical_margin" + android:layout_marginRight="@dimen/activity_vertical_margin" + android:id="@+id/message" + android:text="鎴戞槸toast鎴戞槸toast" + android:textColor="@color/white" + android:textSize="24sp" + android:padding="@dimen/activity_horizontal_margin" + android:background="@drawable/toast_view_bg" + android:gravity="center"/> + +</LinearLayout> \ No newline at end of file -- Gitblit v1.9.3