aboutsummaryrefslogtreecommitdiffstats
path: root/main/res
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2013-05-20 23:11:19 +0200
committerSamuel Tardieu <sam@rfc1149.net>2013-05-20 23:11:19 +0200
commit9ba8167a4cd257bf65ea928bbd0f005bb088cab9 (patch)
tree7ef274e5b9cf121c8a041056c3bb764b3cf90a0a /main/res
parent2c5e216ce1c207c97cc9a01a7efac386fe3f8a74 (diff)
parentd5931b80d2a507ffc989484189520ea18e373c17 (diff)
downloadcgeo-9ba8167a4cd257bf65ea928bbd0f005bb088cab9.zip
cgeo-9ba8167a4cd257bf65ea928bbd0f005bb088cab9.tar.gz
cgeo-9ba8167a4cd257bf65ea928bbd0f005bb088cab9.tar.bz2
Merge branch 'fix-2733' into release
Diffstat (limited to 'main/res')
-rw-r--r--main/res/layout/caches_item.xml34
1 files changed, 11 insertions, 23 deletions
diff --git a/main/res/layout/caches_item.xml b/main/res/layout/caches_item.xml
index e3b861c..8ea0221 100644
--- a/main/res/layout/caches_item.xml
+++ b/main/res/layout/caches_item.xml
@@ -75,15 +75,13 @@
<!-- real text based direction and distance -->
<RelativeLayout
- android:id="@+id/direction_layout"
android:layout_width="78dip"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginBottom="1dip"
android:layout_marginRight="30dip"
- android:layout_marginTop="1dip"
- android:visibility="gone" >
+ android:layout_marginTop="1dip" >
<view
android:id="@+id/distance"
@@ -111,31 +109,21 @@
android:gravity="center"
android:minHeight="28px"
android:minWidth="28px"
- cc:skin="?compass" />
- </RelativeLayout>
-
- <!-- image based direction and distance -->
-
- <RelativeLayout
- android:id="@+id/dirimg_layout"
- android:layout_width="78dip"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:layout_marginBottom="1dip"
- android:layout_marginRight="30dip"
- android:layout_marginTop="1dip"
- android:visibility="gone" >
+ cc:skin="?compass"
+ android:visibility="gone" />
<ImageView
android:id="@+id/dirimg"
- android:layout_width="55dip"
- android:layout_height="30dip"
- android:layout_centerInParent="true"
+ android:layout_width="78dip"
+ android:layout_height="28px"
+ android:layout_centerHorizontal="true"
android:layout_gravity="center"
+ android:layout_marginTop="21dip"
android:gravity="center"
- android:scaleType="fitXY"
- android:src="@null" />
+ android:minHeight="28px"
+ android:minWidth="28px"
+ android:src="@null"
+ android:visibility="gone" />
</RelativeLayout>
<!-- inventory and favorites -->