diff options
| -rw-r--r-- | res/layout/faq.xml | 7 | ||||
| -rw-r--r-- | res/layout/tlsremote.xml | 1 | ||||
| -rw-r--r-- | res/values-sw600dp/styles.xml | 6 | ||||
| -rw-r--r-- | res/values/styles.xml | 11 | 
4 files changed, 16 insertions, 9 deletions
diff --git a/res/layout/faq.xml b/res/layout/faq.xml index 959e82a5..d9ce1cea 100644 --- a/res/layout/faq.xml +++ b/res/layout/faq.xml @@ -1,7 +1,8 @@  <?xml version="1.0" encoding="utf-8"?>  <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"      android:layout_width="match_parent" -    android:layout_height="match_parent" > +    android:layout_height="match_parent" +    android:padding="@dimen/stdpadding" >      <LinearLayout          android:layout_width="match_parent" @@ -53,8 +54,8 @@              android:text="@string/vpn_tethering_title" />          <TextView -            style="@style/faqitem" -            android:id="@+id/faq_tethering" /> +            android:id="@+id/faq_tethering" +            style="@style/faqitem" />          <TextView              style="@style/faqhead" diff --git a/res/layout/tlsremote.xml b/res/layout/tlsremote.xml index e93b9364..a7bec953 100644 --- a/res/layout/tlsremote.xml +++ b/res/layout/tlsremote.xml @@ -1,6 +1,7 @@  <?xml version="1.0" encoding="utf-8"?>  <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"      android:layout_width="match_parent" +    android:padding="@dimen/stdpadding"      android:layout_height="match_parent" >      <LinearLayout diff --git a/res/values-sw600dp/styles.xml b/res/values-sw600dp/styles.xml new file mode 100644 index 00000000..de0bb55d --- /dev/null +++ b/res/values-sw600dp/styles.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + +    <dimen name="stdpadding">16dp</dimen> + +</resources>
\ No newline at end of file diff --git a/res/values/styles.xml b/res/values/styles.xml index d549b596..19dda801 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -24,14 +24,13 @@          <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>          <item name="android:singleLine">true</item>      </style> -     +      <style name="faqitem">          <item name="android:layout_width">match_parent</item>          <item name="android:layout_height">wrap_content</item>          <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>      </style> -    -     +      <style name="faqhead">          <item name="android:paddingTop">10sp</item>          <item name="android:layout_width">match_parent</item> @@ -47,8 +46,8 @@          <item name="android:textAppearance">?android:attr/textAppearanceSmall</item>      </style> -     <style name="Theme.CreateShortCut" parent="android:Theme.Holo.DialogWhenLarge"> -    </style> +    <style name="Theme.CreateShortCut" parent="android:Theme.Holo.DialogWhenLarge"></style> + +    <dimen name="stdpadding">8dp</dimen> -      </resources>
\ No newline at end of file  | 
