diff --git a/OsmAnd/res/layout/list_item_icon_and_download.xml b/OsmAnd/res/layout/list_item_icon_and_download.xml index eab556dd26..30648adf68 100644 --- a/OsmAnd/res/layout/list_item_icon_and_download.xml +++ b/OsmAnd/res/layout/list_item_icon_and_download.xml @@ -83,11 +83,11 @@ android:id="@+id/compound_button" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginEnd="@dimen/title_padding" - android:layout_marginRight="@dimen/title_padding" android:layout_gravity="center_vertical" android:scaleType="center" android:background="@null" + android:layout_marginEnd="@dimen/dashFavDirectionSize" + android:layout_marginRight="@dimen/dashFavDirectionSize" android:clickable="false" android:focusable="false" android:visibility="gone" @@ -96,11 +96,9 @@ + + + + + + + \ No newline at end of file diff --git a/OsmAnd/res/layout/preference_category_with_descr.xml b/OsmAnd/res/layout/preference_category_with_descr.xml index c4ed864a71..8d316d54a5 100644 --- a/OsmAnd/res/layout/preference_category_with_descr.xml +++ b/OsmAnd/res/layout/preference_category_with_descr.xml @@ -6,7 +6,7 @@ android:layout_height="wrap_content" android:background="?attr/list_background_color" android:gravity="center_vertical" - android:minHeight="@dimen/bottom_sheet_list_item_height" + android:minHeight="@dimen/bottom_sheet_cancel_button_height_small" android:orientation="horizontal"> diff --git a/OsmAnd/src/net/osmand/plus/settings/fragments/VoiceLanguageBottomSheetFragment.java b/OsmAnd/src/net/osmand/plus/settings/fragments/VoiceLanguageBottomSheetFragment.java index 9273bcd089..cf9f163e02 100644 --- a/OsmAnd/src/net/osmand/plus/settings/fragments/VoiceLanguageBottomSheetFragment.java +++ b/OsmAnd/src/net/osmand/plus/settings/fragments/VoiceLanguageBottomSheetFragment.java @@ -162,6 +162,7 @@ public class VoiceLanguageBottomSheetFragment extends MenuBottomSheetDialogFragm LayoutInflater inflater = UiUtilities.getInflater(app, nightMode); BaseBottomSheetItem titleItem = new BottomSheetItemWithDescription.Builder() .setDescription(getString(R.string.language_description)) + .setDescriptionColorId(nightMode ? R.color.text_color_primary_dark : R.color.text_color_primary_light) .setTitle(getString(R.string.shared_string_language)) .setLayoutId(R.layout.bottom_sheet_item_title_with_description) .create(); @@ -253,9 +254,8 @@ public class VoiceLanguageBottomSheetFragment extends MenuBottomSheetDialogFragm int position = isDefault ? DEFAULT_LANGUAGE_POSITION : -1; final ImageView secondaryIcon = view.findViewById(R.id.secondary_icon); - int color = ContextCompat.getColor(context, nightMode ? R.color.wikivoyage_active_dark : R.color.wikivoyage_active_light); int activeColorResId = nightMode ? R.color.active_color_primary_dark : R.color.active_color_primary_light; - secondaryIcon.setColorFilter(color, android.graphics.PorterDuff.Mode.MULTIPLY); + secondaryIcon.setColorFilter(ContextCompat.getColor(context, activeColorResId)); final ProgressBar progressBar = view.findViewById(R.id.ProgressBar); final TextView textDescription = view.findViewById(R.id.description);