diff --git a/OsmAnd/res/layout/fragment_selected_profile.xml b/OsmAnd/res/layout/fragment_selected_profile.xml
index 69ce36e85d..1858e45e97 100644
--- a/OsmAnd/res/layout/fragment_selected_profile.xml
+++ b/OsmAnd/res/layout/fragment_selected_profile.xml
@@ -155,33 +155,6 @@
-
-
-
-
-
-
-
@@ -238,6 +211,102 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ android:background="?attr/list_divider" />
diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml
index 05d10677eb..a90813c916 100644
--- a/OsmAnd/res/values/strings.xml
+++ b/OsmAnd/res/values/strings.xml
@@ -11,6 +11,7 @@
Thx - Hardy
-->
+ Icon
Please give us 30 seconds, share feedback and rate our work on Google Play.
Rate
diff --git a/OsmAnd/src/net/osmand/plus/profiles/EditProfileFragment.java b/OsmAnd/src/net/osmand/plus/profiles/EditProfileFragment.java
index 2176de15d7..86b6db076b 100644
--- a/OsmAnd/src/net/osmand/plus/profiles/EditProfileFragment.java
+++ b/OsmAnd/src/net/osmand/plus/profiles/EditProfileFragment.java
@@ -88,6 +88,8 @@ public class EditProfileFragment extends BaseOsmAndFragment {
private ImageView profileIcon;
private LinearLayout profileIconBtn;
+ private ImageView colorSample;
+ private LinearLayout selectColorBtn;
private ExtendedEditText profileNameEt;
private OsmandTextFieldBoxes profileNameTextBox;
private ExtendedEditText navTypeEt;
@@ -130,8 +132,10 @@ public class EditProfileFragment extends BaseOsmAndFragment {
final View view = inflater.inflate(R.layout.fragment_selected_profile, container, false);
- profileIcon = view.findViewById(R.id.select_icon_btn_img);
- profileIconBtn = view.findViewById(R.id.profile_icon_layout);
+ profileIcon = view.findViewById(R.id.profile_icon_img);
+ profileIconBtn = view.findViewById(R.id.select_icon_button);
+ colorSample = view.findViewById(R.id.color_sample_img);
+ selectColorBtn = view.findViewById(R.id.select_icon_color_button);
profileNameEt = view.findViewById(R.id.profile_name_et);
profileNameTextBox = view.findViewById(R.id.profile_name_otfb);
navTypeEt = view.findViewById(R.id.navigation_type_et);
@@ -154,13 +158,13 @@ public class EditProfileFragment extends BaseOsmAndFragment {
profileNameEt.setFocusable(true);
profileNameEt.setSelectAllOnFocus(true);
- profileIconBtn.setBackgroundResource(R.drawable.rounded_background_3dp);
- GradientDrawable selectIconBtnBackground = (GradientDrawable) profileIconBtn.getBackground();
- if (nightMode) {
- selectIconBtnBackground.setColor(ContextCompat.getColor(app, R.color.text_field_box_dark));
- } else {
- selectIconBtnBackground.setColor(ContextCompat.getColor(app, R.color.text_field_box_light));
- }
+// profileIconBtn.setBackgroundResource(R.drawable.rounded_background_3dp);
+// GradientDrawable selectIconBtnBackground = (GradientDrawable) profileIconBtn.getBackground();
+// if (nightMode) {
+// selectIconBtnBackground.setColor(ContextCompat.getColor(app, R.color.text_field_box_dark));
+// } else {
+// selectIconBtnBackground.setColor(ContextCompat.getColor(app, R.color.text_field_box_light));
+// }
String title = "New Profile";