diff --git a/org.envirocar.app/res/layout/activity_signin.xml b/org.envirocar.app/res/layout/activity_signin.xml index 5c2410bb4..e71cc017b 100644 --- a/org.envirocar.app/res/layout/activity_signin.xml +++ b/org.envirocar.app/res/layout/activity_signin.xml @@ -66,24 +66,27 @@ android:id="@+id/activity_signin_username_input_layout" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" android:layout_width="0dp" - android:layout_height="40dp" + android:layout_height="wrap_content" android:layout_marginTop="40dp" - app:hintEnabled="false" + app:startIconDrawable="@drawable/ic_action_user" + app:boxStrokeColor="@color/black" + app:hintEnabled="true" + app:hintAnimationEnabled="true" app:layout_constraintEnd_toEndOf="@id/activity_signin_guideline_right" app:layout_constraintStart_toStartOf="@id/activity_signin_guideline_left" app:layout_constraintTop_toBottomOf="@+id/textView6" app:layout_constraintWidth_max="500dp"> - + app:boxStrokeColor="@color/black" + app:boxStrokeWidth="1dp" + android:hint="Username" + android:inputType="text" + android:maxLines="1" /> @@ -91,26 +94,30 @@ android:id="@+id/activity_signin_password_input_layout" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox" android:layout_width="0dp" - android:layout_height="40dp" + android:layout_height="wrap_content" android:layout_marginTop="40dp" - app:hintEnabled="false" + app:passwordToggleDrawable="@drawable/custom_password_eye" + app:passwordToggleTint="@color/black" + app:startIconDrawable="@drawable/ic_action_pass" + app:boxStrokeColor="@color/black" + app:hintEnabled="true" app:layout_constraintEnd_toEndOf="@id/activity_signin_guideline_right" app:layout_constraintStart_toStartOf="@id/activity_signin_guideline_left" app:layout_constraintTop_toBottomOf="@+id/activity_signin_username_input_layout" app:layout_constraintWidth_max="500dp" app:endIconMode="password_toggle" - app:endIconDrawable="@drawable/custom_password_eye" - app:endIconTint="@color/white_cario"> + app:endIconDrawable="@drawable/custom_password_eye"> - + android:layout_height="wrap_content" + android:drawableStart="@drawable/ic_action_user" + app:boxStrokeColor="@color/black" + app:boxStrokeWidth="1dp" + android:hint="Password" + android:inputType="textPassword" + android:maxLines="1" />