diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-11 19:06:29 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-17 10:14:37 +0000 |
| commit | 453665c7f4f9e282a4cb3e330847a06ee98fd046 (patch) | |
| tree | c1a9fbfec6c9c262d3625cd1ac2e81101ec12a8b /android/src/main/res/layout | |
| parent | 69507e9d8dcbe2f2d35db183d11843de75271fba (diff) | |
| download | mullvadvpn-453665c7f4f9e282a4cb3e330847a06ee98fd046.tar.xz mullvadvpn-453665c7f4f9e282a4cb3e330847a06ee98fd046.zip | |
Show account number in Account screen
Diffstat (limited to 'android/src/main/res/layout')
| -rw-r--r-- | android/src/main/res/layout/account.xml | 50 |
1 files changed, 41 insertions, 9 deletions
diff --git a/android/src/main/res/layout/account.xml b/android/src/main/res/layout/account.xml index 89b2e38f60..fdec4af95d 100644 --- a/android/src/main/res/layout/account.xml +++ b/android/src/main/res/layout/account.xml @@ -31,15 +31,47 @@ android:text="@string/settings" /> </LinearLayout> - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_marginHorizontal="24dp" android:layout_marginTop="4dp" - android:layout_marginLeft="24dp" android:layout_marginBottom="24dp" - android:textColor="@color/white" - android:textSize="32sp" - android:textStyle="bold" - android:text="@string/settings_account" - /> + android:orientation="vertical" + > + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginBottom="24dp" + android:textColor="@color/white" + android:textSize="32sp" + android:textStyle="bold" + android:text="@string/settings_account" + /> + <LinearLayout android:id="@+id/account_number_container" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="24dp" + android:orientation="vertical" + android:visibility="invisible" + > + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginBottom="9dp" + android:textColor="@color/white60" + android:textSize="13sp" + android:textStyle="bold" + android:text="@string/account_number" + /> + <TextView android:id="@+id/account_number_display" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="@color/white" + android:textSize="16sp" + android:textStyle="bold" + android:text="" + /> + </LinearLayout> + </LinearLayout> </LinearLayout> |
