添加背景透明度调节

This commit is contained in:
kunfei
2022-01-27 09:30:11 +08:00
parent f917f77dde
commit e3f75f60d3
15 changed files with 74 additions and 11 deletions
@@ -12,8 +12,8 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="6dp"
android:gravity="center_vertical">
android:gravity="center_vertical"
android:padding="6dp">
<TextView
android:id="@+id/tv_name_title"
@@ -36,9 +36,9 @@
android:id="@+id/iv_edit"
android:layout_width="20dp"
android:layout_height="20dp"
android:contentDescription="@string/edit"
android:src="@drawable/ic_edit"
app:tint="@color/secondaryText"
android:contentDescription="@string/edit" />
app:tint="@color/secondaryText" />
<Space
android:layout_width="0dp"
@@ -59,7 +59,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="6dp"
android:text="@string/dark_status_icon" />
android:text="@string/dark_status_icon"
tools:ignore="TouchTargetSizeCheck" />
<LinearLayout
android:layout_width="match_parent"
@@ -140,6 +141,23 @@
</LinearLayout>
<TextView
android:id="@+id/tv_bg_alpha"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="6dp"
android:paddingRight="6dp"
android:text="@string/bg_alpha" />
<io.legado.app.lib.theme.view.ThemeSeekBar
android:id="@+id/sb_bg_alpha"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:min="10"
android:max="100"
android:padding="6dp"
tools:ignore="UnusedAttribute" />
<TextView
android:id="@+id/tv_bg_image"
android:layout_width="match_parent"
+6 -1
View File
@@ -3,11 +3,16 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/page_panel"
android:background="@color/background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<View
android:id="@+id/vw_bg"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<FrameLayout
android:id="@+id/vw_status_bar"
android:layout_width="match_parent"