From ebdedde3e2e4fb8b5acb9d6b8de1e50197b090af Mon Sep 17 00:00:00 2001 From: rila Date: Thu, 17 Jul 2014 10:20:48 +0300 Subject: [PATCH] Checkbox element made passive in MapLayer selection menu to avoid bug with POI setting button displaying --- OsmAnd/res/layout/list_menu_item.xml | 1 + OsmAnd/res/layout/list_menu_item_native.xml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/OsmAnd/res/layout/list_menu_item.xml b/OsmAnd/res/layout/list_menu_item.xml index 59c76e0f15..f2bf19d569 100644 --- a/OsmAnd/res/layout/list_menu_item.xml +++ b/OsmAnd/res/layout/list_menu_item.xml @@ -48,6 +48,7 @@ android:layout_marginRight="2dip" android:button="@drawable/ic_btn_wocheckbox" android:focusable="false" + android:clickable="false" /> diff --git a/OsmAnd/res/layout/list_menu_item_native.xml b/OsmAnd/res/layout/list_menu_item_native.xml index a58386124f..a4676522cf 100644 --- a/OsmAnd/res/layout/list_menu_item_native.xml +++ b/OsmAnd/res/layout/list_menu_item_native.xml @@ -46,7 +46,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="2dip" - android:focusable="false" /> + android:focusable="false" + android:clickable="false"/> \ No newline at end of file