mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
TextAppearances: import from figma and apply to login screens
This commit is contained in:
parent
2fb289ec14
commit
1793885ec6
46 changed files with 395 additions and 164 deletions
|
@ -12,12 +12,19 @@
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="16dp">
|
android:padding="16dp">
|
||||||
|
|
||||||
|
<!-- Note: Default style is @style/VectorButtonStyle in the theme -->
|
||||||
<Button
|
<Button
|
||||||
style="@style/VectorButtonStyle"
|
style="@style/VectorButtonStyle"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Default" />
|
android:text="Default" />
|
||||||
|
|
||||||
|
<Button
|
||||||
|
style="@style/VectorButtonStyle"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Line1\nLine 2" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
style="@style/VectorButtonStyle"
|
style="@style/VectorButtonStyle"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:context=".features.debug.DebugMaterialThemeActivity"
|
tools:context=".features.debug.DebugMaterialThemeActivity"
|
||||||
tools:ignore="HardcodedText">
|
tools:ignore="HardcodedText,MissingPrefix">
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -441,6 +441,16 @@
|
||||||
|
|
||||||
</com.google.android.material.card.MaterialCardView>
|
</com.google.android.material.card.MaterialCardView>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Text appearance" />
|
||||||
|
|
||||||
|
<include
|
||||||
|
layout="@layout/debug_text_appearance"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|
74
vector/src/debug/res/layout/debug_text_appearance.xml
Normal file
74
vector/src/debug/res/layout/debug_text_appearance.xml
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:orientation="vertical"
|
||||||
|
tools:ignore="HardcodedText">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="VectorTextAppearanceTitle"
|
||||||
|
android:textAppearance="@style/VectorTextAppearanceTitle" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="VectorTextAppearanceTitle.M"
|
||||||
|
android:textAppearance="@style/VectorTextAppearanceTitle.M" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="VectorTextAppearanceHeadlineM"
|
||||||
|
android:textAppearance="@style/VectorTextAppearanceHeadlineM" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="VectorTextAppearanceSubtitle"
|
||||||
|
android:textAppearance="@style/VectorTextAppearanceSubtitle" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="VectorTextAppearanceSubtitle.M"
|
||||||
|
android:textAppearance="@style/VectorTextAppearanceSubtitle" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="VectorTextAppearanceBody\nVectorTextAppearanceBody"
|
||||||
|
android:textAppearance="@style/VectorTextAppearanceBody" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="VectorTextAppearanceBody.M"
|
||||||
|
android:textAppearance="@style/VectorTextAppearanceBody.M" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="VectorTextAppearanceButton"
|
||||||
|
android:textAppearance="@style/VectorTextAppearanceButton" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="VectorTextAppearanceCaption"
|
||||||
|
android:textAppearance="@style/VectorTextAppearanceCaption" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="VectorTextAppearanceMicro"
|
||||||
|
android:textAppearance="@style/VectorTextAppearanceMicro" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="Default (VectorTextAppearanceBody)" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
|
@ -20,7 +20,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/signed_out_title"
|
android:text="@string/signed_out_title"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title" />
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -28,7 +29,8 @@
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/signed_out_notice"
|
android:text="@string/signed_out_notice"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text" />
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/signedOutSubmit"
|
android:id="@+id/signedOutSubmit"
|
||||||
|
|
|
@ -29,7 +29,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
tools:text="@string/login_signin_to" />
|
tools:text="@string/login_signin_to" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -38,7 +39,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
tools:text="@string/login_server_matrix_org_text" />
|
tools:text="@string/login_server_matrix_org_text" />
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
|
@ -103,7 +105,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_signin_matrix_id_password_notice"
|
android:text="@string/login_signin_matrix_id_password_notice"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
|
@ -149,7 +152,8 @@
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/login_social_continue"
|
android:text="@string/login_social_continue"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<im.vector.app.features.login.SocialLoginButtonsView
|
<im.vector.app.features.login.SocialLoginButtonsView
|
||||||
|
|
|
@ -20,14 +20,16 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_account_created_title"
|
android:text="@string/login_account_created_title"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title" />
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/loginAccountCreatedSubtitle"
|
android:id="@+id/loginAccountCreatedSubtitle"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title.Small"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
tools:text="@string/login_account_created_subtitle" />
|
tools:text="@string/login_account_created_subtitle" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -35,14 +37,16 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="32dp"
|
android:layout_marginTop="32dp"
|
||||||
android:text="@string/login_account_created_notice"
|
android:text="@string/login_account_created_notice"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text" />
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_account_created_notice_2"
|
android:text="@string/login_account_created_notice_2"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text" />
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:id="@+id/loginAccountCreatedMessage"
|
android:id="@+id/loginAccountCreatedMessage"
|
||||||
|
@ -108,7 +112,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_account_created_instruction"
|
android:text="@string/login_account_created_instruction"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text" />
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|
|
@ -22,11 +22,12 @@
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/loginCaptchaNotice"
|
android:id="@+id/loginCaptchaNotice"
|
||||||
style="@style/TextAppearance.Vector.Login.Text.Small"
|
style="@style/VectorTextAppearanceCaption"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center_horizontal"
|
android:gravity="center_horizontal"
|
||||||
android:text="@string/auth_recaptcha_message" />
|
android:text="@string/auth_recaptcha_message"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<!-- contentDescription does not work on WebView? -->
|
<!-- contentDescription does not work on WebView? -->
|
||||||
<WebView
|
<WebView
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
android:id="@+id/loginGenericTextInputFormTitle"
|
android:id="@+id/loginGenericTextInputFormTitle"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
tools:text="@string/login_set_email_title" />
|
tools:text="@string/login_set_email_title" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -29,7 +30,8 @@
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:layout_marginBottom="26dp"
|
android:layout_marginBottom="26dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
tools:text="@string/login_set_email_notice" />
|
tools:text="@string/login_set_email_notice" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -37,7 +39,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
tools:text="@string/login_set_msisdn_notice2"
|
tools:text="@string/login_set_msisdn_notice2"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
tools:text="@string/login_set_email_title_2" />
|
tools:text="@string/login_set_email_title_2" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -30,7 +31,8 @@
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:layout_marginBottom="@dimen/layout_vertical_margin"
|
android:layout_marginBottom="@dimen/layout_vertical_margin"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
tools:text="@string/login_set_email_notice_2" />
|
tools:text="@string/login_set_email_notice_2" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -39,7 +41,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="26dp"
|
android:layout_marginBottom="26dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
tools:text="@string/login_set_email_mandatory_notice_2"
|
tools:text="@string/login_set_email_mandatory_notice_2"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
@ -49,7 +52,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
tools:text="@string/login_set_msisdn_notice2"
|
tools:text="@string/login_set_msisdn_notice2"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
android:id="@+id/resetPasswordTitle"
|
android:id="@+id/resetPasswordTitle"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
tools:text="@string/login_reset_password_on" />
|
tools:text="@string/login_reset_password_on" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -28,7 +29,8 @@
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_reset_password_notice"
|
android:text="@string/login_reset_password_notice"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small" />
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
android:id="@+id/resetPasswordEmailTil"
|
android:id="@+id/resetPasswordEmailTil"
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
tools:text="@string/login_reset_password_on" />
|
tools:text="@string/login_reset_password_on" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -28,7 +29,8 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_marginTop="32dp"
|
android:layout_marginTop="32dp"
|
||||||
android:text="@string/login_enter_your_email"
|
android:text="@string/login_enter_your_email"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title.Small" />
|
android:textAppearance="@style/VectorTextAppearanceSubtitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
android:id="@+id/resetPasswordEmailTil"
|
android:id="@+id/resetPasswordEmailTil"
|
||||||
|
@ -54,7 +56,8 @@
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_reset_password_notice"
|
android:text="@string/login_reset_password_notice"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small" />
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -62,7 +65,8 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:text="@string/login_choose_a_new_password"
|
android:text="@string/login_choose_a_new_password"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title.Small" />
|
android:textAppearance="@style/VectorTextAppearanceSubtitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/passwordContainer"
|
android:id="@+id/passwordContainer"
|
||||||
|
|
|
@ -17,14 +17,16 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/login_reset_password_mail_confirmation_title"
|
android:text="@string/login_reset_password_mail_confirmation_title"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title" />
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/resetPasswordMailConfirmationNotice"
|
android:id="@+id/resetPasswordMailConfirmationNotice"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
tools:text="@string/login_reset_password_mail_confirmation_notice" />
|
tools:text="@string/login_reset_password_mail_confirmation_notice" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -32,7 +34,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_reset_password_mail_confirmation_notice_2"
|
android:text="@string/login_reset_password_mail_confirmation_notice_2"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small" />
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/resetPasswordMailConfirmationSubmit"
|
android:id="@+id/resetPasswordMailConfirmationSubmit"
|
||||||
|
|
|
@ -18,14 +18,16 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_reset_password_mail_confirmation_title"
|
android:text="@string/login_reset_password_mail_confirmation_title"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title" />
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/resetPasswordMailConfirmationNotice"
|
android:id="@+id/resetPasswordMailConfirmationNotice"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
tools:text="@string/login_reset_password_mail_confirmation_notice" />
|
tools:text="@string/login_reset_password_mail_confirmation_notice" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -33,7 +35,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_reset_password_mail_confirmation_notice_2"
|
android:text="@string/login_reset_password_mail_confirmation_notice_2"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small" />
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/resetPasswordMailConfirmationSubmit"
|
android:id="@+id/resetPasswordMailConfirmationSubmit"
|
||||||
|
|
|
@ -17,7 +17,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/login_reset_password_success_title"
|
android:text="@string/login_reset_password_success_title"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title" />
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/resetPasswordSuccessNotice"
|
android:id="@+id/resetPasswordSuccessNotice"
|
||||||
|
@ -25,14 +26,16 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_reset_password_success_notice"
|
android:text="@string/login_reset_password_success_notice"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small" />
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_reset_password_success_notice_2"
|
android:text="@string/login_reset_password_success_notice_2"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small" />
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/resetPasswordSuccessSubmit"
|
android:id="@+id/resetPasswordSuccessSubmit"
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_reset_password_success_title"
|
android:text="@string/login_reset_password_success_title"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title" />
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/resetPasswordSuccessNotice"
|
android:id="@+id/resetPasswordSuccessNotice"
|
||||||
|
@ -26,14 +27,16 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_reset_password_success_notice"
|
android:text="@string/login_reset_password_success_notice"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title.Small" />
|
android:textAppearance="@style/VectorTextAppearanceSubtitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_reset_password_success_notice_2"
|
android:text="@string/login_reset_password_success_notice_2"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text" />
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/resetPasswordSuccessSubmit"
|
android:id="@+id/resetPasswordSuccessSubmit"
|
||||||
|
|
|
@ -23,7 +23,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="36dp"
|
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/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
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"
|
||||||
|
@ -36,7 +37,8 @@
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_server_text"
|
android:text="@string/login_server_text"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/loginServerTitle" />
|
app:layout_constraintTop_toBottomOf="@+id/loginServerTitle" />
|
||||||
|
@ -76,7 +78,8 @@
|
||||||
android:layout_marginTop="5dp"
|
android:layout_marginTop="5dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_server_matrix_org_text"
|
android:text="@string/login_server_matrix_org_text"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
@ -118,7 +121,8 @@
|
||||||
android:layout_marginTop="7dp"
|
android:layout_marginTop="7dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_server_modular_text"
|
android:text="@string/login_server_modular_text"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/loginServerChoiceEmsLearnMore"
|
app:layout_constraintEnd_toStartOf="@+id/loginServerChoiceEmsLearnMore"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
@ -130,7 +134,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="16dp"
|
android:padding="16dp"
|
||||||
android:text="@string/login_server_modular_learn_more"
|
android:text="@string/login_server_modular_learn_more"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
android:textColor="?colorPrimary"
|
android:textColor="?colorPrimary"
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/loginServerChoiceEmsText"
|
app:layout_constraintBottom_toBottomOf="@+id/loginServerChoiceEmsText"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
@ -158,7 +162,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_server_other_title"
|
android:text="@string/login_server_other_title"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
android:textColor="?vctr_content_primary"
|
android:textColor="?vctr_content_primary"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/loginServerChoiceOtherText"
|
app:layout_constraintBottom_toTopOf="@+id/loginServerChoiceOtherText"
|
||||||
|
@ -173,7 +177,8 @@
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_server_other_text"
|
android:text="@string/login_server_other_text"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_please_choose_a_server"
|
android:text="@string/login_please_choose_a_server"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
tools:ignore="UnknownId" />
|
tools:ignore="UnknownId" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -30,7 +31,8 @@
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_server_text"
|
android:text="@string/login_server_text"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text" />
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<!-- Use a CheckableConstraintLayout to keep the pressed state when retrieving login flow -->
|
<!-- Use a CheckableConstraintLayout to keep the pressed state when retrieving login flow -->
|
||||||
<im.vector.app.core.platform.CheckableConstraintLayout
|
<im.vector.app.core.platform.CheckableConstraintLayout
|
||||||
|
@ -64,7 +66,8 @@
|
||||||
android:layout_marginTop="5dp"
|
android:layout_marginTop="5dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_server_matrix_org_text"
|
android:text="@string/login_server_matrix_org_text"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
@ -78,7 +81,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="5dp"
|
android:layout_marginTop="5dp"
|
||||||
android:text="@string/login_if_you_re_not_sure_select_this_option"
|
android:text="@string/login_if_you_re_not_sure_select_this_option"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
android:textStyle="italic" />
|
android:textStyle="italic" />
|
||||||
|
|
||||||
<im.vector.app.core.platform.CheckableConstraintLayout
|
<im.vector.app.core.platform.CheckableConstraintLayout
|
||||||
|
@ -98,7 +102,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_element_matrix_server_and_others"
|
android:text="@string/login_element_matrix_server_and_others"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
android:textColor="?vctr_content_primary"
|
android:textColor="?vctr_content_primary"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/loginServerChoiceOtherText"
|
app:layout_constraintBottom_toTopOf="@+id/loginServerChoiceOtherText"
|
||||||
|
@ -113,7 +117,8 @@
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_server_other_text"
|
android:text="@string/login_server_other_text"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
@ -129,7 +134,8 @@
|
||||||
android:paddingTop="16dp"
|
android:paddingTop="16dp"
|
||||||
android:paddingBottom="16dp"
|
android:paddingBottom="16dp"
|
||||||
android:text="@string/login_server_modular_learn_more_about_ems"
|
android:text="@string/login_server_modular_learn_more_about_ems"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/loginServerChoiceEmsText"
|
app:layout_constraintBottom_toBottomOf="@+id/loginServerChoiceEmsText"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="@+id/loginServerChoiceEmsText" />
|
app:layout_constraintTop_toTopOf="@+id/loginServerChoiceEmsText" />
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="27dp"
|
android:layout_marginTop="27dp"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
tools:text="@string/login_connect_to_modular" />
|
tools:text="@string/login_connect_to_modular" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -39,7 +40,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
tools:text="@string/login_server_url_form_modular_text" />
|
tools:text="@string/login_server_url_form_modular_text" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -48,7 +50,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:text="@string/login_server_modular_learn_more"
|
android:text="@string/login_server_modular_learn_more"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
android:textColor="?colorPrimary" />
|
android:textColor="?colorPrimary" />
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
|
@ -77,7 +79,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="end"
|
android:layout_gravity="end"
|
||||||
android:text="@string/login_clear_homeserver_history"
|
android:text="@string/login_clear_homeserver_history"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
android:textColor="?colorPrimary"
|
android:textColor="?colorPrimary"
|
||||||
android:visibility="invisible"
|
android:visibility="invisible"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
@ -88,7 +90,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="6dp"
|
android:layout_marginTop="6dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
tools:text="@string/login_server_url_form_common_notice" />
|
tools:text="@string/login_server_url_form_common_notice" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
|
|
@ -21,7 +21,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_server_url_form_common_notice"
|
android:text="@string/login_server_url_form_common_notice"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title" />
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
android:id="@+id/loginServerUrlFormHomeServerUrlTil"
|
android:id="@+id/loginServerUrlFormHomeServerUrlTil"
|
||||||
|
@ -52,7 +53,7 @@
|
||||||
android:paddingEnd="0dp"
|
android:paddingEnd="0dp"
|
||||||
android:paddingBottom="16dp"
|
android:paddingBottom="16dp"
|
||||||
android:text="@string/login_clear_homeserver_history"
|
android:text="@string/login_clear_homeserver_history"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
android:textColor="?colorPrimary"
|
android:textColor="?colorPrimary"
|
||||||
android:visibility="invisible"
|
android:visibility="invisible"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_please_enter_your_password"
|
android:text="@string/login_please_enter_your_password"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title" />
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/loginUserIcon"
|
android:id="@+id/loginUserIcon"
|
||||||
|
@ -36,7 +37,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
tools:text="Welcome back user!" />
|
tools:text="Welcome back user!" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -45,7 +47,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_unknown_user_warning"
|
android:text="@string/login_unknown_user_warning"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
android:textColor="@color/vector_warning_color_2"
|
android:textColor="@color/vector_warning_color_2"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
tools:text="@string/login_signin_to" />
|
tools:text="@string/login_signin_to" />
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
|
@ -123,7 +124,8 @@
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/login_social_continue"
|
android:text="@string/login_social_continue"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<im.vector.app.features.login.SocialLoginButtonsView
|
<im.vector.app.features.login.SocialLoginButtonsView
|
||||||
|
|
|
@ -21,7 +21,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_please_enter_your_matrix_identifier"
|
android:text="@string/login_please_enter_your_matrix_identifier"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title" />
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/loginSubtitle"
|
android:id="@+id/loginSubtitle"
|
||||||
|
@ -29,7 +30,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_please_enter_your_matrix_identifier_help"
|
android:text="@string/login_please_enter_your_matrix_identifier_help"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text" />
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
android:id="@+id/loginFieldTil"
|
android:id="@+id/loginFieldTil"
|
||||||
|
@ -64,7 +66,8 @@
|
||||||
android:layout_marginTop="32dp"
|
android:layout_marginTop="32dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_enter_identifier_help"
|
android:text="@string/login_enter_identifier_help"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small" />
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/loginChooseAServer"
|
android:id="@+id/loginChooseAServer"
|
||||||
|
|
|
@ -20,21 +20,24 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_please_choose_a_password"
|
android:text="@string/login_please_choose_a_password"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title" />
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="32dp"
|
android:layout_marginTop="32dp"
|
||||||
android:text="@string/login_your_matrix_identifier"
|
android:text="@string/login_your_matrix_identifier"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title.Small" />
|
android:textAppearance="@style/VectorTextAppearanceSubtitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/loginMatrixIdentifier"
|
android:id="@+id/loginMatrixIdentifier"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
tools:text="\@user:domain.org" />
|
tools:text="\@user:domain.org" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -42,7 +45,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:text="@string/login_press_back_to_change"
|
android:text="@string/login_press_back_to_change"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
android:textStyle="italic" />
|
android:textStyle="italic" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -51,7 +55,8 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_choose_a_password"
|
android:text="@string/login_choose_a_password"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title.Small" />
|
android:textAppearance="@style/VectorTextAppearanceSubtitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/passwordContainer"
|
android:id="@+id/passwordContainer"
|
||||||
|
|
|
@ -36,7 +36,8 @@
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="27dp"
|
android:layout_marginTop="27dp"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/loginSignupSigninServerIcon"
|
app:layout_constraintTop_toBottomOf="@+id/loginSignupSigninServerIcon"
|
||||||
app:layout_goneMarginTop="0dp"
|
app:layout_goneMarginTop="0dp"
|
||||||
|
@ -48,7 +49,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="27dp"
|
android:layout_marginTop="27dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/loginSignupSigninTitle"
|
app:layout_constraintTop_toBottomOf="@+id/loginSignupSigninTitle"
|
||||||
|
@ -102,7 +104,8 @@
|
||||||
android:layout_marginTop="27dp"
|
android:layout_marginTop="27dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/login_social_continue"
|
android:text="@string/login_social_continue"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<im.vector.app.features.login.SocialLoginButtonsView
|
<im.vector.app.features.login.SocialLoginButtonsView
|
||||||
|
|
|
@ -21,14 +21,16 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_please_choose_a_user_name"
|
android:text="@string/login_please_choose_a_user_name"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title" />
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/loginSubtitle"
|
android:id="@+id/loginSubtitle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="32dp"
|
android:layout_marginTop="32dp"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
tools:text="@string/login_signup_to" />
|
tools:text="@string/login_signup_to" />
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
|
@ -53,7 +55,8 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/login_please_choose_a_user_name_help_2"
|
android:text="@string/login_please_choose_a_user_name_help_2"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
android:textStyle="italic" />
|
android:textStyle="italic" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
@ -84,7 +87,8 @@
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/login_social_continue"
|
android:text="@string/login_social_continue"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<im.vector.app.features.login.SocialLoginButtonsView
|
<im.vector.app.features.login.SocialLoginButtonsView
|
||||||
|
|
|
@ -66,7 +66,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/login_splash_title"
|
android:text="@string/login_splash_title"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
android:transitionName="loginTitleTransition"
|
android:transitionName="loginTitleTransition"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/loginSplashSpace3"
|
app:layout_constraintBottom_toTopOf="@+id/loginSplashSpace3"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
@ -109,7 +110,8 @@
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_splash_text1"
|
android:text="@string/login_splash_text1"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/loginSplashText2"
|
app:layout_constraintBottom_toTopOf="@+id/loginSplashText2"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@id/loginSplashPicto1"
|
app:layout_constraintStart_toEndOf="@id/loginSplashPicto1"
|
||||||
|
@ -133,7 +135,8 @@
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_splash_text2"
|
android:text="@string/login_splash_text2"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintBottom_toTopOf="@id/loginSplashText3"
|
app:layout_constraintBottom_toTopOf="@id/loginSplashText3"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="@id/loginSplashText1"
|
app:layout_constraintStart_toStartOf="@id/loginSplashText1"
|
||||||
|
@ -157,7 +160,8 @@
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_splash_text3"
|
android:text="@string/login_splash_text3"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="@+id/loginSplashText1"
|
app:layout_constraintStart_toStartOf="@+id/loginSplashText1"
|
||||||
|
|
|
@ -66,7 +66,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/login_splash_title"
|
android:text="@string/login_splash_title"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
android:transitionName="loginTitleTransition"
|
android:transitionName="loginTitleTransition"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/loginSplashSpace25"
|
app:layout_constraintBottom_toTopOf="@+id/loginSplashSpace25"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
@ -109,7 +110,8 @@
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_splash_text1"
|
android:text="@string/login_splash_text1"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/loginSplashText2"
|
app:layout_constraintBottom_toTopOf="@+id/loginSplashText2"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@id/loginSplashPicto1"
|
app:layout_constraintStart_toEndOf="@id/loginSplashPicto1"
|
||||||
|
@ -133,7 +135,8 @@
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_splash_text2"
|
android:text="@string/login_splash_text2"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintBottom_toTopOf="@id/loginSplashText3"
|
app:layout_constraintBottom_toTopOf="@id/loginSplashText3"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="@id/loginSplashText1"
|
app:layout_constraintStart_toStartOf="@id/loginSplashText1"
|
||||||
|
@ -157,7 +160,8 @@
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_splash_text3"
|
android:text="@string/login_splash_text3"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="@+id/loginSplashText1"
|
app:layout_constraintStart_toStartOf="@+id/loginSplashText1"
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
tools:ignore="UnknownId"
|
tools:ignore="UnknownId"
|
||||||
tools:text="@string/login_connect_to" />
|
tools:text="@string/login_connect_to" />
|
||||||
|
|
||||||
|
|
|
@ -20,24 +20,26 @@
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/loginTermsTitle"
|
android:id="@+id/loginTermsTitle"
|
||||||
style="@style/TextAppearance.Vector.Login.Title"
|
style="@style/VectorTextAppearanceTitle"
|
||||||
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: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"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
app:layout_constraintTop_toBottomOf="@id/loginLogo" />
|
app:layout_constraintTop_toBottomOf="@id/loginLogo" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/loginTermsNotice"
|
android:id="@+id/loginTermsNotice"
|
||||||
style="@style/TextAppearance.Vector.Login.Text.Small"
|
style="@style/VectorTextAppearanceBody"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginTop="12dp"
|
||||||
android:paddingStart="36dp"
|
android:paddingStart="36dp"
|
||||||
android:paddingEnd="36dp"
|
android:paddingEnd="36dp"
|
||||||
android:text="@string/auth_accept_policies"
|
android:text="@string/auth_accept_policies"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/loginTermsTitle" />
|
app:layout_constraintTop_toBottomOf="@+id/loginTermsTitle" />
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
|
|
|
@ -27,7 +27,8 @@
|
||||||
android:layout_marginTop="52dp"
|
android:layout_marginTop="52dp"
|
||||||
android:layout_marginEnd="36dp"
|
android:layout_marginEnd="36dp"
|
||||||
android:text="@string/login_terms_title"
|
android:text="@string/login_terms_title"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/loginLogo"
|
app:layout_constraintTop_toBottomOf="@id/loginLogo"
|
||||||
|
@ -35,13 +36,14 @@
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/loginTermsNotice"
|
android:id="@+id/loginTermsNotice"
|
||||||
style="@style/TextAppearance.Vector.Login.Text.Small"
|
style="@style/VectorTextAppearanceBody"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginTop="12dp"
|
||||||
android:paddingStart="36dp"
|
android:paddingStart="36dp"
|
||||||
android:paddingEnd="36dp"
|
android:paddingEnd="36dp"
|
||||||
android:text="@string/auth_accept_policies"
|
android:text="@string/auth_accept_policies"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/loginTermsTitle" />
|
app:layout_constraintTop_toBottomOf="@+id/loginTermsTitle" />
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/login_wait_for_email_title"
|
android:text="@string/login_wait_for_email_title"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title" />
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/loginWaitForEmailNotice"
|
android:id="@+id/loginWaitForEmailNotice"
|
||||||
|
@ -27,7 +28,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
tools:text="@string/login_wait_for_email_notice" />
|
tools:text="@string/login_wait_for_email_notice" />
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:text="@string/login_wait_for_email_title"
|
android:text="@string/login_wait_for_email_title"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title" />
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/loginWaitForEmailNotice"
|
android:id="@+id/loginWaitForEmailNotice"
|
||||||
|
@ -27,7 +28,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title.Small"
|
android:textAppearance="@style/VectorTextAppearanceSubtitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
tools:text="@string/login_wait_for_email_notice_2" />
|
tools:text="@string/login_wait_for_email_notice_2" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -37,7 +39,8 @@
|
||||||
android:layout_marginTop="32dp"
|
android:layout_marginTop="32dp"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/login_wait_for_email_help"
|
android:text="@string/login_wait_for_email_help"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text" />
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
|
android:textColor="?vctr_content_secondary" />
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
style="@style/VectorHorizontalProgressBar"
|
style="@style/VectorHorizontalProgressBar"
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
<!-- android:layout_height="wrap_content"-->
|
<!-- android:layout_height="wrap_content"-->
|
||||||
<!-- android:gravity="start"-->
|
<!-- android:gravity="start"-->
|
||||||
<!-- android:text="@string/login_signin_matrix_id_password_notice"-->
|
<!-- android:text="@string/login_signin_matrix_id_password_notice"-->
|
||||||
<!-- android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"-->
|
<!-- android:textAppearance="@style/VectorTextAppearanceCaption"-->
|
||||||
<!-- android:visibility="gone"-->
|
<!-- android:visibility="gone"-->
|
||||||
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
<!-- app:layout_constraintEnd_toEndOf="parent"-->
|
||||||
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
<!-- app:layout_constraintStart_toStartOf="parent"-->
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="start"
|
android:gravity="start"
|
||||||
android:text="@string/authentication_error"
|
android:text="@string/authentication_error"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text.Small"
|
android:textAppearance="@style/VectorTextAppearanceCaption"
|
||||||
android:textColor="?colorError"
|
android:textColor="?colorError"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
|
|
@ -94,7 +94,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="56dp"
|
android:layout_marginTop="56dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
tools:text="@sample/rooms.json/data/name" />
|
tools:text="@sample/rooms.json/data/name" />
|
||||||
|
@ -106,8 +107,8 @@
|
||||||
android:layout_marginTop="@dimen/layout_vertical_margin"
|
android:layout_marginTop="@dimen/layout_vertical_margin"
|
||||||
android:autoLink="web"
|
android:autoLink="web"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Subtitle"
|
android:textAppearance="@style/VectorTextAppearanceSubtitle"
|
||||||
android:textSize="15sp"
|
android:textColor="?vctr_content_secondary"
|
||||||
tools:text="@sample/rooms.json/data/topic" />
|
tools:text="@sample/rooms.json/data/topic" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -116,7 +117,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="28dp"
|
android:layout_marginTop="28dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Subtitle2"
|
android:textAppearance="@style/VectorTextAppearanceSubtitle"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
tools:text="@string/room_preview_no_preview" />
|
tools:text="@string/room_preview_no_preview" />
|
||||||
|
|
||||||
|
|
|
@ -8,5 +8,6 @@
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginTop="12dp"
|
||||||
android:paddingStart="36dp"
|
android:paddingStart="36dp"
|
||||||
android:paddingEnd="36dp"
|
android:paddingEnd="36dp"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Text"
|
android:textColor="?vctr_content_secondary"
|
||||||
|
android:textAppearance="@style/VectorTextAppearanceBody"
|
||||||
tools:text="Login Title" />
|
tools:text="Login Title" />
|
||||||
|
|
|
@ -8,5 +8,6 @@
|
||||||
android:layout_marginTop="32dp"
|
android:layout_marginTop="32dp"
|
||||||
android:paddingStart="36dp"
|
android:paddingStart="36dp"
|
||||||
android:paddingEnd="36dp"
|
android:paddingEnd="36dp"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
tools:text="Login Title" />
|
tools:text="Login Title" />
|
||||||
|
|
|
@ -8,5 +8,6 @@
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:paddingStart="36dp"
|
android:paddingStart="36dp"
|
||||||
android:paddingEnd="36dp"
|
android:paddingEnd="36dp"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Login.Title.Small"
|
android:textAppearance="@style/VectorTextAppearanceSubtitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
tools:text="Login Title" />
|
tools:text="Login Title" />
|
||||||
|
|
|
@ -19,10 +19,11 @@
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/adapter_item_policy_title"
|
android:id="@+id/adapter_item_policy_title"
|
||||||
style="@style/TextAppearance.Vector.Login.Text"
|
style="@style/VectorTextAppearanceBody"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:drawablePadding="8dp"
|
android:drawablePadding="8dp"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/adapter_item_policy_subtitle"
|
app:layout_constraintBottom_toTopOf="@+id/adapter_item_policy_subtitle"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/adapter_item_policy_arrow"
|
app:layout_constraintEnd_toStartOf="@+id/adapter_item_policy_arrow"
|
||||||
app:layout_constraintStart_toEndOf="@+id/adapter_item_policy_checkbox"
|
app:layout_constraintStart_toEndOf="@+id/adapter_item_policy_checkbox"
|
||||||
|
@ -32,11 +33,12 @@
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/adapter_item_policy_subtitle"
|
android:id="@+id/adapter_item_policy_subtitle"
|
||||||
style="@style/TextAppearance.Vector.Login.Text.Small"
|
style="@style/VectorTextAppearanceCaption"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="2dp"
|
android:layout_marginTop="2dp"
|
||||||
android:drawablePadding="8dp"
|
android:drawablePadding="8dp"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/adapter_item_policy_arrow"
|
app:layout_constraintEnd_toStartOf="@+id/adapter_item_policy_arrow"
|
||||||
app:layout_constraintStart_toEndOf="@+id/adapter_item_policy_checkbox"
|
app:layout_constraintStart_toEndOf="@+id/adapter_item_policy_checkbox"
|
||||||
|
|
|
@ -26,7 +26,8 @@
|
||||||
android:layout_marginTop="40dp"
|
android:layout_marginTop="40dp"
|
||||||
android:paddingStart="@dimen/layout_horizontal_margin"
|
android:paddingStart="@dimen/layout_horizontal_margin"
|
||||||
android:paddingEnd="@dimen/layout_horizontal_margin"
|
android:paddingEnd="@dimen/layout_horizontal_margin"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Title"
|
android:textAppearance="@style/VectorTextAppearanceTitle"
|
||||||
|
android:textColor="?vctr_content_primary"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/inviteAvatarView"
|
app:layout_constraintTop_toBottomOf="@id/inviteAvatarView"
|
||||||
|
@ -39,7 +40,8 @@
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:paddingStart="@dimen/layout_horizontal_margin"
|
android:paddingStart="@dimen/layout_horizontal_margin"
|
||||||
android:paddingEnd="@dimen/layout_horizontal_margin"
|
android:paddingEnd="@dimen/layout_horizontal_margin"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Subtitle"
|
android:textAppearance="@style/VectorTextAppearanceSubtitle"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/inviteNameView"
|
app:layout_constraintTop_toBottomOf="@id/inviteNameView"
|
||||||
|
@ -51,7 +53,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="40dp"
|
android:layout_marginTop="40dp"
|
||||||
android:text="@string/send_you_invite"
|
android:text="@string/send_you_invite"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Subtitle2"
|
android:textAppearance="@style/VectorTextAppearanceSubtitle"
|
||||||
|
android:textColor="?vctr_content_secondary"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/inviteIdentifierView" />
|
app:layout_constraintTop_toBottomOf="@id/inviteIdentifierView" />
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:ellipsize="marquee"
|
android:ellipsize="marquee"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textAppearance="?android:attr/textAppearanceListItem"
|
android:textAppearance="?textAppearanceListItem"
|
||||||
android:textSize="16sp"
|
android:textColor="?vctr_content_primary"
|
||||||
tools:text="Title" />
|
tools:text="Title" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
@ -35,9 +35,8 @@
|
||||||
android:layout_alignStart="@android:id/title"
|
android:layout_alignStart="@android:id/title"
|
||||||
android:maxLines="2"
|
android:maxLines="2"
|
||||||
android:paddingTop="6dp"
|
android:paddingTop="6dp"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?textAppearanceListItemSecondary"
|
||||||
android:textColor="?vctr_content_secondary"
|
android:textColor="?vctr_content_secondary"
|
||||||
android:textSize="14sp"
|
|
||||||
tools:text="Summary"
|
tools:text="Summary"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
android:paddingTop="8dp"
|
android:paddingTop="8dp"
|
||||||
android:paddingEnd="12dp"
|
android:paddingEnd="12dp"
|
||||||
android:paddingBottom="8dp"
|
android:paddingBottom="8dp"
|
||||||
android:textAppearance="@style/TextAppearance.Vector.Title"
|
android:textAppearance="@style/VectorTextAppearanceSubtitle"
|
||||||
android:textColor="?vctr_room_active_widgets_banner_text"
|
android:textColor="?vctr_room_active_widgets_banner_text"
|
||||||
tools:text="2 active widgets" />
|
tools:text="2 active widgets" />
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
<item name="android:paddingLeft">16dp</item>
|
<item name="android:paddingLeft">16dp</item>
|
||||||
<item name="android:paddingRight">16dp</item>
|
<item name="android:paddingRight">16dp</item>
|
||||||
<item name="android:minWidth">94dp</item>
|
<item name="android:minWidth">94dp</item>
|
||||||
<item name="android:fontFamily">sans-serif-medium</item>
|
|
||||||
<item name="android:textSize">14sp</item>
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="VectorButtonStyle.Destructive">
|
<style name="VectorButtonStyle.Destructive">
|
||||||
|
@ -31,8 +29,6 @@
|
||||||
<item name="android:paddingLeft">16dp</item>
|
<item name="android:paddingLeft">16dp</item>
|
||||||
<item name="android:paddingRight">16dp</item>
|
<item name="android:paddingRight">16dp</item>
|
||||||
<item name="android:minWidth">94dp</item>
|
<item name="android:minWidth">94dp</item>
|
||||||
<item name="android:fontFamily">sans-serif-medium</item>
|
|
||||||
<item name="android:textSize">14sp</item>
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="VectorButtonStyleUnelevated.Bot">
|
<style name="VectorButtonStyleUnelevated.Bot">
|
||||||
|
|
8
vector/src/main/res/values/styles_text_view.xml
Normal file
8
vector/src/main/res/values/styles_text_view.xml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
|
||||||
|
<style name="VectorTextView" parent="Widget.MaterialComponents.TextView">
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
|
</resources>
|
|
@ -1,63 +1,79 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?><!--
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
~ Copyright 2019 New Vector Ltd
|
|
||||||
~
|
|
||||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
~ you may not use this file except in compliance with the License.
|
|
||||||
~ You may obtain a copy of the License at
|
|
||||||
~
|
|
||||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
~
|
|
||||||
~ Unless required by applicable law or agreed to in writing, software
|
|
||||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
~ See the License for the specific language governing permissions and
|
|
||||||
~ limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<style name="TextAppearance.Vector.Title" parent="TextAppearance.AppCompat">
|
<style name="VectorTextAppearanceTitle" parent="TextAppearance.MaterialComponents.Headline3">
|
||||||
<item name="android:textSize">16sp</item>
|
<item name="fontFamily">sans-serif</item>
|
||||||
<item name="android:fontFamily">sans-serif-medium</item>
|
<item name="android:fontFamily">sans-serif</item>
|
||||||
<item name="android:textStyle">normal</item>
|
<item name="android:textSize">24sp</item>
|
||||||
|
<item name="android:letterSpacing">0</item>
|
||||||
|
<item name="lineHeight">32sp</item>
|
||||||
<item name="android:textColor">?vctr_content_primary</item>
|
<item name="android:textColor">?vctr_content_primary</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="TextAppearance.Vector.Subtitle" parent="TextAppearance.AppCompat">
|
<style name="VectorTextAppearanceTitle.M">
|
||||||
<item name="android:textSize">14sp</item>
|
<item name="fontFamily">sans-serif-medium</item>
|
||||||
<item name="android:fontFamily">sans-serif</item>
|
<item name="android:fontFamily">sans-serif-medium</item>
|
||||||
<item name="android:textStyle">normal</item>
|
|
||||||
<item name="android:textColor">?vctr_content_secondary</item>
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="TextAppearance.Vector.Subtitle2" parent="TextAppearance.AppCompat">
|
<style name="VectorTextAppearanceHeadlineM" parent="TextAppearance.MaterialComponents.Headline1">
|
||||||
<item name="android:textSize">14sp</item>
|
<item name="fontFamily">sans-serif-medium</item>
|
||||||
<item name="android:fontFamily">sans-serif-medium</item>
|
<item name="android:fontFamily">sans-serif-medium</item>
|
||||||
<item name="android:textStyle">normal</item>
|
<item name="android:textSize">18sp</item>
|
||||||
<item name="android:textColor">?vctr_content_secondary</item>
|
<item name="android:letterSpacing">0</item>
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="TextAppearance.Vector.Login.Title" parent="TextAppearance.AppCompat">
|
|
||||||
<item name="android:textSize">20sp</item>
|
|
||||||
<item name="android:fontFamily">sans-serif-medium</item>
|
|
||||||
<item name="android:textStyle">bold</item>
|
|
||||||
<item name="android:textColor">?vctr_content_primary</item>
|
<item name="android:textColor">?vctr_content_primary</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="TextAppearance.Vector.Login.Title.Small">
|
<style name="VectorTextAppearanceSubtitle" parent="TextAppearance.MaterialComponents.Subtitle1">
|
||||||
<item name="android:textSize">15sp</item>
|
<item name="fontFamily">sans-serif</item>
|
||||||
</style>
|
|
||||||
|
|
||||||
<style name="TextAppearance.Vector.Login.Text" parent="TextAppearance.AppCompat">
|
|
||||||
<item name="android:textSize">16sp</item>
|
|
||||||
<item name="android:fontFamily">sans-serif</item>
|
<item name="android:fontFamily">sans-serif</item>
|
||||||
<item name="android:textStyle">normal</item>
|
<item name="android:textSize">16sp</item>
|
||||||
|
<item name="android:letterSpacing">0</item>
|
||||||
<item name="android:textColor">?vctr_content_secondary</item>
|
<item name="android:textColor">?vctr_content_secondary</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="TextAppearance.Vector.Login.Text.Small">
|
<style name="VectorTextAppearanceSubtitle.M">
|
||||||
|
<item name="fontFamily">sans-serif-medium</item>
|
||||||
|
<item name="android:fontFamily">sans-serif-medium</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<!-- Note: this is the default text appearance for all the TextViews -->
|
||||||
|
<style name="VectorTextAppearanceBody" parent="TextAppearance.MaterialComponents.Body1">
|
||||||
|
<item name="fontFamily">sans-serif</item>
|
||||||
|
<item name="android:fontFamily">sans-serif</item>
|
||||||
|
<item name="android:textSize">14sp</item>
|
||||||
|
<item name="android:letterSpacing">0</item>
|
||||||
|
<item name="lineHeight">20sp</item>
|
||||||
|
<item name="android:textColor">?vctr_content_primary</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="VectorTextAppearanceBody.M">
|
||||||
|
<item name="fontFamily">sans-serif-medium</item>
|
||||||
|
<item name="android:fontFamily">sans-serif-medium</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="VectorTextAppearanceCaption" parent="TextAppearance.MaterialComponents.Caption">
|
||||||
|
<item name="fontFamily">sans-serif</item>
|
||||||
|
<item name="android:fontFamily">sans-serif</item>
|
||||||
<item name="android:textSize">12sp</item>
|
<item name="android:textSize">12sp</item>
|
||||||
|
<item name="android:letterSpacing">0</item>
|
||||||
|
<item name="lineHeight">16sp</item>
|
||||||
<item name="android:textColor">?vctr_content_secondary</item>
|
<item name="android:textColor">?vctr_content_secondary</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<style name="VectorTextAppearanceMicro" parent="TextAppearance.MaterialComponents.Caption">
|
||||||
|
<item name="fontFamily">sans-serif</item>
|
||||||
|
<item name="android:fontFamily">sans-serif</item>
|
||||||
|
<item name="android:textSize">10sp</item>
|
||||||
|
<item name="android:letterSpacing">0</item>
|
||||||
|
<item name="lineHeight">16sp</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<style name="VectorTextAppearanceButton" parent="TextAppearance.MaterialComponents.Button">
|
||||||
|
<item name="fontFamily">sans-serif-medium</item>
|
||||||
|
<item name="android:fontFamily">sans-serif-medium</item>
|
||||||
|
<item name="android:textSize">16sp</item>
|
||||||
|
<item name="android:letterSpacing">0.02</item>
|
||||||
|
<item name="lineHeight">24sp</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
|
@ -63,7 +63,18 @@
|
||||||
<item name="android:colorBackground">@color/element_background_dark</item>
|
<item name="android:colorBackground">@color/element_background_dark</item>
|
||||||
<item name="colorOnBackground">?vctr_content_primary</item>
|
<item name="colorOnBackground">?vctr_content_primary</item>
|
||||||
|
|
||||||
|
<!--Material type attributes-->
|
||||||
|
<item name="textAppearanceButton">@style/VectorTextAppearanceButton</item>
|
||||||
|
<item name="textAppearanceCaption">@style/VectorTextAppearanceCaption</item>
|
||||||
|
<!-- Default Text appearance for TextViews -->
|
||||||
|
<item name="android:textAppearanceSmall">@style/VectorTextAppearanceBody</item>
|
||||||
|
<!-- Text appearance for List item (TODO Check that this is used in Preference Screen -->
|
||||||
|
<item name="textAppearanceListItem">@style/VectorTextAppearanceSubtitle</item>
|
||||||
|
<item name="textAppearanceListItemSecondary">@style/VectorTextAppearanceBody</item>
|
||||||
|
<item name="textAppearanceListItemSmall">@style/VectorTextAppearanceBody</item>
|
||||||
|
|
||||||
<!-- Default styles -->
|
<!-- Default styles -->
|
||||||
|
<item name="android:textViewStyle">@style/VectorTextView</item>
|
||||||
<item name="materialButtonStyle">@style/VectorButtonStyle</item>
|
<item name="materialButtonStyle">@style/VectorButtonStyle</item>
|
||||||
<item name="toolbarStyle">@style/VectorToolbar</item>
|
<item name="toolbarStyle">@style/VectorToolbar</item>
|
||||||
<item name="materialAlertDialogTheme">@style/VectorAlertDialogStyleDark</item>
|
<item name="materialAlertDialogTheme">@style/VectorAlertDialogStyleDark</item>
|
||||||
|
|
|
@ -63,7 +63,18 @@
|
||||||
<item name="android:colorBackground">@color/element_background_light</item>
|
<item name="android:colorBackground">@color/element_background_light</item>
|
||||||
<item name="colorOnBackground">?vctr_content_primary</item>
|
<item name="colorOnBackground">?vctr_content_primary</item>
|
||||||
|
|
||||||
|
<!--Material type attributes-->
|
||||||
|
<item name="textAppearanceButton">@style/VectorTextAppearanceButton</item>
|
||||||
|
<item name="textAppearanceCaption">@style/VectorTextAppearanceCaption</item>
|
||||||
|
<!-- Default Text appearance for TextViews -->
|
||||||
|
<item name="android:textAppearanceSmall">@style/VectorTextAppearanceBody</item>
|
||||||
|
<!-- Text appearance for List item -->
|
||||||
|
<item name="textAppearanceListItem">@style/VectorTextAppearanceSubtitle</item>
|
||||||
|
<item name="textAppearanceListItemSecondary">@style/VectorTextAppearanceBody</item>
|
||||||
|
<item name="textAppearanceListItemSmall">@style/VectorTextAppearanceBody</item>
|
||||||
|
|
||||||
<!-- Default styles -->
|
<!-- Default styles -->
|
||||||
|
<item name="android:textViewStyle">@style/VectorTextView</item>
|
||||||
<item name="materialButtonStyle">@style/VectorButtonStyle</item>
|
<item name="materialButtonStyle">@style/VectorButtonStyle</item>
|
||||||
<item name="toolbarStyle">@style/VectorToolbar</item>
|
<item name="toolbarStyle">@style/VectorToolbar</item>
|
||||||
<item name="materialAlertDialogTheme">@style/VectorAlertDialogStyleLight</item>
|
<item name="materialAlertDialogTheme">@style/VectorAlertDialogStyleLight</item>
|
||||||
|
|
Loading…
Reference in a new issue