|
@@ -85,12 +85,15 @@
|
|
|
android:id="@+id/hostUrlFrame"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="@dimen/zero">
|
|
|
+ android:layout_marginBottom="@dimen/zero"
|
|
|
+ android:background="@color/primary">
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
android:id="@+id/input_layout_hostUrl"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:boxBackgroundColor="@color/primary"
|
|
|
+ app:hintTextColor="@color/fg_inverse">
|
|
|
|
|
|
<com.owncloud.android.ui.components.CustomEditText
|
|
|
android:id="@+id/hostUrlInput"
|
|
@@ -105,7 +108,7 @@
|
|
|
android:paddingStart="@dimen/zero"
|
|
|
android:paddingLeft="@dimen/zero"
|
|
|
android:textColor="@color/login_text_color"
|
|
|
- android:textColorHint="@color/login_text_hint_color">
|
|
|
+ android:theme="@style/Nextcloud.EditText.Login">
|
|
|
|
|
|
<requestFocus/>
|
|
|
</com.owncloud.android.ui.components.CustomEditText>
|
|
@@ -159,44 +162,46 @@
|
|
|
android:contentDescription="@string/auth_testing_connection"/>
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
- android:id="@+id/input_layout_account_username"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:visibility="gone">
|
|
|
-
|
|
|
- <com.google.android.material.textfield.TextInputEditText
|
|
|
- android:id="@+id/account_username"
|
|
|
+ android:id="@+id/input_layout_account_username"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:ems="10"
|
|
|
- android:hint="@string/auth_username"
|
|
|
- android:inputType="textNoSuggestions"
|
|
|
- android:textColor="@color/login_text_color"
|
|
|
- android:textColorHint="@color/login_text_hint_color"
|
|
|
- android:autofillHints="username"/>
|
|
|
+ app:boxBackgroundColor="@color/primary"
|
|
|
+ app:hintTextColor="@color/fg_inverse"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:id="@+id/account_username"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:autofillHints="username"
|
|
|
+ android:ems="10"
|
|
|
+ android:hint="@string/auth_username"
|
|
|
+ android:inputType="textNoSuggestions"
|
|
|
+ android:textColor="@color/login_text_color"
|
|
|
+ android:textColorHint="@color/login_text_hint_color" />
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
- android:id="@+id/input_layout_account_password"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:visibility="gone"
|
|
|
- app:passwordToggleDrawable="@drawable/password_visibility_selector"
|
|
|
- app:passwordToggleTint="@color/login_btn_tint">
|
|
|
+ android:id="@+id/input_layout_account_password"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:boxBackgroundColor="@color/primary"
|
|
|
+ app:hintTextColor="@color/fg_inverse"
|
|
|
+ android:visibility="gone"
|
|
|
+ app:passwordToggleDrawable="@drawable/password_visibility_selector"
|
|
|
+ app:passwordToggleTint="@color/login_text_hint_color">
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
android:id="@+id/account_password"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:autofillHints="password"
|
|
|
android:drawablePadding="@dimen/alternate_half_padding"
|
|
|
android:ems="10"
|
|
|
android:hint="@string/auth_password"
|
|
|
android:inputType="textPassword"
|
|
|
android:textColor="@color/login_text_color"
|
|
|
- android:textColorHint="@color/login_text_hint_color"
|
|
|
- android:autofillHints="password"/>
|
|
|
-
|
|
|
+ android:textColorHint="@color/login_text_hint_color" />
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
<TextView
|
|
@@ -218,7 +223,7 @@
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:id="@id/bottom_block"
|
|
|
+ android:id="@+id/bottom_block"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_alignParentBottom="true"
|