summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-03-14 10:16:02 +0100
committerArne Schwabe <arne@rfc2549.org>2013-03-14 10:16:02 +0100
commit96ccb0151c46c87b29127dde0afe6edbf048bdf3 (patch)
tree3a9cec89ac059978de44a480ce91896994d29bb5 /res/layout
parent9a512ba885419d934a631dcb56bdb11d29dd8705 (diff)
Add padding to a few fragments
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/about.xml38
-rw-r--r--res/layout/faq.xml3
-rw-r--r--res/layout/vpn_profile_list.xml19
3 files changed, 38 insertions, 22 deletions
diff --git a/res/layout/about.xml b/res/layout/about.xml
index e6abed96..09194631 100644
--- a/res/layout/about.xml
+++ b/res/layout/about.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
- android:layout_height="wrap_content" >
+ android:layout_height="wrap_content"
+ android:paddingLeft="@dimen/stdpadding"
+ android:paddingRight="@dimen/stdpadding" >
<LinearLayout
android:layout_width="match_parent"
@@ -11,7 +14,9 @@
<TextView
android:id="@+id/version"
android:layout_width="match_parent"
- android:layout_height="wrap_content" />
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceLarge"
+ tools:ignore="SelectableText" />
<Space
android:layout_width="match_parent"
@@ -40,7 +45,8 @@
<TextView
android:id="@+id/donatestring"
android:layout_width="match_parent"
- android:layout_height="wrap_content" />
+ android:layout_height="wrap_content"
+ tools:ignore="SelectableText" />
<Space
android:layout_width="match_parent"
@@ -50,7 +56,8 @@
android:id="@+id/translation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:autoLink="all" />
+ android:autoLink="all"
+ tools:ignore="SelectableText" />
<Space
android:layout_width="match_parent"
@@ -127,18 +134,21 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/copyright_openssl" />
-
-
+
+ <Space
+ android:layout_width="match_parent"
+ android:layout_height="20sp" />
+
<TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/bouncy_castle"
- android:textAppearance="?android:attr/textAppearanceMedium" />
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/bouncy_castle"
+ android:textAppearance="?android:attr/textAppearanceMedium" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/copyright_bouncycastle" />
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/copyright_bouncycastle" />
</LinearLayout>
</ScrollView> \ No newline at end of file
diff --git a/res/layout/faq.xml b/res/layout/faq.xml
index 11ca7015..354b467c 100644
--- a/res/layout/faq.xml
+++ b/res/layout/faq.xml
@@ -3,7 +3,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:padding="@dimen/stdpadding" >
+ android:paddingLeft="@dimen/stdpadding"
+ android:paddingRight="@dimen/stdpadding" >
<LinearLayout
android:layout_width="match_parent"
diff --git a/res/layout/vpn_profile_list.xml b/res/layout/vpn_profile_list.xml
index f4a24ece..870c0431 100644
--- a/res/layout/vpn_profile_list.xml
+++ b/res/layout/vpn_profile_list.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="vertical" >
+ android:orientation="vertical"
+ android:paddingLeft="@dimen/stdpadding"
+ android:paddingRight="@dimen/stdpadding" >
<ListView
android:id="@android:id/list"
@@ -24,22 +27,24 @@
<Space
android:layout_width="match_parent"
- android:layout_height="10sp" />
+ android:layout_height="12sp" />
<TextView
android:id="@+id/add_new_vpn_hint"
android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
+ android:layout_height="wrap_content"
+ tools:ignore="SelectableText" />
<TextView
android:id="@+id/import_vpn_hint"
android:layout_width="fill_parent"
- android:layout_height="wrap_content" />
+ android:layout_height="wrap_content"
+ tools:ignore="SelectableText" />
-<Space
+ <Space
android:layout_width="match_parent"
- android:layout_height="10sp" />
-
+ android:layout_height="12sp" />
+
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"