aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsudev <rasch@munin-soft.de>2013-02-13 22:18:17 -0800
committerrsudev <rasch@munin-soft.de>2013-02-13 22:18:17 -0800
commitdaadd2fee87366d475f0936b838c72bf0f9be2b0 (patch)
tree7c66d28227351b2e9bb752d8c3779804e674d9e3
parentc0d1eeeeb3721c49f989cb256cad0a196ad0ed1d (diff)
parentf2974d80b0799d47998c8084c5f363e00de88197 (diff)
downloadcgeo-daadd2fee87366d475f0936b838c72bf0f9be2b0.zip
cgeo-daadd2fee87366d475f0936b838c72bf0f9be2b0.tar.gz
cgeo-daadd2fee87366d475f0936b838c72bf0f9be2b0.tar.bz2
Merge pull request #2480 from koem/movelistbox
Detail View: moved list box under offline box
-rw-r--r--main/res/layout/cacheview_details.xml75
1 files changed, 34 insertions, 41 deletions
diff --git a/main/res/layout/cacheview_details.xml b/main/res/layout/cacheview_details.xml
index be9219b..8bb5ad5 100644
--- a/main/res/layout/cacheview_details.xml
+++ b/main/res/layout/cacheview_details.xml
@@ -67,6 +67,7 @@
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_gravity="left"
+ android:layout_centerVertical="true"
android:layout_marginLeft="6dip"
android:layout_marginRight="130dip"
android:paddingRight="3dip"
@@ -91,6 +92,37 @@
</RelativeLayout>
</LinearLayout>
+ <!-- list box -->
+
+ <RelativeLayout
+ android:id="@+id/list_box"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:visibility="gone" >
+
+ <TextView
+ android:id="@+id/list_text"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_gravity="left"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="6dip"
+ android:layout_marginRight="130dip"
+ android:paddingRight="3dip"
+ android:textColor="?text_color"
+ android:textSize="14dip" />
+
+ <Button
+ android:id="@+id/change_list"
+ style="@style/button_small"
+ android:layout_alignParentRight="true"
+ android:text="@string/cache_list_change"
+ android:visibility="visible" />
+
+ </RelativeLayout>
+
<!-- Watchlist box -->
<LinearLayout
@@ -114,6 +146,7 @@
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_gravity="left"
+ android:layout_centerVertical="true"
android:layout_marginLeft="6dip"
android:layout_marginRight="130dip"
android:paddingRight="3dip"
@@ -159,6 +192,7 @@
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_gravity="left"
+ android:layout_centerVertical="true"
android:layout_marginLeft="6dip"
android:layout_marginRight="130dip"
android:paddingRight="3dip"
@@ -180,47 +214,6 @@
android:visibility="gone" />
</RelativeLayout>
</LinearLayout>
-
- <!-- list box -->
-
- <LinearLayout
- android:id="@+id/list_box"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:visibility="gone" >
-
- <View
- style="@style/separator_horizontal"
- android:layout_marginBottom="9dp"
- android:layout_marginTop="9dp" />
-
- <RelativeLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content" >
-
- <TextView
- android:id="@+id/list_text"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_gravity="left"
- android:layout_centerVertical="true"
- android:layout_marginLeft="6dip"
- android:layout_marginRight="130dip"
- android:paddingRight="3dip"
- android:textColor="?text_color"
- android:textSize="14dip" />
-
- <Button
- android:id="@+id/change_list"
- style="@style/button_small"
- android:layout_alignParentRight="true"
- android:text="@string/cache_list_change"
- android:visibility="visible" />
-
- </RelativeLayout>
- </LinearLayout>
<!-- License Box -->