Merge pull request #8741 from element-hq/fix/jme/update-login-splash-screen
Make 'sign in' flow more important in the initial screen
This commit is contained in:
commit
d75ca516fc
|
@ -0,0 +1 @@
|
|||
Switch the position and styles of the 'already have an account' and 'create account' buttons in the login splash screen. Also changes the 'already have an account one' to just say 'sign in'.
|
|
@ -2095,6 +2095,7 @@
|
|||
<string name="login_splash_text2">Keep conversations private with encryption</string>
|
||||
<string name="login_splash_text3">Extend & customize your experience</string>
|
||||
<string name="login_splash_submit">Get started</string>
|
||||
<string name="login_splash_sign_in">Sign In</string>
|
||||
<string name="login_splash_create_account">Create account</string>
|
||||
<string name="login_splash_already_have_account">I already have an account</string>
|
||||
|
||||
|
|
|
@ -57,30 +57,30 @@
|
|||
app:layout_constraintTop_toBottomOf="@id/carouselIndicator" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/loginSplashSubmit"
|
||||
android:id="@+id/loginSplashAlreadyHaveAccount"
|
||||
style="@style/Widget.Vector.Button.Login"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/login_splash_sign_in"
|
||||
android:textAllCaps="true"
|
||||
android:transitionName="loginSubmitTransition"
|
||||
app:layout_constraintBottom_toTopOf="@id/loginSplashAlreadyHaveAccount"
|
||||
app:layout_constraintBottom_toTopOf="@id/loginSplashSubmit"
|
||||
app:layout_constraintEnd_toEndOf="@id/splashCarouselGutterEnd"
|
||||
app:layout_constraintStart_toStartOf="@id/splashCarouselGutterStart"
|
||||
app:layout_constraintTop_toBottomOf="@id/loginSplashButtonsSpace"
|
||||
tools:text="@string/login_splash_create_account" />
|
||||
app:layout_constraintTop_toBottomOf="@id/loginSplashButtonsSpace" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/loginSplashAlreadyHaveAccount"
|
||||
android:id="@+id/loginSplashSubmit"
|
||||
style="@style/Widget.Vector.Button.Text.Login"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/login_splash_already_have_account"
|
||||
android:textAllCaps="true"
|
||||
android:transitionName="loginSubmitTransition"
|
||||
app:layout_constraintBottom_toTopOf="@id/loginSplashBottomSpace"
|
||||
app:layout_constraintEnd_toEndOf="@id/splashCarouselGutterEnd"
|
||||
app:layout_constraintStart_toStartOf="@id/splashCarouselGutterStart"
|
||||
app:layout_constraintTop_toBottomOf="@id/loginSplashSubmit" />
|
||||
app:layout_constraintTop_toBottomOf="@id/loginSplashAlreadyHaveAccount"
|
||||
tools:text="@string/login_splash_create_account" />
|
||||
|
||||
<Space
|
||||
android:id="@+id/loginSplashBottomSpace"
|
||||
|
|
Loading…
Reference in New Issue