mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
* Refactor LoginActivity #2690 * Fixed Error cannot find symbol
This commit is contained in:
parent
4071d66d45
commit
7c77530c2e
7 changed files with 149 additions and 125 deletions
|
|
@ -96,7 +96,7 @@
|
|||
android:layout_marginTop="@dimen/standard_gap">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/loginUsername"
|
||||
android:id="@+id/login_username"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/username"
|
||||
|
|
@ -122,7 +122,7 @@
|
|||
app:passwordToggleEnabled="true">
|
||||
|
||||
<android.support.design.widget.TextInputEditText
|
||||
android:id="@+id/loginPassword"
|
||||
android:id="@+id/login_password"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/password"
|
||||
|
|
@ -146,7 +146,7 @@
|
|||
tools:visibility="visible">
|
||||
|
||||
<android.support.design.widget.TextInputEditText
|
||||
android:id="@+id/loginTwoFactor"
|
||||
android:id="@+id/login_two_factor"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/_2fa_code"
|
||||
|
|
@ -169,7 +169,7 @@
|
|||
android:layout_marginStart="@dimen/standard_gap">
|
||||
|
||||
<Button
|
||||
android:id="@+id/signupButton"
|
||||
android:id="@+id/sign_up_button"
|
||||
style="@style/Widget.AppCompat.Button.Borderless.Colored"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
@ -180,7 +180,7 @@
|
|||
android:text="@string/signup" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/loginButton"
|
||||
android:id="@+id/login_button"
|
||||
style="@style/Widget.AppCompat.Button.Colored"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
@ -194,7 +194,7 @@
|
|||
|
||||
<fr.free.nrw.commons.ui.widget.HtmlTextView
|
||||
android:visibility="visible"
|
||||
android:id="@+id/forgotPassword"
|
||||
android:id="@+id/forgot_password"
|
||||
android:layout_width="match_parent"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
@ -204,11 +204,11 @@
|
|||
android:textColor="@color/status_bar_blue"/>
|
||||
|
||||
<fr.free.nrw.commons.ui.widget.HtmlTextView
|
||||
android:id="@+id/skipLogin"
|
||||
android:id="@+id/skip_login"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/standard_gap"
|
||||
android:layout_below="@id/forgotPassword"
|
||||
android:layout_below="@id/forgot_password"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="@string/skip_login"
|
||||
android:visibility="visible"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue