diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-03-11 11:42:46 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-03-13 12:38:09 +0000 |
| commit | 5be21e968432793eac85169e6bd23ef446f2af62 (patch) | |
| tree | afb8088a94c8d9ff276ab843569775b4507a76f6 /android/src/main/res/drawable | |
| parent | 50d3d18d4710949179e19372bdcd7cbe93fbb260 (diff) | |
| download | mullvadvpn-5be21e968432793eac85169e6bd23ef446f2af62.tar.xz mullvadvpn-5be21e968432793eac85169e6bd23ef446f2af62.zip | |
Implement Login screen
Diffstat (limited to 'android/src/main/res/drawable')
5 files changed, 58 insertions, 0 deletions
diff --git a/android/src/main/res/drawable/icon_arrow_blue20.xml b/android/src/main/res/drawable/icon_arrow_blue20.xml new file mode 100644 index 0000000000..d6a4616deb --- /dev/null +++ b/android/src/main/res/drawable/icon_arrow_blue20.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<vector + xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="16dp" + android:viewportWidth="24.0" + android:viewportHeight="16.0" + > + <group> + <path android:fillColor="#33294D73" + android:pathData="M18.7015867,9 L14.4331381,12.762659 C13.851665,13.2752305 13.8579999,14.1003943 14.4392669,14.612784 C15.0245863,15.1287461 15.9602099,15.1275926 16.5380921,14.6181865 L23.5668627,8.42228969 C23.8565791,8.16690324 24.000373,7.83391619 23.999837,7.50067932 L24,7.4966702 C23.999589,7.16348359 23.8547954,6.83138119 23.5668627,6.57756713 L16.5380921,0.381670278 C15.956619,-0.130901228 15.0205338,-0.125317014 14.4392669,0.387072772 C13.8539474,0.903034846 13.8552559,1.72779176 14.4331381,2.23719784 L18.7017491,6 L1.50909424,6 C0.66354084,6 0,6.67157288 0,7.5 C0,8.33420277 0.675644504,9 1.50909424,9 L18.7015867,9 Z" + /> + </group> +</vector> diff --git a/android/src/main/res/drawable/icon_arrow_white.xml b/android/src/main/res/drawable/icon_arrow_white.xml new file mode 100644 index 0000000000..b8497d5fe6 --- /dev/null +++ b/android/src/main/res/drawable/icon_arrow_white.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<vector + xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="16dp" + android:viewportWidth="24.0" + android:viewportHeight="16.0" + > + <group> + <path android:fillColor="#FFFFFF" + android:pathData="M18.7015867,9 L14.4331381,12.762659 C13.851665,13.2752305 13.8579999,14.1003943 14.4392669,14.612784 C15.0245863,15.1287461 15.9602099,15.1275926 16.5380921,14.6181865 L23.5668627,8.42228969 C23.8565791,8.16690324 24.000373,7.83391619 23.999837,7.50067932 L24,7.4966702 C23.999589,7.16348359 23.8547954,6.83138119 23.5668627,6.57756713 L16.5380921,0.381670278 C15.956619,-0.130901228 15.0205338,-0.125317014 14.4392669,0.387072772 C13.8539474,0.903034846 13.8552559,1.72779176 14.4331381,2.23719784 L18.7017491,6 L1.50909424,6 C0.66354084,6 0,6.67157288 0,7.5 C0,8.33420277 0.675644504,9 1.50909424,9 L18.7015867,9 Z" + /> + </group> +</vector> diff --git a/android/src/main/res/drawable/login_button_arrow.xml b/android/src/main/res/drawable/login_button_arrow.xml new file mode 100644 index 0000000000..4a51e51585 --- /dev/null +++ b/android/src/main/res/drawable/login_button_arrow.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector + xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle" + > + <item android:state_enabled="false" android:drawable="@drawable/icon_arrow_blue20"/> + <item android:state_enabled="true" android:drawable="@drawable/icon_arrow_white"/> +</selector> diff --git a/android/src/main/res/drawable/login_button_background.xml b/android/src/main/res/drawable/login_button_background.xml new file mode 100644 index 0000000000..8622392653 --- /dev/null +++ b/android/src/main/res/drawable/login_button_background.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector + xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle" + > + <item android:state_enabled="false"> + <shape> + <solid android:color="@color/white"/> + </shape> + </item> + + <item android:state_enabled="true"> + <shape> + <solid android:color="@color/green"/> + </shape> + </item> +</selector> diff --git a/android/src/main/res/drawable/text_input_cursor.xml b/android/src/main/res/drawable/text_input_cursor.xml new file mode 100644 index 0000000000..ffa98a486b --- /dev/null +++ b/android/src/main/res/drawable/text_input_cursor.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android"> + <solid android:color="@color/darkBlue"/> + <size android:width="2sp" android:height="24sp"/> +</shape> |
