diff --git a/OsmAnd/res/layout/my_places_fabs.xml b/OsmAnd/res/layout/my_places_fabs.xml index f7b32cac25..3e0f70789e 100644 --- a/OsmAnd/res/layout/my_places_fabs.xml +++ b/OsmAnd/res/layout/my_places_fabs.xml @@ -16,6 +16,7 @@ android:contentDescription="@string/quick_action_new_action" app:srcCompat="@drawable/ic_action_plus" app:backgroundTint="?attr/active_color_basic" + app:tint="?attr/app_bar_primary_item_color" app:fabSize="normal" app:useCompatPadding="true"/> @@ -33,6 +34,7 @@ app:srcCompat="@drawable/ic_action_marker_dark" android:visibility="gone" app:backgroundTint="@color/fab_green" + app:tint="?attr/app_bar_primary_item_color" app:fabSize="mini" app:useCompatPadding="true" tools:visibility="visible"/> @@ -78,6 +80,7 @@ app:srcCompat="@drawable/ic_action_markers_dark" android:visibility="gone" app:backgroundTint="@color/fab_green" + app:tint="?attr/app_bar_primary_item_color" app:fabSize="mini" app:useCompatPadding="true" tools:visibility="visible"/> @@ -123,6 +126,7 @@ app:srcCompat="@drawable/ic_action_polygom_dark" android:visibility="gone" app:backgroundTint="@color/fab_green" + app:tint="?attr/app_bar_primary_item_color" app:fabSize="mini" app:useCompatPadding="true" tools:visibility="visible"/> diff --git a/OsmAnd/res/layout/poi_filter_list_item.xml b/OsmAnd/res/layout/poi_filter_list_item.xml index d143f5ef5d..52e1ac077a 100644 --- a/OsmAnd/res/layout/poi_filter_list_item.xml +++ b/OsmAnd/res/layout/poi_filter_list_item.xml @@ -6,17 +6,17 @@ android:layout_height="wrap_content" xmlns:osmand="http://schemas.android.com/apk/res-auto" android:background="?attr/bg_color" - android:minHeight="48dp" + android:minHeight="@dimen/card_row_min_height" android:clickable="false" android:orientation="vertical"> + android:paddingEnd="@dimen/content_padding"> @@ -107,6 +107,6 @@ android:layout_height="1dp" android:layout_marginLeft="54dp" android:background="?attr/dashboard_divider" - android:layout_marginStart="54dp" /> + android:layout_marginStart="54dp" /> \ No newline at end of file diff --git a/OsmAnd/res/values/sizes.xml b/OsmAnd/res/values/sizes.xml index 463dd511b2..1b0adf805a 100644 --- a/OsmAnd/res/values/sizes.xml +++ b/OsmAnd/res/values/sizes.xml @@ -44,7 +44,7 @@ 2dp 15dp - 15dp + 15dp 14dp 36dp 28dp @@ -396,4 +396,7 @@ 1.4 92dp + + 32dp + 24dp \ No newline at end of file diff --git a/OsmAnd/res/values/styles.xml b/OsmAnd/res/values/styles.xml index eb59f4b1e3..6642003e06 100644 --- a/OsmAnd/res/values/styles.xml +++ b/OsmAnd/res/values/styles.xml @@ -240,6 +240,8 @@ @drawable/radio_button_left_light @drawable/radio_button_right_light @drawable/radio_button_center_light + @style/CheckboxStyle + @style/RadioButtonStyle @@ -313,10 +316,10 @@ @@ -530,6 +533,8 @@ @drawable/radio_button_left_dark @drawable/radio_button_right_dark @drawable/radio_button_center_dark + @style/CheckboxStyle + @style/RadioButtonStyle + + + + diff --git a/OsmAnd/src/net/osmand/plus/osmedit/AdvancedEditPoiFragment.java b/OsmAnd/src/net/osmand/plus/osmedit/AdvancedEditPoiFragment.java index a637c76412..3eabf35f6c 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/AdvancedEditPoiFragment.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/AdvancedEditPoiFragment.java @@ -22,8 +22,6 @@ import android.widget.TextView; import androidx.annotation.NonNull; import androidx.annotation.Nullable; -import com.google.android.material.textfield.MaterialAutoCompleteTextView; - import net.osmand.PlatformUtil; import net.osmand.osm.AbstractPoiType; import net.osmand.osm.MapPoiTypes; @@ -215,7 +213,7 @@ public class AdvancedEditPoiFragment extends BaseOsmAndFragment public void addTagView(String tg, String vl) { View convertView = LayoutInflater.from(linearLayout.getContext()) .inflate(R.layout.poi_tag_list_item, null, false); - final MaterialAutoCompleteTextView tagEditText = convertView.findViewById(R.id.tagEditText); + final AutoCompleteTextView tagEditText = convertView.findViewById(R.id.tagEditText); ImageButton deleteItemImageButton = (ImageButton) convertView.findViewById(R.id.deleteItemImageButton); deleteItemImageButton.setImageDrawable(deleteDrawable); @@ -227,7 +225,7 @@ public class AdvancedEditPoiFragment extends BaseOsmAndFragment editPoiData.removeTag(tagEditText.getText().toString()); } }); - final MaterialAutoCompleteTextView valueEditText = convertView.findViewById(R.id.valueEditText); + final AutoCompleteTextView valueEditText = convertView.findViewById(R.id.valueEditText); valueEditText.setFilters(new InputFilter[]{ new InputFilter.LengthFilter(AMENITY_TEXT_LENGTH) });