From 36550007f77c2386ba7031b3d046b686678c114e Mon Sep 17 00:00:00 2001 From: 0xRe1nk0 <0xre1nk0@gmail.com> Date: Mon, 24 Jun 2024 02:54:29 +0300 Subject: [PATCH 1/2] Fix #18794 flinging in POI editor screen --- OsmAnd/res/layout/fragment_edit_poi.xml | 204 +++++++++--------- .../dialogs/EditPoiDialogFragment.java | 3 +- 2 files changed, 102 insertions(+), 105 deletions(-) diff --git a/OsmAnd/res/layout/fragment_edit_poi.xml b/OsmAnd/res/layout/fragment_edit_poi.xml index faac2fa8cc0..59d39c738d6 100644 --- a/OsmAnd/res/layout/fragment_edit_poi.xml +++ b/OsmAnd/res/layout/fragment_edit_poi.xml @@ -20,127 +20,124 @@ app:contentInsetLeft="@dimen/divider_color_light_margin_start" app:contentInsetStart="@dimen/divider_color_light_margin_start" app:contentInsetRight="0dp" - app:contentInsetEnd="0dp"/> + app:contentInsetEnd="0dp" /> - - - + android:layout_weight="1"> - - - + android:layout_height="0dp" + android:orientation="vertical"> - + + - - + + - - - - - - - - - + + + + + + + - - + + + + - - - - - - - - + app:endIcon="@drawable/ic_action_arrow_drop_down" + app:labelText="@string/poi_dialog_poi_type" + app:panelBackgroundColor="@color/color_transparent" + app:primaryColor="@color/card_and_list_background_light" + app:secondaryColor="@color/white_50_transparent"> + + + + + + + + + + - - + + + Date: Mon, 24 Jun 2024 02:56:53 +0300 Subject: [PATCH 2/2] Fix formatting --- OsmAnd/res/layout/fragment_edit_poi.xml | 369 ++++++++++++------------ 1 file changed, 184 insertions(+), 185 deletions(-) diff --git a/OsmAnd/res/layout/fragment_edit_poi.xml b/OsmAnd/res/layout/fragment_edit_poi.xml index 59d39c738d6..78d17c12883 100644 --- a/OsmAnd/res/layout/fragment_edit_poi.xml +++ b/OsmAnd/res/layout/fragment_edit_poi.xml @@ -1,186 +1,185 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file