aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2012-10-27 12:59:25 +0200
committerBananeweizen <bananeweizen@gmx.de>2012-10-27 12:59:25 +0200
commit07ab05023fe08b002238d6ed1492b2137d098fc0 (patch)
tree5f4d123d5f981ac6a12a65e41531e337d2af6b5b /main/res/layout
parenteb77c0668c5187c6c00479269fa09524b2dbb6c6 (diff)
downloadcgeo-07ab05023fe08b002238d6ed1492b2137d098fc0.zip
cgeo-07ab05023fe08b002238d6ed1492b2137d098fc0.tar.gz
cgeo-07ab05023fe08b002238d6ed1492b2137d098fc0.tar.bz2
fix #559: images view inside cache details
Diffstat (limited to 'main/res/layout')
-rw-r--r--main/res/layout/caches_images.xml15
-rw-r--r--main/res/layout/spoilers.xml39
2 files changed, 33 insertions, 21 deletions
diff --git a/main/res/layout/caches_images.xml b/main/res/layout/caches_images.xml
new file mode 100644
index 0000000..2360dd0
--- /dev/null
+++ b/main/res/layout/caches_images.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:orientation="vertical"
+ android:padding="4dip" >
+
+ <LinearLayout
+ android:id="@+id/spoiler_list"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" >
+ </LinearLayout>
+
+</ScrollView> \ No newline at end of file
diff --git a/main/res/layout/spoilers.xml b/main/res/layout/spoilers.xml
index ef6bb39..233972a 100644
--- a/main/res/layout/spoilers.xml
+++ b/main/res/layout/spoilers.xml
@@ -1,24 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="vertical"
- android:background="?background_color" >
- <LinearLayout style="@style/action_bar">
- <ImageView style="@style/action_bar_action"
- android:onClick="goHome" />
- <View style="@style/action_bar_separator" />
- <TextView style="@style/action_bar_title" />
- </LinearLayout>
- <ScrollView
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:padding="4dip"
- android:orientation="vertical" >
- <LinearLayout android:id="@+id/spoiler_list"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- </LinearLayout>
- </ScrollView>
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:background="?background_color"
+ android:orientation="vertical" >
+
+ <LinearLayout style="@style/action_bar" >
+
+ <ImageView
+ style="@style/action_bar_action"
+ android:onClick="goHome" />
+
+ <View style="@style/action_bar_separator" />
+
+ <TextView style="@style/action_bar_title" />
+ </LinearLayout>
+
+ <include layout="@layout/caches_images" />
+
</LinearLayout> \ No newline at end of file