Fix scrolling issue.

Sign in and log in tested ok
This commit is contained in:
Benoit Marty 2020-09-21 15:09:47 +02:00 committed by Benoit Marty
parent ecc189aeac
commit ad2191a76e
15 changed files with 109 additions and 193 deletions

View File

@ -11,6 +11,7 @@ Improvements 🙌:
- Add a setting to show timestamp for all messages (#2123) - Add a setting to show timestamp for all messages (#2123)
- Use cache for user color - Use cache for user color
- Allow using an outdated homeserver, at user's risk (#1972) - Allow using an outdated homeserver, at user's risk (#1972)
- Restore small logo on login screens and fix scrolling issue on those screens
Bugfix 🐛: Bugfix 🐛:
- Long message cannot be sent/takes infinite time & blocks other messages #1397 - Long message cannot be sent/takes infinite time & blocks other messages #1397

View File

@ -1,24 +1,20 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/signedOut" android:id="@+id/signedOut"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?riotx_background"> android:background="?riotx_background">
<!-- Missing attributes are in the style -->
<ImageView
style="@style/LoginLogo"
tools:ignore="ContentDescription,MissingConstraints" />
<!-- Missing attributes are in the style -->
<androidx.core.widget.NestedScrollView <androidx.core.widget.NestedScrollView
style="@style/LoginFormScrollView" style="@style/LoginFormScrollView"
tools:ignore="MissingConstraints"> tools:ignore="MissingConstraints">
<LinearLayout <LinearLayout style="@style/LoginFormContainer">
style="@style/LoginFormContainer"
android:orientation="vertical"> <ImageView
style="@style/LoginLogo"
tools:ignore="ContentDescription" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -47,5 +43,5 @@
</androidx.core.widget.NestedScrollView> </androidx.core.widget.NestedScrollView>
</androidx.constraintlayout.widget.ConstraintLayout> </FrameLayout>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/login_fragment" android:id="@+id/login_fragment"
@ -7,19 +7,13 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?riotx_background"> android:background="?riotx_background">
<!-- Missing attributes are in the style --> <androidx.core.widget.NestedScrollView style="@style/LoginFormScrollView">
<ImageView
style="@style/LoginLogo"
tools:ignore="ContentDescription,MissingConstraints" />
<!-- Missing attributes are in the style --> <LinearLayout style="@style/LoginFormContainer">
<androidx.core.widget.NestedScrollView
style="@style/LoginFormScrollView"
tools:ignore="MissingConstraints">
<LinearLayout <ImageView
style="@style/LoginFormContainer" style="@style/LoginLogo"
android:orientation="vertical"> tools:ignore="ContentDescription" />
<ImageView <ImageView
android:id="@+id/loginServerIcon" android:id="@+id/loginServerIcon"
@ -145,5 +139,5 @@
</androidx.core.widget.NestedScrollView> </androidx.core.widget.NestedScrollView>
</androidx.constraintlayout.widget.ConstraintLayout> </FrameLayout>

View File

@ -1,27 +1,24 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?riotx_background"> android:background="?riotx_background">
<!-- Missing attributes are in the style -->
<ImageView
style="@style/LoginLogo"
tools:ignore="ContentDescription,MissingConstraints" />
<!-- Missing attributes are in the style -->
<!-- No scroll view in the screen, but use the style --> <!-- No scroll view in the screen, but use the style -->
<LinearLayout <LinearLayout
style="@style/LoginFormScrollView" style="@style/LoginFormScrollView"
android:layout_height="0dp" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical"
android:paddingStart="16dp" android:paddingStart="16dp"
android:paddingTop="8dp" android:paddingTop="8dp"
android:paddingEnd="16dp" android:paddingEnd="16dp"
android:paddingBottom="16dp" android:paddingBottom="16dp">
tools:ignore="MissingConstraints">
<ImageView
style="@style/LoginLogo"
android:layout_marginBottom="8dp"
tools:ignore="ContentDescription" />
<TextView <TextView
android:id="@+id/loginCaptchaNotice" android:id="@+id/loginCaptchaNotice"
@ -41,16 +38,12 @@
</LinearLayout> </LinearLayout>
<!-- Id is defined in the style -->
<ProgressBar <ProgressBar
android:id="@+id/loginCaptchaProgress" android:id="@+id/loginCaptchaProgress"
android:layout_width="60dp" android:layout_width="60dp"
android:layout_height="60dp" android:layout_height="60dp"
app:layout_constraintBottom_toBottomOf="@id/loginFormScrollView" android:layout_gravity="center"
app:layout_constraintEnd_toEndOf="@id/loginFormScrollView"
app:layout_constraintStart_toStartOf="@id/loginFormScrollView"
app:layout_constraintTop_toTopOf="@id/loginFormScrollView"
tools:ignore="UnknownId,NotSibling" /> tools:ignore="UnknownId,NotSibling" />
</androidx.constraintlayout.widget.ConstraintLayout> </FrameLayout>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/login_fragment" android:id="@+id/login_fragment"
@ -7,19 +7,13 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?riotx_background"> android:background="?riotx_background">
<!-- Missing attributes are in the style --> <androidx.core.widget.NestedScrollView style="@style/LoginFormScrollView">
<ImageView
style="@style/LoginLogo"
tools:ignore="ContentDescription,MissingConstraints" />
<!-- Missing attributes are in the style --> <LinearLayout style="@style/LoginFormContainer">
<androidx.core.widget.NestedScrollView
style="@style/LoginFormScrollView"
tools:ignore="MissingConstraints">
<LinearLayout <ImageView
style="@style/LoginFormContainer" style="@style/LoginLogo"
android:orientation="vertical"> tools:ignore="ContentDescription" />
<TextView <TextView
android:id="@+id/loginGenericTextInputFormTitle" android:id="@+id/loginGenericTextInputFormTitle"
@ -99,5 +93,5 @@
</androidx.core.widget.NestedScrollView> </androidx.core.widget.NestedScrollView>
</androidx.constraintlayout.widget.ConstraintLayout> </FrameLayout>

View File

@ -1,24 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?riotx_background"> android:background="?riotx_background">
<!-- Missing attributes are in the style --> <androidx.core.widget.NestedScrollView style="@style/LoginFormScrollView">
<ImageView
style="@style/LoginLogo"
tools:ignore="ContentDescription,MissingConstraints" />
<!-- Missing attributes are in the style --> <LinearLayout style="@style/LoginFormContainer">
<androidx.core.widget.NestedScrollView
style="@style/LoginFormScrollView"
tools:ignore="MissingConstraints">
<LinearLayout <ImageView
style="@style/LoginFormContainer" style="@style/LoginLogo"
android:orientation="vertical"> tools:ignore="ContentDescription" />
<TextView <TextView
android:id="@+id/resetPasswordTitle" android:id="@+id/resetPasswordTitle"
@ -108,5 +102,5 @@
</androidx.core.widget.NestedScrollView> </androidx.core.widget.NestedScrollView>
</androidx.constraintlayout.widget.ConstraintLayout> </FrameLayout>

View File

@ -1,23 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?riotx_background"> android:background="?riotx_background">
<!-- Missing attributes are in the style --> <androidx.core.widget.NestedScrollView style="@style/LoginFormScrollView">
<ImageView
style="@style/LoginLogo"
tools:ignore="ContentDescription,MissingConstraints" />
<!-- Missing attributes are in the style --> <LinearLayout style="@style/LoginFormContainer">
<androidx.core.widget.NestedScrollView
style="@style/LoginFormScrollView"
tools:ignore="MissingConstraints">
<LinearLayout <ImageView
style="@style/LoginFormContainer" style="@style/LoginLogo"
android:orientation="vertical"> tools:ignore="ContentDescription" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -53,5 +47,5 @@
</androidx.core.widget.NestedScrollView> </androidx.core.widget.NestedScrollView>
</androidx.constraintlayout.widget.ConstraintLayout> </FrameLayout>

View File

@ -1,23 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?riotx_background"> android:background="?riotx_background">
<!-- Missing attributes are in the style --> <androidx.core.widget.NestedScrollView style="@style/LoginFormScrollView">
<ImageView
style="@style/LoginLogo"
tools:ignore="ContentDescription,MissingConstraints" />
<!-- Missing attributes are in the style --> <LinearLayout style="@style/LoginFormContainer">
<androidx.core.widget.NestedScrollView
style="@style/LoginFormScrollView"
tools:ignore="MissingConstraints">
<LinearLayout <ImageView
style="@style/LoginFormContainer" style="@style/LoginLogo"
android:orientation="vertical"> tools:ignore="ContentDescription" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -53,5 +47,5 @@
</androidx.core.widget.NestedScrollView> </androidx.core.widget.NestedScrollView>
</androidx.constraintlayout.widget.ConstraintLayout> </FrameLayout>

View File

@ -1,35 +1,33 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?riotx_background"> android:background="?riotx_background">
<!-- Missing attributes are in the style --> <androidx.core.widget.NestedScrollView style="@style/LoginFormScrollView">
<ImageView
style="@style/LoginLogo"
tools:ignore="ContentDescription,MissingConstraints,UnusedAttribute" />
<!-- Missing attributes are in the style --> <androidx.constraintlayout.widget.ConstraintLayout style="@style/LoginFormContainer">
<androidx.core.widget.NestedScrollView
style="@style/LoginFormScrollView"
tools:ignore="MissingConstraints">
<androidx.constraintlayout.widget.ConstraintLayout <ImageView
style="@style/LoginFormContainer" style="@style/LoginLogo"
android:paddingBottom="@dimen/layout_vertical_margin"> app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="ContentDescription" />
<TextView <TextView
android:id="@+id/loginServerTitle" android:id="@+id/loginServerTitle"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="36dp"
android:text="@string/login_server_title" android:text="@string/login_server_title"
android:textAppearance="@style/TextAppearance.Vector.Login.Title" android:textAppearance="@style/TextAppearance.Vector.Login.Title"
android:transitionName="loginTitleTransition" android:transitionName="loginTitleTransition"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toBottomOf="@id/loginLogo" />
<TextView <TextView
android:id="@+id/loginServerText" android:id="@+id/loginServerText"
@ -198,5 +196,5 @@
</androidx.core.widget.NestedScrollView> </androidx.core.widget.NestedScrollView>
</androidx.constraintlayout.widget.ConstraintLayout> </FrameLayout>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/login_fragment" android:id="@+id/login_fragment"
@ -7,19 +7,13 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?riotx_background"> android:background="?riotx_background">
<!-- Missing attributes are in the style --> <androidx.core.widget.NestedScrollView style="@style/LoginFormScrollView">
<ImageView
style="@style/LoginLogo"
tools:ignore="ContentDescription,MissingConstraints" />
<!-- Missing attributes are in the style --> <LinearLayout style="@style/LoginFormContainer">
<androidx.core.widget.NestedScrollView
style="@style/LoginFormScrollView"
tools:ignore="MissingConstraints">
<LinearLayout <ImageView
style="@style/LoginFormContainer" style="@style/LoginLogo"
android:orientation="vertical"> tools:ignore="ContentDescription" />
<!-- Displayed only for EMS --> <!-- Displayed only for EMS -->
<ImageView <ImageView
@ -97,5 +91,5 @@
</androidx.core.widget.NestedScrollView> </androidx.core.widget.NestedScrollView>
</androidx.constraintlayout.widget.ConstraintLayout> </FrameLayout>

View File

@ -1,32 +1,32 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?riotx_background"> android:background="?riotx_background">
<!-- Missing attributes are in the style --> <androidx.core.widget.NestedScrollView style="@style/LoginFormScrollView">
<ImageView
style="@style/LoginLogo"
tools:ignore="ContentDescription,MissingConstraints" />
<!-- Missing attributes are in the style -->
<androidx.core.widget.NestedScrollView
style="@style/LoginFormScrollView"
tools:ignore="MissingConstraints">
<androidx.constraintlayout.widget.ConstraintLayout style="@style/LoginFormContainer"> <androidx.constraintlayout.widget.ConstraintLayout style="@style/LoginFormContainer">
<ImageView
style="@style/LoginLogo"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="ContentDescription" />
<ImageView <ImageView
android:id="@+id/loginSignupSigninServerIcon" android:id="@+id/loginSignupSigninServerIcon"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="36dp"
android:importantForAccessibility="no" android:importantForAccessibility="no"
android:tint="?riotx_text_primary" android:tint="?riotx_text_primary"
android:visibility="gone" android:visibility="gone"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toBottomOf="@id/loginLogo"
tools:src="@drawable/ic_logo_matrix_org" tools:src="@drawable/ic_logo_matrix_org"
tools:visibility="visible" /> tools:visibility="visible" />
@ -84,5 +84,5 @@
</androidx.core.widget.NestedScrollView> </androidx.core.widget.NestedScrollView>
</androidx.constraintlayout.widget.ConstraintLayout> </FrameLayout>

View File

@ -1,31 +1,32 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?riotx_background"> android:background="?riotx_background">
<!-- Missing attributes are in the style -->
<ImageView
style="@style/LoginLogo"
tools:ignore="ContentDescription,MissingConstraints" />
<!-- Missing attributes are in the style -->
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
style="@style/LoginFormScrollView" style="@style/LoginFormScrollView"
android:layout_height="0dp" android:layout_height="match_parent"
tools:ignore="MissingConstraints"> tools:ignore="MissingConstraints">
<ImageView
style="@style/LoginLogo"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView <TextView
android:id="@+id/loginTermsTitle" android:id="@+id/loginTermsTitle"
style="@style/TextAppearance.Vector.Login.Title" style="@style/TextAppearance.Vector.Login.Title"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="36dp"
android:paddingStart="36dp" android:paddingStart="36dp"
android:paddingEnd="36dp" android:paddingEnd="36dp"
android:text="@string/login_terms_title" android:text="@string/login_terms_title"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toBottomOf="@id/loginLogo" />
<TextView <TextView
android:id="@+id/loginTermsNotice" android:id="@+id/loginTermsNotice"
@ -58,5 +59,5 @@
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </FrameLayout>

View File

@ -1,24 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/login_fragment" android:id="@+id/login_fragment"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?riotx_background"> android:background="?riotx_background">
<!-- Missing attributes are in the style --> <androidx.core.widget.NestedScrollView style="@style/LoginFormScrollView">
<ImageView
style="@style/LoginLogo"
tools:ignore="ContentDescription,MissingConstraints" />
<!-- Missing attributes are in the style --> <LinearLayout style="@style/LoginFormContainer">
<androidx.core.widget.NestedScrollView
style="@style/LoginFormScrollView"
tools:ignore="MissingConstraints">
<LinearLayout <ImageView
style="@style/LoginFormContainer" style="@style/LoginLogo"
android:orientation="vertical"> tools:ignore="ContentDescription" />
<TextView <TextView
android:id="@+id/loginWaitForEmailTitle" android:id="@+id/loginWaitForEmailTitle"
@ -48,5 +42,5 @@
</androidx.core.widget.NestedScrollView> </androidx.core.widget.NestedScrollView>
</androidx.constraintlayout.widget.ConstraintLayout> </FrameLayout>

View File

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- We will improve this later
<style name="LoginLogo" parent="LoginLogoBase">
<item name="layout_constraintEnd_toStartOf">@id/loginFormContainer</item>
<item name="layout_constraintBottom_toBottomOf">parent</item>
<item name="android:layout_height">0dp</item>
<item name="layout_constraintHorizontal_chainStyle">packed</item>
</style>
<style name="LoginFormContainer" parent="LoginFormContainerBase">
<item name="layout_constraintWidth_percent">0.6</item>
<item name="layout_constraintStart_toEndOf">@id/loginLogo</item>
<item name="layout_constraintTop_toTopOf">parent</item>
</style>
-->
</resources>

View File

@ -12,48 +12,36 @@
<item name="loginFormScrollView" type="id" /> <item name="loginFormScrollView" type="id" />
<item name="loginFormContainer" type="id" /> <item name="loginFormContainer" type="id" />
<style name="LoginLogoBase"> <style name="LoginLogo">
<item name="android:id">@id/loginLogo</item> <item name="android:id">@id/loginLogo</item>
<item name="android:layout_width">60dp</item> <item name="android:layout_width">60dp</item>
<item name="android:layout_height">60dp</item> <item name="android:layout_height">60dp</item>
<item name="android:layout_gravity">center_horizontal</item>
<item name="android:layout_marginBottom">36dp</item>
<item name="android:src">@drawable/element_logo_green</item> <item name="android:src">@drawable/element_logo_green</item>
<item name="android:transitionName">loginLogoTransition</item> <item name="android:transitionName">loginLogoTransition</item>
<item name="android:importantForAccessibility">no</item> <item name="android:importantForAccessibility">no</item>
<item name="layout_constraintTop_toTopOf">parent</item>
<item name="layout_constraintStart_toStartOf">parent</item>
</style>
<style name="LoginLogo" parent="LoginLogoBase">
<item name="layout_constraintEnd_toEndOf">parent</item>
<item name="android:layout_marginTop">48dp</item>
</style> </style>
<style name="LoginFormContainer"> <style name="LoginFormContainer">
<item name="android:id">@id/loginFormContainer</item> <item name="android:id">@id/loginFormContainer</item>
<item name="android:paddingTop">36dp</item>
<item name="android:paddingStart">36dp</item> <item name="android:paddingStart">36dp</item>
<item name="android:paddingEnd">36dp</item> <item name="android:paddingEnd">36dp</item>
<item name="android:orientation">vertical</item>
<item name="android:layout_width">match_parent</item> <item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">wrap_content</item>
</style> </style>
<style name="LoginFormScrollViewBase"> <style name="LoginFormScrollView">
<item name="android:id">@id/loginFormScrollView</item> <item name="android:id">@id/loginFormScrollView</item>
<item name="layout_constraintEnd_toEndOf">parent</item> <item name="android:layout_width">match_parent</item>
<item name="layout_constraintBottom_toBottomOf">parent</item>
<item name="android:layout_width">0dp</item>
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">wrap_content</item>
<item name="android:clipToPadding">false</item> <item name="android:clipToPadding">false</item>
<item name="android:paddingTop">32dp</item> <item name="android:paddingTop">32dp</item>
<item name="android:paddingBottom">32dp</item> <item name="android:paddingBottom">32dp</item>
</style> </style>
<style name="LoginFormScrollView" parent="LoginFormScrollViewBase">
<item name="layout_constraintTop_toBottomOf">@id/loginLogo</item>
<item name="layout_constraintStart_toStartOf">parent</item>
<item name="android:layout_height">0dp</item>
<item name="android:layout_marginTop">24dp</item>
</style>
<style name="Style.Vector.Login.Button" parent="VectorButtonStyle"> <style name="Style.Vector.Login.Button" parent="VectorButtonStyle">
<item name="android:minHeight">52dp</item> <item name="android:minHeight">52dp</item>
<item name="android:textAllCaps">false</item> <item name="android:textAllCaps">false</item>