diff --git a/android/app/src/main/java/app/organicmaps/editor/EditorFragment.java b/android/app/src/main/java/app/organicmaps/editor/EditorFragment.java index a329aa05a..811f0bd55 100644 --- a/android/app/src/main/java/app/organicmaps/editor/EditorFragment.java +++ b/android/app/src/main/java/app/organicmaps/editor/EditorFragment.java @@ -355,8 +355,7 @@ public class EditorFragment extends BaseMwmFragment implements View.OnClickListe { hasChargeSockets = hasChargeSockets || (type == Metadata.MetadataType.FMD_CHARGE_SOCKETS.toInt()); } - // Hide socket until https://codeberg.org/comaps/comaps/issues/2368 is fixed - //UiUtils.showIf(hasChargeSockets, mCardChargingStation); + UiUtils.showIf(hasChargeSockets, mCardChargingStation); setCardVisibility(mCardDetails, mDetailsBlocks, editableDetails); setCardVisibility(mCardSocialMedia, mSocialMediaBlocks, editableDetails); diff --git a/android/app/src/main/res/layout-land/dialog_edit_socket.xml b/android/app/src/main/res/layout-land/dialog_edit_socket.xml index 30dcb1bd1..f4b3a69ab 100644 --- a/android/app/src/main/res/layout-land/dialog_edit_socket.xml +++ b/android/app/src/main/res/layout-land/dialog_edit_socket.xml @@ -37,15 +37,18 @@ android:id="@+id/edit_socket_power_layout" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginBottom="8dp"> + android:layout_marginBottom="8dp" + style="@style/Widget.Material3.TextInputLayout.OutlinedBox" + android:hint="@string/charge_socket_power"> @@ -53,15 +56,18 @@ + android:layout_height="wrap_content" + style="@style/Widget.Material3.TextInputLayout.OutlinedBox" + android:hint="@string/charge_socket_count"> diff --git a/android/app/src/main/res/layout/button_socket_type.xml b/android/app/src/main/res/layout/button_socket_type.xml index 3aee3018e..3612b6126 100644 --- a/android/app/src/main/res/layout/button_socket_type.xml +++ b/android/app/src/main/res/layout/button_socket_type.xml @@ -2,7 +2,7 @@ \ No newline at end of file diff --git a/android/app/src/main/res/layout/dialog_edit_socket.xml b/android/app/src/main/res/layout/dialog_edit_socket.xml index 831f2c0bf..77d51d420 100644 --- a/android/app/src/main/res/layout/dialog_edit_socket.xml +++ b/android/app/src/main/res/layout/dialog_edit_socket.xml @@ -24,17 +24,20 @@ android:layout_width="0dp" android:paddingStart="4dp" android:paddingEnd="4dp" + style="@style/Widget.Material3.TextInputLayout.OutlinedBox" android:layout_weight="1" + android:hint="@string/charge_socket_power" android:layout_height="wrap_content"> @@ -45,16 +48,19 @@ android:paddingStart="4dp" android:paddingEnd="4dp" android:layout_weight="1" + style="@style/Widget.Material3.TextInputLayout.OutlinedBox" + android:hint="@string/charge_socket_count" android:layout_height="wrap_content"> diff --git a/android/app/src/main/res/layout/fragment_editor.xml b/android/app/src/main/res/layout/fragment_editor.xml index 0981aaa2c..2e6f344e7 100644 --- a/android/app/src/main/res/layout/fragment_editor.xml +++ b/android/app/src/main/res/layout/fragment_editor.xml @@ -64,8 +64,7 @@ + style="@style/MwmWidget.M3.Editor.CardView">