添加背景透明度调节

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"
@@ -913,5 +913,6 @@
<string name="expand_text_menu">展开文本选择菜单</string>
<string name="book_tree_uri_t">书籍保存位置</string>
<string name="book_tree_uri_s">从其它应用打开的书籍保存位置</string>
<string name="bg_alpha">背景透明度</string>
</resources>
@@ -916,5 +916,6 @@
<string name="expand_text_menu">展开文本选择菜单</string>
<string name="book_tree_uri_t">书籍保存位置</string>
<string name="book_tree_uri_s">从其它应用打开的书籍保存位置</string>
<string name="bg_alpha">背景透明度</string>
</resources>
@@ -418,6 +418,7 @@
<string name="rule_chapter_list">目录列表规则(capítuloLista)</string>
<string name="rule_chapter_name">章节名称规则(capítuloNome)</string>
<string name="rule_chapter_url">章节URL规则(capítuloUrl)</string>
<string name="rule_is_volume">卷标识(isVolume)</string>
<string name="rule_is_vip">VIP标识(éVip)</string>
<string name="rule_update_time">更新时间(capítuloInfo)</string>
<string name="rule_book_content">正文规则(conteúdo)</string>
@@ -426,6 +427,7 @@
<string name="rule_source_regex">资源正则(fonteRegex)</string>
<string name="rule_replace_regex">替换规则(substRegex)</string>
<string name="rule_image_style">图片样式(imagemFormato)</string>
<string name="rule_pay_action">购买操作(payAction)</string>
<string name="source_icon">图标(fonteÍcone)</string>
<string name="r_articles">列表规则(regrasArtigos)</string>
@@ -914,5 +916,6 @@
<string name="expand_text_menu">展开文本选择菜单</string>
<string name="book_tree_uri_t">书籍保存位置</string>
<string name="book_tree_uri_s">从其它应用打开的书籍保存位置</string>
<string name="bg_alpha">背景透明度</string>
</resources>
@@ -913,5 +913,6 @@
<string name="expand_text_menu">展开文本选择菜单</string>
<string name="book_tree_uri_t">书籍保存位置</string>
<string name="book_tree_uri_s">从其它应用打开的书籍保存位置</string>
<string name="bg_alpha">背景透明度</string>
</resources>
@@ -915,5 +915,6 @@
<string name="search_content_size">搜尋結果</string>
<string name="book_tree_uri_t">書籍儲存位置</string>
<string name="book_tree_uri_s">從其它應用程式打開的書籍儲存位置</string>
<string name="bg_alpha">背景透明度</string>
</resources>
+1
View File
@@ -915,5 +915,6 @@
<string name="expand_text_menu">展开文本选择菜单</string>
<string name="book_tree_uri_t">书籍保存位置</string>
<string name="book_tree_uri_s">从其它应用打开的书籍保存位置</string>
<string name="bg_alpha">背景透明度</string>
</resources>
+2 -1
View File
@@ -418,7 +418,7 @@
<string name="rule_chapter_list">目录列表规则(chapterList)</string>
<string name="rule_chapter_name">章节名称规则(ChapterName)</string>
<string name="rule_chapter_url">章节URL规则(chapterUrl)</string>
<string name="rule_is_volume">Volume标识(isVolume)</string>
<string name="rule_is_volume">卷标识(isVolume)</string>
<string name="rule_is_vip">VIP标识(isVip)</string>
<string name="rule_update_time">更新时间(ChapterInfo)</string>
<string name="rule_book_content">正文规则(content)</string>
@@ -916,5 +916,6 @@
<string name="expand_text_menu">展开文本选择菜单</string>
<string name="book_tree_uri_t">书籍保存位置</string>
<string name="book_tree_uri_s">从其它应用打开的书籍保存位置</string>
<string name="bg_alpha">背景透明度</string>
</resources>