diff --git a/OsmAnd-telegram/res/drawable/btn_round.xml b/OsmAnd-telegram/res/drawable/btn_round.xml index 47458a958d..59cc46b826 100644 --- a/OsmAnd-telegram/res/drawable/btn_round.xml +++ b/OsmAnd-telegram/res/drawable/btn_round.xml @@ -3,19 +3,19 @@ - + - + - + diff --git a/OsmAnd-telegram/res/drawable/btn_round_blue.xml b/OsmAnd-telegram/res/drawable/btn_round_blue.xml index fb0e06cfb9..71ed302bdc 100644 --- a/OsmAnd-telegram/res/drawable/btn_round_blue.xml +++ b/OsmAnd-telegram/res/drawable/btn_round_blue.xml @@ -3,19 +3,19 @@ - + - + - + diff --git a/OsmAnd-telegram/res/layout/activity_main.xml b/OsmAnd-telegram/res/layout/activity_main.xml index 555db87557..0bd3315e7b 100644 --- a/OsmAnd-telegram/res/layout/activity_main.xml +++ b/OsmAnd-telegram/res/layout/activity_main.xml @@ -39,7 +39,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:visibility="visible" - app:itemBackground="?attr/bg_color" + app:itemBackground="?attr/card_bg_color" app:menu="@menu/bottom_navigation_menu"/> diff --git a/OsmAnd-telegram/res/layout/chat_list_item.xml b/OsmAnd-telegram/res/layout/chat_list_item.xml index a47ad13068..dbeb1ebc5c 100644 --- a/OsmAnd-telegram/res/layout/chat_list_item.xml +++ b/OsmAnd-telegram/res/layout/chat_list_item.xml @@ -9,7 +9,7 @@ - + + diff --git a/OsmAnd-telegram/res/values/colors.xml b/OsmAnd-telegram/res/values/colors.xml index 48222a3ade..57273ae3be 100644 --- a/OsmAnd-telegram/res/values/colors.xml +++ b/OsmAnd-telegram/res/values/colors.xml @@ -1,31 +1,34 @@ - #fff + #fff - #fff - #222526 + #fff + #222526 - #727272 - #727272 + #f0f0f0 + #17191a + + #727272 + #727272 #ff8f00 - #237bff - #d28521 + #237bff + #d28521 - #f0f0f0 - #17191a + #f0f0f0 + #17191a - #212121 - #cccccc + #212121 + #cccccc - #727272 - #727272 + #727272 + #727272 - #b3b3b3 - #4d4d4d + #b3b3b3 + #4d4d4d - #f0f0f0 - #2d3133 + #f0f0f0 + #2d3133 diff --git a/OsmAnd-telegram/res/values/styles.xml b/OsmAnd-telegram/res/values/styles.xml index ddb7ad85e2..876536fd3d 100644 --- a/OsmAnd-telegram/res/values/styles.xml +++ b/OsmAnd-telegram/res/values/styles.xml @@ -2,23 +2,24 @@ @@ -36,7 +37,7 @@ 16dp 8dp 8dp - @color/white_color + @color/white false @drawable/btn_round_blue @@ -49,7 +50,7 @@ 16dp 8dp 8dp - @color/secondary_text_color_light + @color/secondary_text_light false @drawable/btn_round diff --git a/OsmAnd-telegram/src/net/osmand/telegram/utils/UiUtils.kt b/OsmAnd-telegram/src/net/osmand/telegram/utils/UiUtils.kt index d2dd82c16a..a45e53d8ba 100644 --- a/OsmAnd-telegram/src/net/osmand/telegram/utils/UiUtils.kt +++ b/OsmAnd-telegram/src/net/osmand/telegram/utils/UiUtils.kt @@ -82,7 +82,7 @@ class UiUtils(private val app: TelegramApplication) { } fun getThemedIcon(@DrawableRes id: Int): Drawable? { - return getDrawable(id, if (isLightContent) R.color.icon_color_light else 0) + return getDrawable(id, if (isLightContent) R.color.icon_light else 0) } fun getIcon(@DrawableRes id: Int): Drawable? { @@ -90,7 +90,7 @@ class UiUtils(private val app: TelegramApplication) { } fun getIcon(@DrawableRes id: Int, light: Boolean): Drawable? { - return getDrawable(id, if (light) R.color.icon_color_light else 0) + return getDrawable(id, if (light) R.color.icon_light else 0) } private fun createCircleBitmap(source: Bitmap, recycleSource: Boolean = false): Bitmap {