Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Zatsepin <az@mapswithme.com>2018-04-26 12:45:24 +0300
committerRoman Kuznetsov <r.kuznetsow@gmail.com>2018-04-26 14:43:08 +0300
commit6363d9371739ac53db4ff3016152cfe41e7ef9e1 (patch)
tree3058d7afc07781f178340f56d76e495b17cd5eaa /android/res
parent4dfca76c1ca5fcb6f71a09000c61e03a9da2c6b7 (diff)
[android] Added clickable background to bookmark list items
Diffstat (limited to 'android/res')
-rw-r--r--android/res/layout/item_bookmark.xml11
-rw-r--r--android/res/layout/item_track.xml11
2 files changed, 14 insertions, 8 deletions
diff --git a/android/res/layout/item_bookmark.xml b/android/res/layout/item_bookmark.xml
index a82c5ff6bb..80fe159d67 100644
--- a/android/res/layout/item_bookmark.xml
+++ b/android/res/layout/item_bookmark.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="@dimen/height_item_oneline">
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:minHeight="@dimen/height_item_oneline"
+ android:background="?clickableBackground">
<ImageView
android:id="@+id/iv__bookmark_color"
@@ -31,4 +34,4 @@
android:layout_marginRight="@dimen/margin_base"
android:textAppearance="@style/MwmTextAppearance.Body3"/>
-</RelativeLayout> \ No newline at end of file
+</RelativeLayout>
diff --git a/android/res/layout/item_track.xml b/android/res/layout/item_track.xml
index c86491d663..52cbba99b7 100644
--- a/android/res/layout/item_track.xml
+++ b/android/res/layout/item_track.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="@dimen/height_item_oneline">
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:minHeight="@dimen/height_item_oneline"
+ android:background="?clickableBackground">
<ImageView
android:id="@+id/iv__bookmark_color"
@@ -31,4 +34,4 @@
android:layout_marginRight="@dimen/margin_base"
android:textAppearance="@style/MwmTextAppearance.Body2"/>
-</RelativeLayout> \ No newline at end of file
+</RelativeLayout>