summaryrefslogtreecommitdiffhomepage
path: root/android/src
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-08-25 14:35:42 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2019-08-27 12:44:41 +0000
commit989dc7fcb632f233e947bea2c0596ed6187af283 (patch)
tree5df5aec0d58b4f788598337d3f7b64c035e6891e /android/src
parentb30aa9f5097f11bb8a098d228dcd337b4dc2c423 (diff)
downloadmullvadvpn-989dc7fcb632f233e947bea2c0596ed6187af283.tar.xz
mullvadvpn-989dc7fcb632f233e947bea2c0596ed6187af283.zip
Add "Create account" button
Diffstat (limited to 'android/src')
-rw-r--r--android/src/main/res/layout/login.xml28
-rw-r--r--android/src/main/res/values/strings.xml2
2 files changed, 30 insertions, 0 deletions
diff --git a/android/src/main/res/layout/login.xml b/android/src/main/res/layout/login.xml
index 336a20610d..ea9b8da524 100644
--- a/android/src/main/res/layout/login.xml
+++ b/android/src/main/res/layout/login.xml
@@ -132,4 +132,32 @@
android:layout_weight="3"
/>
</LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:orientation="vertical"
+ android:paddingHorizontal="24dp"
+ android:paddingBottom="24dp"
+ android:paddingTop="16dp"
+ android:background="@color/darkBlue"
+ >
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="8dp"
+ android:gravity="start"
+ android:textColor="@color/white80"
+ android:textSize="13sp"
+ android:text="@string/dont_have_an_account"
+ />
+ <Button android:id="@+id/create_account"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="9dp"
+ android:drawableRight="@drawable/icon_extlink"
+ android:text="@string/create_account"
+ style="@style/BlueButton"
+ />
+ </LinearLayout>
</LinearLayout>
diff --git a/android/src/main/res/values/strings.xml b/android/src/main/res/values/strings.xml
index 02f4315083..584771b199 100644
--- a/android/src/main/res/values/strings.xml
+++ b/android/src/main/res/values/strings.xml
@@ -11,6 +11,8 @@
<string name="logged_in_title">Login successful</string>
<string name="login_fail_title">Login failed</string>
<string name="login_fail_description">Invalid account number, try again</string>
+ <string name="dont_have_an_account">Don\'t have an account number?</string>
+ <string name="create_account">Create account</string>
<string name="settings">Settings</string>
<string name="settings_account">Account</string>