diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2013-05-18 20:08:58 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2013-05-18 21:02:15 +0200 |
| commit | 45c57ba2264bfc09d552cd2cc0e905f921fa76b0 (patch) | |
| tree | 808710754731f3a078b1f35417dac1f616dacbeb /main/res | |
| parent | 37c0049a5525e49d45ff69c671da900a8389816a (diff) | |
| download | cgeo-45c57ba2264bfc09d552cd2cc0e905f921fa76b0.zip cgeo-45c57ba2264bfc09d552cd2cc0e905f921fa76b0.tar.gz cgeo-45c57ba2264bfc09d552cd2cc0e905f921fa76b0.tar.bz2 | |
fix #2733: acquire distance and direction for basic members
A recent change in geocaching.com way of presenting the distance and
direction information for basic members requires a new parsing.
Diffstat (limited to 'main/res')
| -rw-r--r-- | main/res/layout/caches_item.xml | 34 |
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 --> |
