David Liu

update initial connect screen look and feel

@@ -2,12 +2,21 @@ @@ -2,12 +2,21 @@
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="match_parent" 3 android:layout_width="match_parent"
4 android:layout_height="match_parent" 4 android:layout_height="match_parent"
5 - android:orientation="vertical"> 5 + android:gravity="center_horizontal"
  6 + android:orientation="vertical"
  7 + android:padding="10dp">
  8 +
  9 + <ImageView
  10 + android:layout_width="wrap_content"
  11 + android:layout_height="wrap_content"
  12 + android:layout_marginTop="50dp"
  13 + android:src="@drawable/banner_dark" />
6 14
7 <com.google.android.material.textfield.TextInputLayout 15 <com.google.android.material.textfield.TextInputLayout
8 android:id="@+id/url" 16 android:id="@+id/url"
9 android:layout_width="match_parent" 17 android:layout_width="match_parent"
10 android:layout_height="wrap_content" 18 android:layout_height="wrap_content"
  19 + android:layout_marginTop="20dp"
11 android:hint="@string/url"> 20 android:hint="@string/url">
12 21
13 <com.google.android.material.textfield.TextInputEditText 22 <com.google.android.material.textfield.TextInputEditText
@@ -20,6 +29,7 @@ @@ -20,6 +29,7 @@
20 android:id="@+id/token" 29 android:id="@+id/token"
21 android:layout_width="match_parent" 30 android:layout_width="match_parent"
22 android:layout_height="wrap_content" 31 android:layout_height="wrap_content"
  32 + android:layout_marginTop="20dp"
23 android:hint="@string/token"> 33 android:hint="@string/token">
24 34
25 <com.google.android.material.textfield.TextInputEditText 35 <com.google.android.material.textfield.TextInputEditText
@@ -32,6 +42,7 @@ @@ -32,6 +42,7 @@
32 android:id="@+id/connect_button" 42 android:id="@+id/connect_button"
33 android:layout_width="match_parent" 43 android:layout_width="match_parent"
34 android:layout_height="wrap_content" 44 android:layout_height="wrap_content"
  45 + android:layout_marginTop="20dp"
35 android:text="@string/connect" /> 46 android:text="@string/connect" />
36 47
37 <Button 48 <Button
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <resources> 2 <resources>
3 - <color name="colorPrimary">#008577</color>  
4 - <color name="colorPrimaryDark">#00574B</color>  
5 - <color name="colorAccent">#D81B60</color> 3 + <color name="colorPrimary">#007DFF</color>
  4 + <color name="colorPrimaryDark">#0058b3</color>
  5 + <color name="colorAccent">#66b1ff</color>
6 </resources> 6 </resources>
1 <resources> 1 <resources>
2 2
3 <!-- Base application theme. --> 3 <!-- Base application theme. -->
4 - <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> 4 + <style name="AppTheme" parent="Theme.AppCompat.NoActionBar">
5 <!-- Customize your theme here. --> 5 <!-- Customize your theme here. -->
6 <item name="colorPrimary">@color/colorPrimary</item> 6 <item name="colorPrimary">@color/colorPrimary</item>
7 <item name="colorPrimaryDark">@color/colorPrimaryDark</item> 7 <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
8 <item name="colorAccent">@color/colorAccent</item> 8 <item name="colorAccent">@color/colorAccent</item>
  9 + <item name="android:windowBackground">#000000</item>
9 </style> 10 </style>
10 11
11 </resources> 12 </resources>