aboutsummaryrefslogtreecommitdiffstats
path: root/main/res/layout
diff options
context:
space:
mode:
authorBananeweizen <bananeweizen@gmx.de>2013-05-09 17:47:50 +0200
committerBananeweizen <bananeweizen@gmx.de>2013-05-09 17:47:50 +0200
commit0e50b86d2dff50766d2e0414122f971d814592c5 (patch)
tree4d60b9bfb9ab04649e49316a95d796984945d464 /main/res/layout
parent946c9d95f898893b4c36a427156e72853e2977a9 (diff)
downloadcgeo-0e50b86d2dff50766d2e0414122f971d814592c5.zip
cgeo-0e50b86d2dff50766d2e0414122f971d814592c5.tar.gz
cgeo-0e50b86d2dff50766d2e0414122f971d814592c5.tar.bz2
refactoring: clean up useful apps activity
Diffstat (limited to 'main/res/layout')
-rw-r--r--main/res/layout/useful_apps.xml24
-rw-r--r--main/res/layout/useful_apps_activity.xml23
-rw-r--r--main/res/layout/useful_apps_item.xml3
3 files changed, 25 insertions, 25 deletions
diff --git a/main/res/layout/useful_apps.xml b/main/res/layout/useful_apps.xml
deleted file mode 100644
index 8fd73bf..0000000
--- a/main/res/layout/useful_apps.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?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:background="?background_color"
- android:orientation="vertical" >
-
- <include layout="@layout/actionbar"/>
-
- <ScrollView
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="vertical"
- android:padding="4dip" >
-
- <LinearLayout
- android:id="@+id/parent"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- </LinearLayout>
- </ScrollView>
-
-</LinearLayout> \ No newline at end of file
diff --git a/main/res/layout/useful_apps_activity.xml b/main/res/layout/useful_apps_activity.xml
new file mode 100644
index 0000000..84bcf39
--- /dev/null
+++ b/main/res/layout/useful_apps_activity.xml
@@ -0,0 +1,23 @@
+<?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:background="?background_color"
+ android:orientation="vertical" >
+
+ <include layout="@layout/actionbar" />
+
+ <ListView
+ android:id="@+id/apps_list"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:cacheColorHint="?background_color"
+ android:divider="?background_color"
+ android:fastScrollEnabled="true"
+ android:footerDividersEnabled="false"
+ android:headerDividersEnabled="false"
+ android:listSelector="?background_color"
+ android:padding="4dip" >
+ </ListView>
+
+</LinearLayout> \ No newline at end of file
diff --git a/main/res/layout/useful_apps_item.xml b/main/res/layout/useful_apps_item.xml
index 5c8f6f0..70e7baf 100644
--- a/main/res/layout/useful_apps_item.xml
+++ b/main/res/layout/useful_apps_item.xml
@@ -4,6 +4,7 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginBottom="10dip"
+ android:descendantFocusability="blocksDescendants"
android:orientation="vertical" >
<RelativeLayout style="@style/separator_horizontal_layout" >
@@ -43,7 +44,7 @@
android:textColor="?text_color"
android:textColorLink="?text_color_link"
android:textIsSelectable="false"
- android:textSize="14dip" />
+ android:textSize="14sp" />
</LinearLayout>
</LinearLayout> \ No newline at end of file