剪裁信息对话框,预览图片时添加一个边框。

This commit is contained in:
2026-05-01 20:52:33 +08:00
parent 5decb2f8d9
commit 72ca11a1af
2 changed files with 32 additions and 23 deletions

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Fri May 01 10:29:10 HKT 2026
#Fri May 01 12:50:26 GMT 2026
stageCount=15
libraryProject=
baseVersion=15.0
publishVersion=15.0.14
buildCount=0
buildCount=4
baseBetaVersion=15.0.15

View File

@@ -1,26 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp"
android:background="@drawable/bg_dialog">
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp"
android:background="@drawable/bg_dialog"
android:gravity="center_horizontal">
<TextView
android:id="@+id/info_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="14sp"
android:fontFamily="monospace"
android:textColor="@android:color/white"/>
<TextView
android:id="@+id/info_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textSize="14sp"
android:fontFamily="monospace"
android:textColor="@android:color/white"/>
<ImageView
android:id="@+id/preview_image"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_marginTop="16dp"
android:scaleType="fitCenter"
android:background="@android:color/black"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="2dp"
android:background="#FFBBD505">
<ImageView
android:id="@+id/preview_image"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:scaleType="fitCenter"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>