From 3e65d1f37151fbe1ea870d6fd8059f6b822ab062 Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Mon, 26 May 2014 06:39:57 +0200 Subject: have the right list items and fragments in layout preview --- main/res/layout/addresslist_activity.xml | 4 +++- main/res/layout/logs_page.xml | 4 +++- main/res/layout/main_activity.xml | 4 +++- main/res/layout/simple_dir_chooser.xml | 4 +++- main/res/layout/text_preference.xml | 15 +++++++++------ main/res/layout/usefulapps_activity.xml | 4 +++- main/res/layout/wp_threshold_preference.xml | 16 +++++++++------- 7 files changed, 33 insertions(+), 18 deletions(-) (limited to 'main') diff --git a/main/res/layout/addresslist_activity.xml b/main/res/layout/addresslist_activity.xml index 3410137..6bcbf79 100644 --- a/main/res/layout/addresslist_activity.xml +++ b/main/res/layout/addresslist_activity.xml @@ -1,5 +1,6 @@ @@ -12,6 +13,7 @@ android:background="?background_color" android:cacheColorHint="?background_color" android:dividerHeight="1dip" - android:padding="0dip" /> + android:padding="0dip" + tools:listitem="@layout/addresslist_item" /> \ No newline at end of file diff --git a/main/res/layout/logs_page.xml b/main/res/layout/logs_page.xml index 9aafd83..f0a5d31 100644 --- a/main/res/layout/logs_page.xml +++ b/main/res/layout/logs_page.xml @@ -1,5 +1,6 @@ + android:listSelector="?background_color" + tools:listitem="@layout/logs_item" > \ No newline at end of file diff --git a/main/res/layout/main_activity.xml b/main/res/layout/main_activity.xml index 29a445f..d2bd025 100644 --- a/main/res/layout/main_activity.xml +++ b/main/res/layout/main_activity.xml @@ -1,5 +1,6 @@ + android:layout_marginTop="60dip" + tools:layout="@layout/status" /> + android:layout_below="@+id/headerLayout" + tools:listitem="@layout/simple_dir_item" /> \ No newline at end of file diff --git a/main/res/layout/text_preference.xml b/main/res/layout/text_preference.xml index 818b2f3..174a6d1 100644 --- a/main/res/layout/text_preference.xml +++ b/main/res/layout/text_preference.xml @@ -1,22 +1,25 @@ + tools:context=".settings.SettingsActivity" > - - + android:textAppearance="?android:attr/textAppearanceSmall" + android:visibility="gone" /> - + \ No newline at end of file diff --git a/main/res/layout/usefulapps_activity.xml b/main/res/layout/usefulapps_activity.xml index fa2112e..e15cd7a 100644 --- a/main/res/layout/usefulapps_activity.xml +++ b/main/res/layout/usefulapps_activity.xml @@ -1,5 +1,6 @@ + android:padding="4dip" + tools:listitem="@layout/usefulapps_item" > \ No newline at end of file diff --git a/main/res/layout/wp_threshold_preference.xml b/main/res/layout/wp_threshold_preference.xml index 22ffe9a..f3cbc86 100644 --- a/main/res/layout/wp_threshold_preference.xml +++ b/main/res/layout/wp_threshold_preference.xml @@ -1,26 +1,28 @@ - + android:paddingTop="8dp" + tools:context=".settings.SettingsActivity" > + + android:layout_weight="1" + android:paddingRight="8dp" /> + android:layout_weight="5" + android:gravity="center" /> - + \ No newline at end of file -- cgit v1.1