diff options
| author | Emīls <pinkisemils@mullvad.net> | 2020-02-10 16:05:38 +0000 |
|---|---|---|
| committer | Emīls <pinkisemils@mullvad.net> | 2020-02-11 17:01:04 +0000 |
| commit | 5c77625d1606312edec12a57a4a1966d33d5ae61 (patch) | |
| tree | 0fdfe926ab497fc108d4456b21415d24e360e8fe /android/src/main | |
| parent | dc9f4c0c3178d61ef46d2ba784d1cefdd09626ed (diff) | |
| download | mullvadvpn-5c77625d1606312edec12a57a4a1966d33d5ae61.tar.xz mullvadvpn-5c77625d1606312edec12a57a4a1966d33d5ae61.zip | |
Add layouts and drawables for account history
Diffstat (limited to 'android/src/main')
3 files changed, 34 insertions, 0 deletions
diff --git a/android/src/main/res/drawable/account_history_background.xml b/android/src/main/res/drawable/account_history_background.xml new file mode 100644 index 0000000000..b71d15464f --- /dev/null +++ b/android/src/main/res/drawable/account_history_background.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape xmlns:android="http://schemas.android.com/apk/res/android"> + <corners android:radius="@dimen/account_input_corner_radius" /> + <solid android:color="@color/darkBlue" /> + </shape> + </item> + <item android:top="0dp" android:right="1dp" android:bottom="1dp" + android:left="1dp"> + <shape xmlns:android="http://schemas.android.com/apk/res/android"> + <corners android:radius="@dimen/account_input_corner_radius" /> + <solid android:color="@color/white" /> + </shape> + </item> +</layer-list> diff --git a/android/src/main/res/drawable/account_history_list_divider.xml b/android/src/main/res/drawable/account_history_list_divider.xml new file mode 100644 index 0000000000..d3b31cc0c3 --- /dev/null +++ b/android/src/main/res/drawable/account_history_list_divider.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> +<solid android:color="@color/darkBlue" /> +</shape> diff --git a/android/src/main/res/layout/account_history_entry.xml b/android/src/main/res/layout/account_history_entry.xml new file mode 100644 index 0000000000..f1d0b67bde --- /dev/null +++ b/android/src/main/res/layout/account_history_entry.xml @@ -0,0 +1,13 @@ +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <TextView android:id="@+id/account_history_entry_text_view" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textColor="@color/blue" + android:padding="10dip" + android:textSize="16dip" + android:textStyle="bold"/> +</LinearLayout> |
