summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorMatthew Wong <wongma7@outlook.com>2015-08-25 13:53:28 -0400
committerMatthew Wong <wongma7@outlook.com>2015-08-25 13:53:28 -0400
commit1f612e3d8b9a6fbe399a3373a94e4a3ec9554908 (patch)
tree3d0c8b0e02ad43306d4d2ddded5e24e74c1697fe /app/src/main/res
parentdc732cb573288a136a66fd74c0b8a48718907e52 (diff)
Use support AlertDialog everywhere
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/fragment_pwgen.xml8
-rw-r--r--app/src/main/res/layout/fragment_show_ssh_key.xml9
2 files changed, 9 insertions, 8 deletions
diff --git a/app/src/main/res/layout/fragment_pwgen.xml b/app/src/main/res/layout/fragment_pwgen.xml
index c670b93b..50a253f3 100644
--- a/app/src/main/res/layout/fragment_pwgen.xml
+++ b/app/src/main/res/layout/fragment_pwgen.xml
@@ -8,10 +8,10 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
- android:paddingBottom="@dimen/activity_vertical_margin"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
+ android:paddingLeft="24dp"
+ android:paddingRight="24dp"
+ android:paddingTop="20dp"
+ android:paddingBottom="20dp"
tools:context=".MainActivityFragment">
<TextView
diff --git a/app/src/main/res/layout/fragment_show_ssh_key.xml b/app/src/main/res/layout/fragment_show_ssh_key.xml
index b01a5873..1c72faee 100644
--- a/app/src/main/res/layout/fragment_show_ssh_key.xml
+++ b/app/src/main/res/layout/fragment_show_ssh_key.xml
@@ -7,21 +7,22 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="vertical">
+ android:orientation="vertical"
+ android:paddingBottom="20dp"
+ android:paddingLeft="24dp"
+ android:paddingRight="24dp"
+ android:paddingTop="20dp">
<TextView
android:id="@+id/public_key"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_margin="16dp"
android:textIsSelectable="true"/>
<TextView
android:id="@+id/public_key_tip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="16dp"
- android:layout_marginRight="16dp"
android:text="@string/ssh_keygen_tip"
android:textAppearance="?android:attr/textAppearanceMedium"/>