diff --git a/app/src/main/java/jp/juggler/subwaytooter/AppSettingItem.kt b/app/src/main/java/jp/juggler/subwaytooter/AppSettingItem.kt index d08f7bf5..8ce86ae1 100644 --- a/app/src/main/java/jp/juggler/subwaytooter/AppSettingItem.kt +++ b/app/src/main/java/jp/juggler/subwaytooter/AppSettingItem.kt @@ -768,13 +768,17 @@ val appSettingRoot = AppSettingItem(null, SettingType.Section, R.string.app_sett colorAlpha(Pref.ipEventBgColorReaction, R.string.reaction) colorAlpha(Pref.ipEventBgColorQuote, R.string.quote_renote) colorAlpha(Pref.ipEventBgColorVote, R.string.vote_polls) + colorAlpha(Pref.ipEventBgColorStatus, R.string.status) + colorAlpha( Pref.ipConversationMainTootBgColor, R.string.conversation_main_toot_background_color ) - colorAlpha(Pref.ipEventBgColorStatus, R.string.status) + + colorAlpha(Pref.ipEventBgColorGap, R.string.gap) } + group(R.string.button_accent_color) { colorAlpha(Pref.ipButtonBoostedColor, R.string.boost) colorAlpha(Pref.ipButtonFavoritedColor, R.string.favourites) diff --git a/app/src/main/java/jp/juggler/subwaytooter/ItemViewHolder.kt b/app/src/main/java/jp/juggler/subwaytooter/ItemViewHolder.kt index 83f4ed02..335d1812 100644 --- a/app/src/main/java/jp/juggler/subwaytooter/ItemViewHolder.kt +++ b/app/src/main/java/jp/juggler/subwaytooter/ItemViewHolder.kt @@ -1101,6 +1101,9 @@ internal class ItemViewHolder( btnGapTail.vg(column.type.gapDirection(column, false)) ?.imageTintList = content_color_csl + + val c = Pref.ipEventBgColorGap(App1.pref) + if(c != 0) this.viewRoot.backgroundColor = c } private fun showSearchGap(item : TootSearchGap) { diff --git a/app/src/main/java/jp/juggler/subwaytooter/Pref.kt b/app/src/main/java/jp/juggler/subwaytooter/Pref.kt index b5bf6538..52368fb0 100644 --- a/app/src/main/java/jp/juggler/subwaytooter/Pref.kt +++ b/app/src/main/java/jp/juggler/subwaytooter/Pref.kt @@ -533,6 +533,8 @@ object Pref { val ipEventBgColorFollowRequest = IntPref("EventBgColorFollowRequest", 0) val ipEventBgColorStatus = IntPref("EventBgColorStatus", 0) + val ipEventBgColorGap = IntPref("EventBgColorGap", 0) + val ipCcdHeaderBg = IntPref("ipCcdHeaderBg", 0) val ipCcdHeaderFg = IntPref("ipCcdHeaderFg", 0) val ipCcdContentBg = IntPref("ipCcdContentBg", 0) diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 52b39d10..ff7d5d8e 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -1049,4 +1049,5 @@ \'#\'だけを入力 このユーザの投稿を通知する このユーザの投稿の通知を解除 + ギャップ diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 41483c9d..0333af16 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1058,4 +1058,5 @@ Input \'#\' itself Notify posts from this user Stop notify posts from this user + Gap