「アプリ設定/見た目/ブックマークボタンを表示する」を追加。なおオフにしてもコンテキストメニューの別アカ操作には残ってます。
This commit is contained in:
parent
988b045b66
commit
7dca01c7a9
|
@ -454,8 +454,12 @@ object Pref {
|
||||||
R.id.swAlwaysExpandContextMenuItems
|
R.id.swAlwaysExpandContextMenuItems
|
||||||
)
|
)
|
||||||
|
|
||||||
|
val bpShowBookmarkButton = BooleanPref(
|
||||||
|
"ShowBookmarkButton",
|
||||||
|
false,
|
||||||
|
R.id.swShowBookmarkButton
|
||||||
|
)
|
||||||
|
|
||||||
// int
|
// int
|
||||||
|
|
||||||
val ipBackButtonAction = IntPref("back_button_action", 0)
|
val ipBackButtonAction = IntPref("back_button_action", 0)
|
||||||
|
|
|
@ -200,6 +200,8 @@ internal class StatusButtons(
|
||||||
|
|
||||||
// ブックマークボタン
|
// ブックマークボタン
|
||||||
when {
|
when {
|
||||||
|
!Pref.bpShowBookmarkButton(activity.pref) -> vg(btnBookmark,false)
|
||||||
|
|
||||||
activity.app_state.isBusyBookmark(access_info, status) -> setButton(
|
activity.app_state.isBusyBookmark(access_info, status) -> setButton(
|
||||||
btnBookmark,
|
btnBookmark,
|
||||||
false,
|
false,
|
||||||
|
|
|
@ -700,5 +700,38 @@
|
||||||
<View style="@style/setting_divider"/>
|
<View style="@style/setting_divider"/>
|
||||||
|
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
style="@style/setting_row_label"
|
||||||
|
android:text="@string/always_expand_context_menu_sub_items"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<LinearLayout style="@style/setting_row_form">
|
||||||
|
|
||||||
|
<Switch
|
||||||
|
android:id="@+id/swAlwaysExpandContextMenuItems"
|
||||||
|
style="@style/setting_horizontal_stretch"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<View style="@style/setting_divider"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
style="@style/setting_row_label"
|
||||||
|
android:text="@string/show_bookmark_button"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<LinearLayout style="@style/setting_row_form">
|
||||||
|
|
||||||
|
<Switch
|
||||||
|
android:id="@+id/swShowBookmarkButton"
|
||||||
|
style="@style/setting_horizontal_stretch"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<View style="@style/setting_divider"/>
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
|
@ -446,21 +446,6 @@
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<View style="@style/setting_divider"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
style="@style/setting_row_label"
|
|
||||||
android:text="@string/always_expand_context_menu_sub_items"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<LinearLayout style="@style/setting_row_form">
|
|
||||||
|
|
||||||
<Switch
|
|
||||||
android:id="@+id/swAlwaysExpandContextMenuItems"
|
|
||||||
style="@style/setting_horizontal_stretch"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<View style="@style/setting_divider"/>
|
<View style="@style/setting_divider"/>
|
||||||
|
|
||||||
|
|
|
@ -973,5 +973,6 @@
|
||||||
<string name="release_notes_updated">更新履歴 (v%1$s→v%2$s)</string>
|
<string name="release_notes_updated">更新履歴 (v%1$s→v%2$s)</string>
|
||||||
<string name="test">Test</string>
|
<string name="test">Test</string>
|
||||||
<string name="please_help_translation">Please help translation!</string>
|
<string name="please_help_translation">Please help translation!</string>
|
||||||
|
<string name="show_bookmark_button">ブックマークボタンを表示する (アプリ再起動が必要)</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -967,4 +967,5 @@
|
||||||
<string name="release_notes_updated">Release notes (v%1$s→v%2$s)</string>
|
<string name="release_notes_updated">Release notes (v%1$s→v%2$s)</string>
|
||||||
<string name="test">Test</string>
|
<string name="test">Test</string>
|
||||||
<string name="please_help_translation">Please help translation!</string>
|
<string name="please_help_translation">Please help translation!</string>
|
||||||
|
<string name="show_bookmark_button">Show bookmark button (app restart required)</string>
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in New Issue