diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2020-08-27 21:53:12 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2020-09-01 09:53:48 +0000 |
| commit | f3e2b99309f00eccaf1cd91ce6dd476e75b5c8eb (patch) | |
| tree | e626b6ab00947d165ceb47942c67ea91dee836fc /android/src | |
| parent | d494266992f97fb8c69eadbbdb96ed07db659712 (diff) | |
| download | mullvadvpn-f3e2b99309f00eccaf1cd91ce6dd476e75b5c8eb.tar.xz mullvadvpn-f3e2b99309f00eccaf1cd91ce6dd476e75b5c8eb.zip | |
Create corner images for focused and error states
Diffstat (limited to 'android/src')
| -rw-r--r-- | android/src/main/res/drawable/account_input_corner_error.xml | 11 | ||||
| -rw-r--r-- | android/src/main/res/drawable/account_input_corner_focused.xml | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/android/src/main/res/drawable/account_input_corner_error.xml b/android/src/main/res/drawable/account_input_corner_error.xml new file mode 100644 index 0000000000..c3acb16404 --- /dev/null +++ b/android/src/main/res/drawable/account_input_corner_error.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="@dimen/account_input_corner_radius" + android:height="@dimen/account_input_corner_radius" + android:viewportWidth="4.0" + android:viewportHeight="4.0"> + <path android:fillColor="@color/blue" + android:pathData="M 0 4 H 1 A 3 3 0 0 1 4 1 V 0 H 0 Z" /> + <path android:fillColor="@color/red" + android:pathData="M 0 4 A 4 4 0 0 1 4 0 V 2 A 2 2 0 0 0 2 4 Z" /> +</vector> diff --git a/android/src/main/res/drawable/account_input_corner_focused.xml b/android/src/main/res/drawable/account_input_corner_focused.xml new file mode 100644 index 0000000000..1370463d49 --- /dev/null +++ b/android/src/main/res/drawable/account_input_corner_focused.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="@dimen/account_input_corner_radius" + android:height="@dimen/account_input_corner_radius" + android:viewportWidth="4.0" + android:viewportHeight="4.0"> + <path android:fillColor="@color/blue" + android:pathData="M 0 4 H 1 A 3 3 0 0 1 4 1 V 0 H 0 Z" /> + <path android:fillColor="@color/darkBlue" + android:pathData="M 0 4 A 4 4 0 0 1 4 0 V 2 A 2 2 0 0 0 2 4 Z" /> +</vector> |
