Use @id and not @+id when referencing ids in layouts - ConstraintLayout

This commit is contained in:
Benoit Marty 2021-12-01 22:13:21 +01:00
parent fa256cca25
commit 6d3df0d802
134 changed files with 515 additions and 512 deletions

View file

@ -34,7 +34,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout">
app:layout_constraintTop_toBottomOf="@id/appBarLayout">
<LinearLayout
android:layout_width="match_parent"

View file

@ -25,3 +25,6 @@
### Use style="@style/Widget.Vector.TextView.*" instead of textSize attribute
android:textSize===9
### Use `@id` and not `@+id` when referencing ids in layouts
Of="@\+id

View file

@ -25,7 +25,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout"
app:layout_constraintTop_toBottomOf="@id/appBarLayout"
app:optimizeDisplay="true" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -33,10 +33,10 @@
android:id="@+id/pipContainer"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/callControlsView"
app:layout_constraintBottom_toTopOf="@id/callControlsView"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/callToolbar">
app:layout_constraintTop_toBottomOf="@id/callToolbar">
<com.google.android.material.card.MaterialCardView
android:id="@+id/pipRendererWrapper"

View file

@ -35,7 +35,7 @@
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
app:layout_constraintBottom_toTopOf="@+id/callTransferActionsLayout"
app:layout_constraintBottom_toTopOf="@id/callTransferActionsLayout"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/appBarLayout" />
@ -65,7 +65,7 @@
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginEnd="8dp"
android:layout_toStartOf="@+id/callTransferConnectAction"
android:layout_toStartOf="@id/callTransferConnectAction"
android:layout_toEndOf="@id/callTransferConsultCheckBox"
android:ellipsize="end"
android:text="@string/call_transfer_consult_first" />

View file

@ -39,7 +39,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout" />
app:layout_constraintTop_toBottomOf="@id/appBarLayout" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -39,7 +39,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout" />
app:layout_constraintTop_toBottomOf="@id/appBarLayout" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -39,7 +39,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout" />
app:layout_constraintTop_toBottomOf="@id/appBarLayout" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -25,7 +25,7 @@
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout" />
app:layout_constraintTop_toBottomOf="@id/appBarLayout" />
<ProgressBar
android:id="@+id/simple_webview_loader"

View file

@ -31,7 +31,7 @@
android:maxLines="1"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintEnd_toStartOf="@+id/incomingCallRejectView"
app:layout_constraintEnd_toStartOf="@id/incomingCallRejectView"
app:layout_constraintStart_toEndOf="@id/incomingCallAvatar"
app:layout_constraintTop_toTopOf="@id/incomingCallAvatar"
tools:text="@sample/users.json/data/displayName" />
@ -48,7 +48,7 @@
android:maxLines="1"
android:textColor="?vctr_content_secondary"
app:drawableTint="?vctr_content_secondary"
app:layout_constraintEnd_toStartOf="@+id/incomingCallRejectView"
app:layout_constraintEnd_toStartOf="@id/incomingCallRejectView"
app:layout_constraintStart_toStartOf="@id/incomingCallNameView"
app:layout_constraintTop_toBottomOf="@id/incomingCallNameView"
tools:drawableStart="@drawable/ic_call_audio_small"

View file

@ -14,7 +14,7 @@
android:layout_height="40dp"
android:importantForAccessibility="no"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/alerter_texts"
app:layout_constraintEnd_toStartOf="@id/alerter_texts"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:src="@sample/user_round_avatars" />

View file

@ -41,7 +41,7 @@
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="@id/bootstrapIcon"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/bootstrapIcon"
app:layout_constraintStart_toEndOf="@id/bootstrapIcon"
app:layout_constraintTop_toTopOf="@id/bootstrapIcon"
tools:text="@string/bottom_sheet_setup_secure_backup_title" />

View file

@ -37,7 +37,7 @@
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toTopOf="@+id/spaceDescription"
app:layout_constraintBottom_toTopOf="@id/spaceDescription"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/spaceAvatarImageView"
app:layout_constraintTop_toTopOf="parent"
@ -60,7 +60,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/spaceAvatarImageView"
app:layout_constraintTop_toBottomOf="@+id/spaceNameView"
app:layout_constraintTop_toBottomOf="@id/spaceNameView"
tools:text="@sample/spaces.json/data/topic"
tools:visibility="visible" />

View file

@ -47,10 +47,10 @@
android:maxLines="2"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="@+id/otherUserAvatarImageView"
app:layout_constraintBottom_toBottomOf="@id/otherUserAvatarImageView"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/otherUserAvatarImageView"
app:layout_constraintTop_toTopOf="@+id/otherUserAvatarImageView"
app:layout_constraintStart_toEndOf="@id/otherUserAvatarImageView"
app:layout_constraintTop_toTopOf="@id/otherUserAvatarImageView"
tools:text="@string/verification_verify_user" />
<FrameLayout
@ -59,7 +59,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@+id/otherUserAvatarImageView" />
app:layout_constraintTop_toBottomOf="@id/otherUserAvatarImageView" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -115,7 +115,7 @@
android:contentDescription="@string/option_send_files"
android:src="@drawable/ic_attachment"
app:layout_constraintBottom_toBottomOf="@id/sendButton"
app:layout_constraintEnd_toStartOf="@+id/composerEditTextOuterBorder"
app:layout_constraintEnd_toStartOf="@id/composerEditTextOuterBorder"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@id/sendButton"
app:layout_goneMarginBottom="57dp"
@ -142,8 +142,8 @@
android:nextFocusLeft="@id/composerEditText"
android:nextFocusUp="@id/composerEditText"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/composerEmojiButton"
app:layout_constraintStart_toStartOf="@+id/composerEditTextOuterBorder"
app:layout_constraintEnd_toStartOf="@id/composerEmojiButton"
app:layout_constraintStart_toStartOf="@id/composerEditTextOuterBorder"
app:layout_constraintTop_toTopOf="parent"
tools:text="@tools:sample/lorem/random" />
@ -156,7 +156,7 @@
android:contentDescription="@string/a11y_open_emoji_picker"
android:src="@drawable/ic_insert_emoji"
app:layout_constraintBottom_toBottomOf="@id/attachmentButton"
app:layout_constraintEnd_toEndOf="@+id/composerEditTextOuterBorder"
app:layout_constraintEnd_toEndOf="@id/composerEditTextOuterBorder"
app:layout_constraintStart_toEndOf="@id/composerEditText"
app:layout_constraintTop_toTopOf="@id/attachmentButton"
app:layout_goneMarginEnd="8dp"

View file

@ -23,7 +23,7 @@
android:layout_height="1dp"
android:background="?vctr_list_separator"
app:layout_constraintEnd_toEndOf="@id/related_message_background"
app:layout_constraintStart_toStartOf="@+id/related_message_background"
app:layout_constraintStart_toStartOf="@id/related_message_background"
app:layout_constraintTop_toTopOf="@id/related_message_background" />
<ImageView
@ -35,7 +35,7 @@
android:layout_marginBottom="8dp"
android:importantForAccessibility="no"
app:layout_constraintBottom_toTopOf="@id/composerRelatedMessageActionIcon"
app:layout_constraintEnd_toStartOf="@+id/composerRelatedMessageTitle"
app:layout_constraintEnd_toStartOf="@id/composerRelatedMessageTitle"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@id/composerRelatedMessageTitle"
tools:src="@sample/user_round_avatars" />
@ -60,8 +60,8 @@
android:importantForAccessibility="no"
android:scaleType="centerCrop"
android:visibility="gone"
app:layout_constraintStart_toStartOf="@+id/composerRelatedMessageTitle"
app:layout_constraintTop_toBottomOf="@+id/composerRelatedMessageTitle"
app:layout_constraintStart_toStartOf="@id/composerRelatedMessageTitle"
app:layout_constraintTop_toBottomOf="@id/composerRelatedMessageTitle"
tools:ignore="MissingPrefix"
tools:src="@tools:sample/backgrounds/scenic"
tools:visibility="visible" />
@ -127,9 +127,9 @@
android:background="?android:attr/selectableItemBackground"
android:contentDescription="@string/option_send_files"
android:src="@drawable/ic_attachment"
app:layout_constraintBottom_toBottomOf="@+id/sendButton"
app:layout_constraintBottom_toBottomOf="@id/sendButton"
app:layout_constraintEnd_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/sendButton"
app:layout_constraintTop_toTopOf="@id/sendButton"
tools:ignore="MissingPrefix" />
<FrameLayout
@ -153,8 +153,8 @@
android:nextFocusLeft="@id/composerEditText"
android:nextFocusUp="@id/composerEditText"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/composerEmojiButton"
app:layout_constraintStart_toStartOf="@+id/composerEditTextOuterBorder"
app:layout_constraintEnd_toStartOf="@id/composerEmojiButton"
app:layout_constraintStart_toStartOf="@id/composerEditTextOuterBorder"
app:layout_constraintTop_toBottomOf="@id/composer_preview_barrier"
tools:text="@tools:sample/lorem/random" />
@ -167,7 +167,7 @@
android:contentDescription="@string/a11y_open_emoji_picker"
android:src="@drawable/ic_insert_emoji"
app:layout_constraintBottom_toBottomOf="@id/sendButton"
app:layout_constraintEnd_toEndOf="@+id/composerEditTextOuterBorder"
app:layout_constraintEnd_toEndOf="@id/composerEditTextOuterBorder"
app:layout_constraintStart_toEndOf="@id/composerEditText"
app:layout_constraintTop_toTopOf="@id/sendButton"
app:layout_goneMarginBottom="52dp"

View file

@ -26,7 +26,7 @@
android:checked="true"
android:text="@string/delete_event_dialog_reason_checkbox"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/dialogConfirmationText" />
app:layout_constraintTop_toBottomOf="@id/dialogConfirmationText" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/dialogReasonTextInputLayout"
@ -36,7 +36,7 @@
app:counterMaxLength="240"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/dialogReasonCheck"
app:layout_constraintTop_toBottomOf="@id/dialogReasonCheck"
tools:hint="@string/delete_event_dialog_reason_hint">
<com.google.android.material.textfield.TextInputEditText

View file

@ -28,9 +28,9 @@
style="@style/Widget.Vector.TextInputLayout.Password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintEnd_toStartOf="@+id/importDialogShowPassword"
app:layout_constraintEnd_toStartOf="@id/importDialogShowPassword"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/dialog_e2e_keys_passphrase_filename">
app:layout_constraintTop_toBottomOf="@id/dialog_e2e_keys_passphrase_filename">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/dialog_e2e_keys_passphrase_edit_text"

View file

@ -48,7 +48,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:padding="8dp"
app:layout_constraintBottom_toTopOf="@+id/attachmentPreviewerSendImageOriginalSize"
app:layout_constraintBottom_toTopOf="@id/attachmentPreviewerSendImageOriginalSize"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
@ -64,7 +64,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/attachmentPreviewerMiniatureList"
app:layout_constraintTop_toBottomOf="@id/attachmentPreviewerMiniatureList"
tools:text="@plurals/send_images_with_original_size" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -25,7 +25,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
app:errorEnabled="true"
app:layout_constraintBottom_toTopOf="@+id/bootstrapPasswordButton"
app:layout_constraintBottom_toTopOf="@id/bootstrapPasswordButton"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/bootstrapDescriptionText">
@ -51,6 +51,6 @@
android:text="@string/_continue"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/bootstrapAccountPasswordTil" />
app:layout_constraintTop_toBottomOf="@id/bootstrapAccountPasswordTil" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -71,7 +71,7 @@
android:text="@string/_continue"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/ssss_passphrase_enter_til" />
app:layout_constraintTop_toBottomOf="@id/ssss_passphrase_enter_til" />
<!-- <TextView-->
<!-- android:id="@+id/bootstrapWarningInfo"-->

View file

@ -70,6 +70,6 @@
android:text="@string/_continue"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/bootstrapRecoveryKeyEnterTil" />
app:layout_constraintTop_toBottomOf="@id/bootstrapRecoveryKeyEnterTil" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -24,7 +24,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
app:layout_constraintBottom_toTopOf="@id/reAuthFailureText"
app:layout_constraintTop_toBottomOf="@+id/bootstrapDescriptionText" />
app:layout_constraintTop_toBottomOf="@id/bootstrapDescriptionText" />
<TextView
android:id="@+id/reAuthFailureText"

View file

@ -24,7 +24,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@+id/bootstrapDescriptionText" />
app:layout_constraintTop_toBottomOf="@id/bootstrapDescriptionText" />
<TextView
android:id="@+id/bootstrapLoadingStatusText"

View file

@ -56,7 +56,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@+id/phoneBookClose"
app:layout_constraintStart_toEndOf="@id/phoneBookClose"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
@ -114,7 +114,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout"
app:layout_constraintTop_toBottomOf="@id/appBarLayout"
tools:listitem="@layout/item_contact_main" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -56,7 +56,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@+id/createDirectRoomClose"
app:layout_constraintStart_toEndOf="@id/createDirectRoomClose"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
@ -92,7 +92,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout"
app:layout_constraintTop_toBottomOf="@id/appBarLayout"
tools:listitem="@layout/item_create_direct_room_user" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -52,7 +52,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@+id/createPollClose"
app:layout_constraintStart_toEndOf="@id/createPollClose"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
@ -68,7 +68,7 @@
android:overScrollMode="always"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
app:layout_constraintBottom_toTopOf="@id/createPollButton"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout"
app:layout_constraintTop_toBottomOf="@id/appBarLayout"
tools:listitem="@layout/item_form_text_input_with_delete" />
<Button

View file

@ -53,7 +53,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@+id/createRoomClose"
app:layout_constraintStart_toEndOf="@id/createRoomClose"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
@ -69,7 +69,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout"
app:layout_constraintTop_toBottomOf="@id/appBarLayout"
tools:listitem="@layout/item_form_switch" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -29,7 +29,7 @@
android:textColor="?vctr_content_primary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/deactivateAccountContent" />
app:layout_constraintTop_toBottomOf="@id/deactivateAccountContent" />
<Button
android:id="@+id/deactivateAccountSubmit"
@ -40,7 +40,7 @@
android:text="@string/deactivate_account_submit"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/deactivateAccountEraseCheckbox" />
app:layout_constraintTop_toBottomOf="@id/deactivateAccountEraseCheckbox" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -123,7 +123,7 @@
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout" />
app:layout_constraintTop_toBottomOf="@id/appBarLayout" />
<im.vector.app.core.ui.views.KeysBackupBanner
android:id="@+id/homeKeysBackupBanner"
@ -141,8 +141,8 @@
android:id="@+id/roomListContainer"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/bottomNavigationView"
app:layout_constraintTop_toBottomOf="@+id/homeKeysBackupBanner" />
app:layout_constraintBottom_toTopOf="@id/bottomNavigationView"
app:layout_constraintTop_toBottomOf="@id/homeKeysBackupBanner" />
<com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottomNavigationView"

View file

@ -38,10 +38,10 @@
android:maxLines="1"
android:singleLine="true"
android:textColor="?vctr_content_primary"
app:layout_constraintBottom_toTopOf="@+id/homeDrawerUserIdView"
app:layout_constraintEnd_toStartOf="@+id/homeDrawerQRCodeButton"
app:layout_constraintStart_toEndOf="@+id/homeDrawerHeaderAvatarView"
app:layout_constraintTop_toTopOf="@+id/homeDrawerHeaderAvatarView"
app:layout_constraintBottom_toTopOf="@id/homeDrawerUserIdView"
app:layout_constraintEnd_toStartOf="@id/homeDrawerQRCodeButton"
app:layout_constraintStart_toEndOf="@id/homeDrawerHeaderAvatarView"
app:layout_constraintTop_toTopOf="@id/homeDrawerHeaderAvatarView"
app:layout_constraintVertical_chainStyle="packed"
tools:text="@sample/users.json/data/displayName" />
@ -55,10 +55,10 @@
android:maxLines="1"
android:singleLine="true"
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toBottomOf="@+id/homeDrawerHeaderAvatarView"
app:layout_constraintEnd_toStartOf="@+id/homeDrawerQRCodeButton"
app:layout_constraintStart_toStartOf="@+id/homeDrawerUsernameView"
app:layout_constraintTop_toBottomOf="@+id/homeDrawerUsernameView"
app:layout_constraintBottom_toBottomOf="@id/homeDrawerHeaderAvatarView"
app:layout_constraintEnd_toStartOf="@id/homeDrawerQRCodeButton"
app:layout_constraintStart_toStartOf="@id/homeDrawerUsernameView"
app:layout_constraintTop_toBottomOf="@id/homeDrawerUsernameView"
tools:text="@sample/users.json/data/id" />
<ImageView
@ -93,8 +93,8 @@
app:iconGravity="textStart"
app:iconSize="20dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="@+id/homeDrawerHeaderAvatarView"
app:layout_constraintTop_toBottomOf="@+id/homeDrawerHeaderAvatarView"
app:layout_constraintStart_toStartOf="@id/homeDrawerHeaderAvatarView"
app:layout_constraintTop_toBottomOf="@id/homeDrawerHeaderAvatarView"
tools:ignore="MissingPrefix" />
<ImageView
@ -117,24 +117,24 @@
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?vctr_list_separator"
app:layout_constraintTop_toBottomOf="@+id/homeDrawerHeader" />
app:layout_constraintTop_toBottomOf="@id/homeDrawerHeader" />
<androidx.fragment.app.FragmentContainerView
android:id="@+id/homeDrawerGroupListContainer"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintBottom_toTopOf="@+id/homeDrawerBottomSeparator"
app:layout_constraintBottom_toTopOf="@id/homeDrawerBottomSeparator"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/homeDrawerHeaderSeparator" />
app:layout_constraintTop_toBottomOf="@id/homeDrawerHeaderSeparator" />
<View
android:id="@+id/homeDrawerBottomSeparator"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?vctr_list_separator"
app:layout_constraintBottom_toTopOf="@+id/homeDrawerHeaderSettingsView" />
app:layout_constraintBottom_toTopOf="@id/homeDrawerHeaderSettingsView" />
<TextView
android:id="@+id/homeDrawerHeaderSettingsView"

View file

@ -40,7 +40,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout"
app:layout_constraintTop_toBottomOf="@id/appBarLayout"
tools:listitem="@layout/item_room" />
<com.google.android.material.floatingactionbutton.FloatingActionButton

View file

@ -11,7 +11,7 @@
android:layout_width="match_parent"
android:layout_height="0dp"
app:itemSpacing="1dp"
app:layout_constraintBottom_toTopOf="@+id/buttonBar"
app:layout_constraintBottom_toTopOf="@id/buttonBar"
app:layout_constraintTop_toTopOf="parent"
tools:itemCount="1"
tools:listitem="@layout/item_bottom_sheet_joinrule_restricted" />

View file

@ -36,7 +36,7 @@
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/keys_backup_shield" />
app:layout_constraintTop_toBottomOf="@id/keys_backup_shield" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/key_input_layout"
@ -45,9 +45,9 @@
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
app:errorEnabled="true"
app:layout_constraintEnd_toStartOf="@+id/keys_backup_import"
app:layout_constraintEnd_toStartOf="@id/keys_backup_import"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/keys_restore_with_key">
app:layout_constraintTop_toBottomOf="@id/keys_restore_with_key">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/key_text_edit"
@ -86,7 +86,7 @@
android:textColor="?vctr_content_secondary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/key_input_layout" />
app:layout_constraintTop_toBottomOf="@id/key_input_layout" />
<Button
android:id="@+id/keys_restore_button"
@ -97,7 +97,7 @@
android:minWidth="200dp"
android:text="@string/keys_backup_unlock_button"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/keys_restore_key_help_with_link"
app:layout_constraintTop_toBottomOf="@id/keys_restore_key_help_with_link"
app:layout_constraintVertical_bias="0" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -72,7 +72,7 @@
android:textColor="?vctr_content_secondary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/keys_backup_passphrase_enter_til"
app:layout_constraintTop_toBottomOf="@id/keys_backup_passphrase_enter_til"
tools:text="@string/keys_backup_restore_with_passphrase_helper_with_link" />
<Button
@ -85,7 +85,7 @@
android:text="@string/keys_backup_unlock_button"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/helperTextWithLink" />
app:layout_constraintTop_toBottomOf="@id/helperTextWithLink" />
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>

View file

@ -30,7 +30,7 @@
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/keys_backup_shield"
app:layout_constraintTop_toBottomOf="@id/keys_backup_shield"
tools:text="@string/keys_backup_restore_success_title" />
<TextView
@ -43,7 +43,7 @@
android:textColor="?vctr_content_secondary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/success_text"
app:layout_constraintTop_toBottomOf="@id/success_text"
tools:text="Restored a backup with 34 keys.\n22 new keys have been added to this session." />
<Button
@ -55,6 +55,6 @@
android:text="@string/done"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/success_details_text" />
app:layout_constraintTop_toBottomOf="@id/success_details_text" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -14,7 +14,7 @@
android:layout_marginTop="@dimen/layout_vertical_margin"
android:importantForAccessibility="no"
android:src="@drawable/backup_keys"
app:layout_constraintBottom_toTopOf="@+id/keys_backup_setup_step1_title"
app:layout_constraintBottom_toTopOf="@id/keys_backup_setup_step1_title"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
@ -33,8 +33,8 @@
android:textAlignment="center"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/keys_backup_setup_step1_description"
app:layout_constraintTop_toBottomOf="@+id/keys_backup_setup_step1_image"
app:layout_constraintBottom_toTopOf="@id/keys_backup_setup_step1_description"
app:layout_constraintTop_toBottomOf="@id/keys_backup_setup_step1_image"
app:layout_constraintVertical_chainStyle="packed" />
<TextView
@ -46,7 +46,7 @@
android:text="@string/keys_backup_setup_step1_description"
android:textAlignment="center"
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toTopOf="@+id/keys_backup_setup_step1_button"
app:layout_constraintBottom_toTopOf="@id/keys_backup_setup_step1_button"
app:layout_constraintTop_toBottomOf="@id/keys_backup_setup_step1_title" />
<!-- Centered button -->

View file

@ -40,7 +40,7 @@
android:textColor="?vctr_content_secondary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/keys_backup_setup_step2_text_title" />
app:layout_constraintTop_toBottomOf="@id/keys_backup_setup_step2_text_title" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/keys_backup_setup_step2_passphrase_enter_til"
@ -110,7 +110,7 @@
android:text="@string/keys_backup_setup_step1_recovery_key_alternative"
android:textAlignment="center"
android:textColor="?vctr_content_primary"
app:layout_constraintTop_toBottomOf="@+id/keys_backup_setup_step2_button" />
app:layout_constraintTop_toBottomOf="@id/keys_backup_setup_step2_button" />
<Button
android:id="@+id/keys_backup_setup_step2_skip_button"

View file

@ -77,8 +77,8 @@
android:maxLines="1"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintEnd_toStartOf="@+id/loginAccountCreatedTime"
app:layout_constraintStart_toEndOf="@+id/loginAccountCreatedAvatar"
app:layout_constraintEnd_toStartOf="@id/loginAccountCreatedTime"
app:layout_constraintStart_toEndOf="@id/loginAccountCreatedAvatar"
app:layout_constraintTop_toTopOf="parent"
tools:text="\@user:domain.org" />
@ -91,7 +91,7 @@
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:textColor="?vctr_content_secondary"
app:layout_constraintBaseline_toBaselineOf="@+id/loginAccountCreatedMemberName"
app:layout_constraintBaseline_toBaselineOf="@id/loginAccountCreatedMemberName"
app:layout_constraintEnd_toEndOf="parent"
tools:text="@tools:sample/date/hhmm" />
@ -102,8 +102,8 @@
android:text="@string/login_account_created_message"
android:textColor="?vctr_content_primary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/loginAccountCreatedMemberName"
app:layout_constraintTop_toBottomOf="@+id/loginAccountCreatedMemberName" />
app:layout_constraintStart_toStartOf="@id/loginAccountCreatedMemberName"
app:layout_constraintTop_toBottomOf="@id/loginAccountCreatedMemberName" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -41,7 +41,7 @@
android:textColor="?vctr_content_secondary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginServerTitle" />
app:layout_constraintTop_toBottomOf="@id/loginServerTitle" />
<!-- Use a CheckableConstraintLayout to keep the pressed state when retrieving login flow -->
<im.vector.app.core.platform.CheckableConstraintLayout
@ -56,7 +56,7 @@
android:paddingEnd="@dimen/layout_horizontal_margin"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginServerText">
app:layout_constraintTop_toBottomOf="@id/loginServerText">
<ImageView
android:id="@+id/loginServerChoiceMatrixOrgIcon"
@ -64,7 +64,7 @@
android:layout_height="wrap_content"
android:importantForAccessibility="no"
android:src="@drawable/ic_logo_matrix_org"
app:layout_constraintBottom_toTopOf="@+id/loginServerChoiceMatrixOrgText"
app:layout_constraintBottom_toTopOf="@id/loginServerChoiceMatrixOrgText"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
@ -83,7 +83,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginServerChoiceMatrixOrgIcon" />
app:layout_constraintTop_toBottomOf="@id/loginServerChoiceMatrixOrgIcon" />
</im.vector.app.core.platform.CheckableConstraintLayout>
@ -99,7 +99,7 @@
android:paddingEnd="0dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginServerChoiceMatrixOrg">
app:layout_constraintTop_toBottomOf="@id/loginServerChoiceMatrixOrg">
<ImageView
android:id="@+id/loginServerChoiceEmsIcon"
@ -107,7 +107,7 @@
android:layout_height="wrap_content"
android:importantForAccessibility="no"
android:src="@drawable/ic_logo_element_matrix_services"
app:layout_constraintBottom_toTopOf="@+id/loginServerChoiceEmsText"
app:layout_constraintBottom_toTopOf="@id/loginServerChoiceEmsText"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
@ -124,9 +124,9 @@
android:text="@string/login_server_modular_text"
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/loginServerChoiceEmsLearnMore"
app:layout_constraintEnd_toStartOf="@id/loginServerChoiceEmsLearnMore"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginServerChoiceEmsIcon" />
app:layout_constraintTop_toBottomOf="@id/loginServerChoiceEmsIcon" />
<TextView
android:id="@+id/loginServerChoiceEmsLearnMore"
@ -136,9 +136,9 @@
android:padding="16dp"
android:text="@string/login_server_modular_learn_more"
android:textColor="?colorPrimary"
app:layout_constraintBottom_toBottomOf="@+id/loginServerChoiceEmsText"
app:layout_constraintBottom_toBottomOf="@id/loginServerChoiceEmsText"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/loginServerChoiceEmsText" />
app:layout_constraintTop_toTopOf="@id/loginServerChoiceEmsText" />
</androidx.constraintlayout.widget.ConstraintLayout>
@ -154,7 +154,7 @@
android:paddingEnd="@dimen/layout_horizontal_margin"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginServerChoiceEms">
app:layout_constraintTop_toBottomOf="@id/loginServerChoiceEms">
<TextView
android:id="@+id/loginServerChoiceOtherTitle"
@ -164,7 +164,7 @@
android:gravity="start"
android:text="@string/login_server_other_title"
android:textColor="?vctr_content_primary"
app:layout_constraintBottom_toTopOf="@+id/loginServerChoiceOtherText"
app:layout_constraintBottom_toTopOf="@id/loginServerChoiceOtherText"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed" />
@ -181,7 +181,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginServerChoiceOtherTitle" />
app:layout_constraintTop_toBottomOf="@id/loginServerChoiceOtherTitle" />
</androidx.constraintlayout.widget.ConstraintLayout>
@ -196,7 +196,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginServerChoiceOther" />
app:layout_constraintTop_toBottomOf="@id/loginServerChoiceOther" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -52,7 +52,7 @@
android:layout_height="wrap_content"
android:importantForAccessibility="no"
android:src="@drawable/ic_logo_matrix_org"
app:layout_constraintBottom_toTopOf="@+id/loginServerChoiceMatrixOrgText"
app:layout_constraintBottom_toTopOf="@id/loginServerChoiceMatrixOrgText"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
@ -71,7 +71,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginServerChoiceMatrixOrgIcon" />
app:layout_constraintTop_toBottomOf="@id/loginServerChoiceMatrixOrgIcon" />
</im.vector.app.core.platform.CheckableConstraintLayout>
@ -104,7 +104,7 @@
android:gravity="start"
android:text="@string/login_element_matrix_server_and_others"
android:textColor="?vctr_content_primary"
app:layout_constraintBottom_toTopOf="@+id/loginServerChoiceOtherText"
app:layout_constraintBottom_toTopOf="@id/loginServerChoiceOtherText"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed" />
@ -121,7 +121,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginServerChoiceOtherTitle" />
app:layout_constraintTop_toBottomOf="@id/loginServerChoiceOtherTitle" />
</im.vector.app.core.platform.CheckableConstraintLayout>
@ -135,9 +135,9 @@
android:paddingBottom="16dp"
android:text="@string/login_server_modular_learn_more_about_ems"
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toBottomOf="@+id/loginServerChoiceEmsText"
app:layout_constraintBottom_toBottomOf="@id/loginServerChoiceEmsText"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/loginServerChoiceEmsText" />
app:layout_constraintTop_toTopOf="@id/loginServerChoiceEmsText" />
</LinearLayout>

View file

@ -39,7 +39,7 @@
android:layout_marginTop="27dp"
android:textColor="?vctr_content_primary"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginSignupSigninServerIcon"
app:layout_constraintTop_toBottomOf="@id/loginSignupSigninServerIcon"
app:layout_goneMarginTop="0dp"
tools:text="@string/login_connect_to" />
@ -53,7 +53,7 @@
android:textColor="?vctr_content_secondary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginSignupSigninTitle"
app:layout_constraintTop_toBottomOf="@id/loginSignupSigninTitle"
tools:text="@string/login_server_matrix_org_text" />
<!-- Sign up or sign in SSO -->
@ -65,7 +65,7 @@
android:layout_marginTop="38dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginSignupSigninText"
app:layout_constraintTop_toBottomOf="@id/loginSignupSigninText"
tools:text="@string/login_signup" />
<!-- Sign in or gone -->
@ -80,7 +80,7 @@
app:layout_constraintBottom_toTopOf="@id/loginSignupSigninSignInSocialLoginContainer"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginSignupSigninSubmit"
app:layout_constraintTop_toBottomOf="@id/loginSignupSigninSubmit"
tools:visibility="visible" />
<!-- Social Login buttons -->

View file

@ -16,7 +16,7 @@
android:id="@+id/loginSplashSpace1"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/loginSplashLogoContainer"
app:layout_constraintBottom_toTopOf="@id/loginSplashLogoContainer"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="spread_inside"
app:layout_constraintVertical_weight="4" />
@ -27,10 +27,10 @@
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical"
app:layout_constraintBottom_toTopOf="@+id/loginSplashSpace2"
app:layout_constraintBottom_toTopOf="@id/loginSplashSpace2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginSplashSpace1">
app:layout_constraintTop_toBottomOf="@id/loginSplashSpace1">
<ImageView
android:id="@+id/loginSplashLogo"
@ -56,8 +56,8 @@
android:id="@+id/loginSplashSpace2"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/loginSplashTitle"
app:layout_constraintTop_toBottomOf="@+id/loginSplashLogoContainer"
app:layout_constraintBottom_toTopOf="@id/loginSplashTitle"
app:layout_constraintTop_toBottomOf="@id/loginSplashLogoContainer"
app:layout_constraintVertical_weight="1" />
<TextView
@ -69,27 +69,27 @@
android:text="@string/login_splash_title"
android:textColor="?vctr_content_primary"
android:transitionName="loginTitleTransition"
app:layout_constraintBottom_toTopOf="@+id/loginSplashSpace3"
app:layout_constraintBottom_toTopOf="@id/loginSplashSpace3"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginSplashSpace2" />
app:layout_constraintTop_toBottomOf="@id/loginSplashSpace2" />
<Space
android:id="@+id/loginSplashSpace3"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/loginSplashContent"
app:layout_constraintTop_toBottomOf="@+id/loginSplashTitle"
app:layout_constraintBottom_toTopOf="@id/loginSplashContent"
app:layout_constraintTop_toBottomOf="@id/loginSplashTitle"
app:layout_constraintVertical_weight="2" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/loginSplashContent"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintBottom_toTopOf="@+id/loginSplashSpace4"
app:layout_constraintBottom_toTopOf="@id/loginSplashSpace4"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginSplashSpace3">
app:layout_constraintTop_toBottomOf="@id/loginSplashSpace3">
<ImageView
android:id="@+id/loginSplashPicto1"
@ -99,7 +99,7 @@
android:importantForAccessibility="no"
android:src="@drawable/ic_login_splash_message_circle"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/loginSplashText1"
app:layout_constraintTop_toTopOf="@id/loginSplashText1"
app:tint="?vctr_content_secondary"
tools:ignore="MissingPrefix" />
@ -112,7 +112,7 @@
android:gravity="start"
android:text="@string/login_splash_text1"
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toTopOf="@+id/loginSplashText2"
app:layout_constraintBottom_toTopOf="@id/loginSplashText2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/loginSplashPicto1"
app:layout_constraintTop_toTopOf="parent" />
@ -124,7 +124,7 @@
android:importantForAccessibility="no"
android:src="@drawable/ic_login_splash_lock"
app:layout_constraintStart_toStartOf="@id/loginSplashPicto1"
app:layout_constraintTop_toTopOf="@+id/loginSplashText2"
app:layout_constraintTop_toTopOf="@id/loginSplashText2"
app:tint="?vctr_content_secondary"
tools:ignore="MissingPrefix" />
@ -140,7 +140,7 @@
app:layout_constraintBottom_toTopOf="@id/loginSplashText3"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@id/loginSplashText1"
app:layout_constraintTop_toBottomOf="@+id/loginSplashText1" />
app:layout_constraintTop_toBottomOf="@id/loginSplashText1" />
<ImageView
android:id="@+id/loginSplashPicto3"
@ -148,8 +148,8 @@
android:layout_height="wrap_content"
android:importantForAccessibility="no"
android:src="@drawable/ic_login_splash_sliders"
app:layout_constraintStart_toStartOf="@+id/loginSplashPicto1"
app:layout_constraintTop_toTopOf="@+id/loginSplashText3"
app:layout_constraintStart_toStartOf="@id/loginSplashPicto1"
app:layout_constraintTop_toTopOf="@id/loginSplashText3"
app:tint="?vctr_content_secondary"
tools:ignore="MissingPrefix" />
@ -164,8 +164,8 @@
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/loginSplashText1"
app:layout_constraintTop_toBottomOf="@+id/loginSplashText2" />
app:layout_constraintStart_toStartOf="@id/loginSplashText1"
app:layout_constraintTop_toBottomOf="@id/loginSplashText2" />
</androidx.constraintlayout.widget.ConstraintLayout>
@ -173,8 +173,8 @@
android:id="@+id/loginSplashSpace4"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/loginSplashSubmit"
app:layout_constraintTop_toBottomOf="@+id/loginSplashContent"
app:layout_constraintBottom_toTopOf="@id/loginSplashSubmit"
app:layout_constraintTop_toBottomOf="@id/loginSplashContent"
app:layout_constraintVertical_weight="2" />
<Button
@ -184,17 +184,17 @@
android:layout_height="wrap_content"
android:text="@string/login_splash_submit"
android:transitionName="loginSubmitTransition"
app:layout_constraintBottom_toTopOf="@+id/loginSplashSpace5"
app:layout_constraintBottom_toTopOf="@id/loginSplashSpace5"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginSplashSpace4" />
app:layout_constraintTop_toBottomOf="@id/loginSplashSpace4" />
<Space
android:id="@+id/loginSplashSpace5"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginSplashSubmit"
app:layout_constraintTop_toBottomOf="@id/loginSplashSubmit"
app:layout_constraintVertical_weight="4" />
<TextView

View file

@ -16,7 +16,7 @@
android:id="@+id/loginSplashSpace1"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/loginSplashLogoContainer"
app:layout_constraintBottom_toTopOf="@id/loginSplashLogoContainer"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="spread_inside"
app:layout_constraintVertical_weight="4" />
@ -27,10 +27,10 @@
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:orientation="vertical"
app:layout_constraintBottom_toTopOf="@+id/loginSplashSpace2"
app:layout_constraintBottom_toTopOf="@id/loginSplashSpace2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginSplashSpace1">
app:layout_constraintTop_toBottomOf="@id/loginSplashSpace1">
<ImageView
android:id="@+id/loginSplashLogo"
@ -56,8 +56,8 @@
android:id="@+id/loginSplashSpace2"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/loginSplashTitle"
app:layout_constraintTop_toBottomOf="@+id/loginSplashLogoContainer"
app:layout_constraintBottom_toTopOf="@id/loginSplashTitle"
app:layout_constraintTop_toBottomOf="@id/loginSplashLogoContainer"
app:layout_constraintVertical_weight="1" />
<TextView
@ -69,27 +69,27 @@
android:text="@string/login_splash_title"
android:textColor="?vctr_content_primary"
android:transitionName="loginTitleTransition"
app:layout_constraintBottom_toTopOf="@+id/loginSplashSpace25"
app:layout_constraintBottom_toTopOf="@id/loginSplashSpace25"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginSplashSpace2" />
app:layout_constraintTop_toBottomOf="@id/loginSplashSpace2" />
<Space
android:id="@+id/loginSplashSpace25"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/loginSplashContent"
app:layout_constraintTop_toBottomOf="@+id/loginSplashTitle"
app:layout_constraintBottom_toTopOf="@id/loginSplashContent"
app:layout_constraintTop_toBottomOf="@id/loginSplashTitle"
app:layout_constraintVertical_weight="3" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/loginSplashContent"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintBottom_toTopOf="@+id/loginSplashSpace3"
app:layout_constraintBottom_toTopOf="@id/loginSplashSpace3"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginSplashSpace25">
app:layout_constraintTop_toBottomOf="@id/loginSplashSpace25">
<ImageView
android:id="@+id/loginSplashPicto1"
@ -99,7 +99,7 @@
android:importantForAccessibility="no"
android:src="@drawable/ic_login_splash_message_circle"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/loginSplashText1"
app:layout_constraintTop_toTopOf="@id/loginSplashText1"
app:tint="?vctr_content_secondary"
tools:ignore="MissingPrefix" />
@ -112,7 +112,7 @@
android:gravity="start"
android:text="@string/login_splash_text1"
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toTopOf="@+id/loginSplashText2"
app:layout_constraintBottom_toTopOf="@id/loginSplashText2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/loginSplashPicto1"
app:layout_constraintTop_toTopOf="parent" />
@ -124,7 +124,7 @@
android:importantForAccessibility="no"
android:src="@drawable/ic_login_splash_lock"
app:layout_constraintStart_toStartOf="@id/loginSplashPicto1"
app:layout_constraintTop_toTopOf="@+id/loginSplashText2"
app:layout_constraintTop_toTopOf="@id/loginSplashText2"
app:tint="?vctr_content_secondary"
tools:ignore="MissingPrefix" />
@ -140,7 +140,7 @@
app:layout_constraintBottom_toTopOf="@id/loginSplashText3"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@id/loginSplashText1"
app:layout_constraintTop_toBottomOf="@+id/loginSplashText1" />
app:layout_constraintTop_toBottomOf="@id/loginSplashText1" />
<ImageView
android:id="@+id/loginSplashPicto3"
@ -148,8 +148,8 @@
android:layout_height="wrap_content"
android:importantForAccessibility="no"
android:src="@drawable/ic_login_splash_sliders"
app:layout_constraintStart_toStartOf="@+id/loginSplashPicto1"
app:layout_constraintTop_toTopOf="@+id/loginSplashText3"
app:layout_constraintStart_toStartOf="@id/loginSplashPicto1"
app:layout_constraintTop_toTopOf="@id/loginSplashText3"
app:tint="?vctr_content_secondary"
tools:ignore="MissingPrefix" />
@ -164,8 +164,8 @@
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/loginSplashText1"
app:layout_constraintTop_toBottomOf="@+id/loginSplashText2" />
app:layout_constraintStart_toStartOf="@id/loginSplashText1"
app:layout_constraintTop_toBottomOf="@id/loginSplashText2" />
</androidx.constraintlayout.widget.ConstraintLayout>
@ -173,8 +173,8 @@
android:id="@+id/loginSplashSpace3"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/loginFormContent"
app:layout_constraintTop_toBottomOf="@+id/loginSplashContent"
app:layout_constraintBottom_toTopOf="@id/loginFormContent"
app:layout_constraintTop_toBottomOf="@id/loginSplashContent"
app:layout_constraintVertical_weight="3" />
<LinearLayout
@ -182,10 +182,10 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintBottom_toTopOf="@+id/loginSplashSpace5"
app:layout_constraintBottom_toTopOf="@id/loginSplashSpace5"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginSplashSpace3">
app:layout_constraintTop_toBottomOf="@id/loginSplashSpace3">
<Button
android:id="@+id/loginSignupSigninSignUp"
@ -211,7 +211,7 @@
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@+id/loginFormContent"
app:layout_constraintTop_toBottomOf="@id/loginFormContent"
app:layout_constraintVertical_weight="6" />
<TextView

View file

@ -40,7 +40,7 @@
android:paddingEnd="36dp"
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
android:id="@+id/loginTermsPolicyList"
@ -48,8 +48,8 @@
android:layout_height="0dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="16dp"
app:layout_constraintBottom_toTopOf="@+id/loginTermsSubmit"
app:layout_constraintTop_toBottomOf="@+id/loginTermsNotice"
app:layout_constraintBottom_toTopOf="@id/loginTermsSubmit"
app:layout_constraintTop_toBottomOf="@id/loginTermsNotice"
tools:listitem="@layout/item_policy" />
<Button

View file

@ -44,7 +44,7 @@
android:paddingEnd="36dp"
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
android:id="@+id/loginTermsPolicyList"
@ -52,8 +52,8 @@
android:layout_height="0dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="16dp"
app:layout_constraintBottom_toTopOf="@+id/loginTermsSubmit"
app:layout_constraintTop_toBottomOf="@+id/loginTermsNotice"
app:layout_constraintBottom_toTopOf="@id/loginTermsSubmit"
app:layout_constraintTop_toBottomOf="@id/loginTermsNotice"
tools:listitem="@layout/item_policy" />
<Button

View file

@ -82,7 +82,7 @@
android:textColor="?vctr_content_primary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/matrixProfileToolbarAvatarImageView"
app:layout_constraintStart_toEndOf="@id/matrixProfileToolbarAvatarImageView"
app:layout_constraintTop_toTopOf="parent"
tools:alpha="1"
tools:text="@sample/rooms.json/data/name" />

View file

@ -39,7 +39,7 @@
android:textAlignment="textStart"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintTop_toBottomOf="@+id/matrixToCardAvatar"
app:layout_constraintTop_toBottomOf="@id/matrixToCardAvatar"
tools:text="@sample/rooms.json/data/name" />
<TextView

View file

@ -31,7 +31,7 @@
android:singleLine="true"
android:textAlignment="center"
android:textColor="?vctr_content_primary"
app:layout_constraintTop_toBottomOf="@+id/matrixToCardAvatar"
app:layout_constraintTop_toBottomOf="@id/matrixToCardAvatar"
tools:text="@sample/users.json/data/displayName" />
<TextView

View file

@ -48,7 +48,7 @@
app:iconPadding="13dp"
app:iconTint="?colorPrimary"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/publicRoomsToolbar" />
app:layout_constraintTop_toBottomOf="@id/publicRoomsToolbar" />
</com.google.android.material.appbar.AppBarLayout>

View file

@ -73,7 +73,7 @@
android:layout_marginBottom="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/addRoomToSpaceToolbar"
app:layout_constraintTop_toBottomOf="@id/addRoomToSpaceToolbar"
app:queryHint="@string/search_hint_room_name" />
</com.google.android.material.appbar.AppBarLayout>

View file

@ -9,7 +9,7 @@
android:id="@+id/reviewTermsRecyclerView"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/reviewTermsBottomBar"
app:layout_constraintBottom_toTopOf="@id/reviewTermsBottomBar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"

View file

@ -49,9 +49,9 @@
android:layout_height="17dp"
android:layout_marginStart="5dp"
android:layout_marginTop="2dp"
app:layout_constraintBottom_toBottomOf="@+id/roomToolbarTitleView"
app:layout_constraintStart_toEndOf="@+id/roomToolbarAvatarImageView"
app:layout_constraintTop_toTopOf="@+id/roomToolbarTitleView" />
app:layout_constraintBottom_toBottomOf="@id/roomToolbarTitleView"
app:layout_constraintStart_toEndOf="@id/roomToolbarAvatarImageView"
app:layout_constraintTop_toTopOf="@id/roomToolbarTitleView" />
<im.vector.app.core.ui.views.PresenceStateImageView
android:id="@+id/roomToolbarPresenceImageView"
@ -93,10 +93,10 @@
android:ellipsize="end"
android:maxLines="1"
android:textColor="?vctr_content_primary"
app:layout_constraintBottom_toTopOf="@+id/roomToolbarSubtitleView"
app:layout_constraintBottom_toTopOf="@id/roomToolbarSubtitleView"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@+id/roomToolbarDecorationImageView"
app:layout_constraintStart_toEndOf="@id/roomToolbarDecorationImageView"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
app:layout_goneMarginStart="7dp"
@ -115,8 +115,8 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@+id/roomToolbarAvatarImageView"
app:layout_constraintTop_toBottomOf="@+id/roomToolbarTitleView"
app:layout_constraintStart_toEndOf="@id/roomToolbarAvatarImageView"
app:layout_constraintTop_toBottomOf="@id/roomToolbarTitleView"
tools:text="@sample/rooms.json/data/topic"
tools:visibility="visible" />
@ -156,7 +156,7 @@
android:layout_width="0dp"
android:layout_height="0dp"
android:overScrollMode="always"
app:layout_constraintBottom_toTopOf="@+id/timelineRecyclerViewBarrier"
app:layout_constraintBottom_toTopOf="@id/timelineRecyclerViewBarrier"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/removeJitsiWidgetView"
@ -231,7 +231,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout" />
app:layout_constraintTop_toBottomOf="@id/appBarLayout" />
<androidx.constraintlayout.widget.Barrier
android:id="@+id/badgeBarrier"

View file

@ -32,7 +32,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout"
app:layout_constraintTop_toBottomOf="@id/appBarLayout"
tools:listitem="@layout/item_room_directory" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -50,7 +50,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@+id/roomPreviewNoPreviewToolbarAvatar"
app:layout_constraintStart_toEndOf="@id/roomPreviewNoPreviewToolbarAvatar"
app:layout_constraintTop_toTopOf="parent"
tools:text="@sample/users.json/data/displayName" />

View file

@ -58,7 +58,7 @@
android:textColor="?vctr_content_primary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/roomSettingsToolbarAvatarImageView"
app:layout_constraintStart_toEndOf="@id/roomSettingsToolbarAvatarImageView"
app:layout_constraintTop_toTopOf="parent"
tools:text="@sample/rooms.json/data/name" />
@ -75,7 +75,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout">
app:layout_constraintTop_toBottomOf="@id/appBarLayout">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/roomSettingsRecyclerView"

View file

@ -56,7 +56,7 @@
android:textColor="?vctr_content_primary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/roomUploadsToolbarAvatarImageView"
app:layout_constraintStart_toEndOf="@id/roomUploadsToolbarAvatarImageView"
app:layout_constraintTop_toTopOf="parent"
tools:text="@sample/rooms.json/data/name" />
@ -68,7 +68,7 @@
android:id="@+id/roomUploadsTabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@+id/roomUploadsToolbarAvatarImageView"
app:layout_constraintTop_toBottomOf="@id/roomUploadsToolbarAvatarImageView"
app:tabGravity="fill"
app:tabMaxWidth="0dp"
app:tabMode="fixed" />

View file

@ -70,7 +70,7 @@
android:layout_marginBottom="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/addRoomToSpaceToolbar"
app:layout_constraintTop_toBottomOf="@id/addRoomToSpaceToolbar"
app:queryHint="@string/search_hint_room_name" />
<Button
@ -87,7 +87,7 @@
app:iconPadding="13dp"
app:iconTint="?colorPrimary"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/addRoomToSpaceToolbar"
app:layout_constraintTop_toBottomOf="@id/addRoomToSpaceToolbar"
tools:ignore="MissingPrefix" />
</com.google.android.material.appbar.AppBarLayout>

View file

@ -59,7 +59,7 @@
android:layout_marginBottom="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/addRoomToSpaceToolbar"
app:layout_constraintTop_toBottomOf="@id/addRoomToSpaceToolbar"
app:queryHint="@string/search_hint_room_name" />
</com.google.android.material.appbar.AppBarLayout>

View file

@ -52,7 +52,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@+id/spacePreviewToolbarAvatar"
app:layout_constraintStart_toEndOf="@id/spacePreviewToolbarAvatar"
app:layout_constraintTop_toTopOf="parent"
tools:text="@sample/users.json/data/displayName" />
@ -82,7 +82,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/spacePreviewPeekingProgress"
app:layout_constraintTop_toBottomOf="@id/spacePreviewPeekingProgress"
tools:listitem="@layout/item_space_subspace" />
<View

View file

@ -17,9 +17,9 @@
android:layout_marginStart="16dp"
android:importantForAccessibility="no"
android:src="@drawable/ic_security_key_24dp"
app:layout_constraintBottom_toBottomOf="@+id/ssss_restore_with_key"
app:layout_constraintBottom_toBottomOf="@id/ssss_restore_with_key"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/ssss_restore_with_key"
app:layout_constraintTop_toTopOf="@id/ssss_restore_with_key"
app:tint="?vctr_content_primary"
tools:ignore="MissingPrefix" />
@ -105,8 +105,8 @@
app:constraint_referenced_ids="ssss_key_use_file,ssss_key_submit"
app:flow_horizontalStyle="spread_inside"
app:flow_wrapMode="chain"
app:layout_constraintBottom_toTopOf="@+id/ssss_key_reset"
app:layout_constraintTop_toBottomOf="@+id/ssss_key_enter_til"
app:layout_constraintBottom_toTopOf="@id/ssss_key_reset"
app:layout_constraintTop_toBottomOf="@id/ssss_key_enter_til"
app:layout_goneMarginBottom="@dimen/layout_vertical_margin_big" />

View file

@ -19,9 +19,9 @@
android:layout_marginStart="@dimen/layout_horizontal_margin"
android:importantForAccessibility="no"
android:src="@drawable/ic_security_phrase_24dp"
app:layout_constraintBottom_toBottomOf="@+id/ssss_restore_with_passphrase"
app:layout_constraintBottom_toBottomOf="@id/ssss_restore_with_passphrase"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/ssss_restore_with_passphrase"
app:layout_constraintTop_toTopOf="@id/ssss_restore_with_passphrase"
app:tint="?vctr_content_primary"
tools:ignore="MissingPrefix" />
@ -84,7 +84,7 @@
android:layout_marginEnd="@dimen/layout_horizontal_margin"
android:text="@string/_continue"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/ssss_passphrase_enter_til" />
app:layout_constraintTop_toBottomOf="@id/ssss_passphrase_enter_til" />
<TextView
android:id="@+id/ssss_passphrase_or"
@ -96,7 +96,7 @@
android:textColor="?vctr_content_primary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/ssss_passphrase_submit" />
app:layout_constraintTop_toBottomOf="@id/ssss_passphrase_submit" />
<Button
android:id="@+id/ssss_passphrase_use_key"
@ -106,10 +106,10 @@
android:layout_marginTop="16dp"
android:text="@string/use_recovery_key"
app:icon="@drawable/ic_security_key_24dp"
app:layout_constraintBottom_toTopOf="@+id/ssss_passphrase_reset"
app:layout_constraintBottom_toTopOf="@id/ssss_passphrase_reset"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/ssss_passphrase_or"
app:layout_constraintTop_toBottomOf="@id/ssss_passphrase_or"
tools:ignore="MissingPrefix" />
<im.vector.app.core.ui.views.BottomSheetActionButton

View file

@ -53,7 +53,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@+id/showUserCodeClose"
app:layout_constraintStart_toEndOf="@id/showUserCodeClose"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
@ -73,7 +73,7 @@
app:cardCornerRadius="8dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout"
app:layout_constraintTop_toBottomOf="@id/appBarLayout"
app:layout_constraintWidth_percent="0.8">
<androidx.constraintlayout.widget.ConstraintLayout

View file

@ -56,7 +56,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@+id/userDirectoryClose"
app:layout_constraintStart_toEndOf="@id/userDirectoryClose"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
@ -73,7 +73,7 @@
android:layout_marginBottom="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout">
app:layout_constraintTop_toBottomOf="@id/appBarLayout">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/userDirectorySearchById"
@ -95,7 +95,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout"
app:layout_constraintTop_toBottomOf="@id/appBarLayout"
tools:listitem="@layout/item_known_user" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -51,7 +51,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@+id/userListClose"
app:layout_constraintStart_toEndOf="@id/userListClose"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
@ -69,7 +69,7 @@
android:layout_marginEnd="@dimen/layout_horizontal_margin"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout"
app:layout_constraintTop_toBottomOf="@id/appBarLayout"
app:maxHeight="64dp">
<com.google.android.material.chip.ChipGroup
@ -97,7 +97,7 @@
android:paddingBottom="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/chipGroupScrollView" />
app:layout_constraintTop_toBottomOf="@id/chipGroupScrollView" />
<View
android:id="@+id/userListFilterDivider"
@ -106,7 +106,7 @@
android:background="?vctr_list_separator"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/userListSearch" />
app:layout_constraintTop_toBottomOf="@id/userListSearch" />
<TextView
@ -133,7 +133,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/userListE2EbyDefaultDisabled"
app:layout_constraintTop_toBottomOf="@id/userListE2EbyDefaultDisabled"
tools:listitem="@layout/item_known_user" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -28,7 +28,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="5dp"
android:layout_toEndOf="@+id/commandName"
android:layout_toEndOf="@id/commandName"
android:maxLines="1"
android:textColor="?vctr_content_secondary"
android:textStyle="italic"

View file

@ -34,8 +34,8 @@
android:importantForAccessibility="no"
android:scaleType="center"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/actionTitleContainer"
app:layout_constraintStart_toEndOf="@+id/actionStartSpace"
app:layout_constraintEnd_toStartOf="@id/actionTitleContainer"
app:layout_constraintStart_toEndOf="@id/actionStartSpace"
app:layout_constraintTop_toTopOf="parent"
app:tint="?vctr_content_secondary"
tools:ignore="MissingPrefix"
@ -47,7 +47,7 @@
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/actionSelected"
app:layout_constraintEnd_toStartOf="@id/actionSelected"
app:layout_constraintStart_toEndOf="@id/actionIcon"
app:layout_constraintTop_toTopOf="parent">

View file

@ -34,7 +34,7 @@
android:singleLine="true"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintEnd_toStartOf="@+id/bottom_sheet_message_preview_timestamp"
app:layout_constraintEnd_toStartOf="@id/bottom_sheet_message_preview_timestamp"
app:layout_constraintStart_toEndOf="@id/bottom_sheet_message_preview_avatar"
app:layout_constraintTop_toTopOf="@id/bottom_sheet_message_preview_avatar"
tools:fontFamily="sans-serif"
@ -59,7 +59,7 @@
android:importantForAccessibility="no"
android:scaleType="centerCrop"
android:visibility="gone"
app:layout_constraintStart_toStartOf="@+id/bottom_sheet_message_preview_sender"
app:layout_constraintStart_toStartOf="@id/bottom_sheet_message_preview_sender"
app:layout_constraintTop_toBottomOf="@id/bottom_sheet_message_preview_sender"
tools:ignore="MissingPrefix"
tools:src="@tools:sample/backgrounds/scenic"
@ -77,7 +77,7 @@
android:maxLines="3"
android:textColor="?vctr_content_secondary"
android:textIsSelectable="false"
app:layout_constraintBottom_toTopOf="@+id/bottom_sheet_message_preview_body_details"
app:layout_constraintBottom_toTopOf="@id/bottom_sheet_message_preview_body_details"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/bottom_sheet_message_preview_avatar"
app:layout_constraintTop_toBottomOf="@id/bottom_sheet_message_preview_image"

View file

@ -36,8 +36,8 @@
android:singleLine="true"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="@+id/bottomSheetRoomPreviewAvatar"
app:layout_constraintEnd_toStartOf="@+id/bottomSheetRoomPreviewLowPriority"
app:layout_constraintBottom_toBottomOf="@id/bottomSheetRoomPreviewAvatar"
app:layout_constraintEnd_toStartOf="@id/bottomSheetRoomPreviewLowPriority"
app:layout_constraintStart_toEndOf="@id/bottomSheetRoomPreviewAvatar"
app:layout_constraintTop_toTopOf="@id/bottomSheetRoomPreviewAvatar"
tools:fontFamily="sans-serif"
@ -51,8 +51,8 @@
android:contentDescription="@string/room_list_quick_actions_low_priority_add"
android:scaleType="centerInside"
android:src="@drawable/ic_low_priority_24"
app:layout_constraintBottom_toBottomOf="@+id/bottomSheetRoomPreviewAvatar"
app:layout_constraintEnd_toStartOf="@+id/bottomSheetRoomPreviewFavorite"
app:layout_constraintBottom_toBottomOf="@id/bottomSheetRoomPreviewAvatar"
app:layout_constraintEnd_toStartOf="@id/bottomSheetRoomPreviewFavorite"
app:layout_constraintTop_toTopOf="@id/bottomSheetRoomPreviewAvatar"
tools:contentDescription="@string/room_list_quick_actions_low_priority_add"
tools:tint="?vctr_content_secondary" />
@ -64,8 +64,8 @@
android:background="?attr/selectableItemBackground"
android:contentDescription="@string/room_list_quick_actions_favorite_add"
android:scaleType="centerInside"
app:layout_constraintBottom_toBottomOf="@+id/bottomSheetRoomPreviewAvatar"
app:layout_constraintEnd_toStartOf="@+id/bottomSheetRoomPreviewSettings"
app:layout_constraintBottom_toBottomOf="@id/bottomSheetRoomPreviewAvatar"
app:layout_constraintEnd_toStartOf="@id/bottomSheetRoomPreviewSettings"
app:layout_constraintTop_toTopOf="@id/bottomSheetRoomPreviewAvatar"
tools:src="@drawable/ic_star_24dp"
tools:tint="?vctr_content_secondary" />
@ -78,7 +78,7 @@
android:contentDescription="@string/room_list_quick_actions_settings"
android:scaleType="centerInside"
android:src="@drawable/ic_room_actions_settings"
app:layout_constraintBottom_toBottomOf="@+id/bottomSheetRoomPreviewAvatar"
app:layout_constraintBottom_toBottomOf="@id/bottomSheetRoomPreviewAvatar"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/bottomSheetRoomPreviewAvatar"
app:tint="?vctr_content_secondary"

View file

@ -17,7 +17,7 @@
android:layout_height="wrap_content"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/itemBottomSheetTitleSubtitle"
app:layout_constraintBottom_toTopOf="@id/itemBottomSheetTitleSubtitle"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
@ -34,7 +34,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/itemBottomSheetTitleTitle"
app:layout_constraintTop_toBottomOf="@id/itemBottomSheetTitleTitle"
tools:text="@string/room_settings_room_read_history_dialog_subtitle"
tools:visibility="visible" />

View file

@ -10,5 +10,5 @@
android:layout_marginEnd="@dimen/layout_horizontal_margin"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/phoneBookFilterContainer"
app:layout_constraintTop_toBottomOf="@id/phoneBookFilterContainer"
tools:text="@string/matrix_only_filter" />

View file

@ -38,8 +38,8 @@
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/contactDetailName"
app:layout_constraintTop_toBottomOf="@+id/contactDetailName"
app:layout_constraintStart_toStartOf="@id/contactDetailName"
app:layout_constraintTop_toBottomOf="@id/contactDetailName"
tools:text="@sample/users.json/data/id"
tools:visibility="visible" />

View file

@ -33,7 +33,7 @@
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/contactAvatar"
app:layout_constraintStart_toEndOf="@id/contactAvatar"
app:layout_constraintTop_toTopOf="parent"
tools:text="@tools:sample/full_names" />

View file

@ -50,10 +50,10 @@
android:maxLines="1"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/createDirectRoomUserID"
app:layout_constraintBottom_toTopOf="@id/createDirectRoomUserID"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toEndOf="@+id/createDirectRoomUserAvatarContainer"
app:layout_constraintStart_toEndOf="@id/createDirectRoomUserAvatarContainer"
app:layout_constraintTop_toTopOf="parent"
tools:text="@sample/users.json/data/displayName" />
@ -68,8 +68,8 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="@+id/createDirectRoomUserName"
app:layout_constraintTop_toBottomOf="@+id/createDirectRoomUserName"
app:layout_constraintStart_toStartOf="@id/createDirectRoomUserName"
app:layout_constraintTop_toBottomOf="@id/createDirectRoomUserName"
tools:text="@sample/users.json/data/id" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -30,8 +30,8 @@
android:paddingEnd="8dp"
android:textColor="?vctr_content_secondary"
app:layout_constraintEnd_toStartOf="@id/discovery_policy_arrow"
app:layout_constraintStart_toStartOf="@+id/discovery_policy_name"
app:layout_constraintTop_toBottomOf="@+id/discovery_policy_name"
app:layout_constraintStart_toStartOf="@id/discovery_policy_name"
app:layout_constraintTop_toBottomOf="@id/discovery_policy_name"
tools:text="Use bots, bridges, widget and sticker packs." />
<!-- Do not use drawableEnd on the TextView because of RTL support -->

View file

@ -47,8 +47,8 @@
android:scaleType="center"
android:src="@drawable/ic_delete"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="@+id/itemEditableAvatarImageContainer"
app:layout_constraintTop_toTopOf="@+id/itemEditableAvatarImageContainer"
app:layout_constraintEnd_toEndOf="@id/itemEditableAvatarImageContainer"
app:layout_constraintTop_toTopOf="@id/itemEditableAvatarImageContainer"
app:tint="?colorError"
tools:ignore="MissingPrefix"
tools:visibility="visible" />

View file

@ -25,7 +25,7 @@
android:text="@string/global_retry"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/itemErrorRetryText" />
app:layout_constraintTop_toBottomOf="@id/itemErrorRetryText" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -14,7 +14,7 @@
android:layout_height="wrap_content"
android:autoLink="web"
android:ellipsize="end"
app:layout_constraintBottom_toTopOf="@+id/expandableArrow"
app:layout_constraintBottom_toTopOf="@id/expandableArrow"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
@ -30,7 +30,7 @@
android:src="@drawable/ic_expand_more"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/expandableContent"
app:layout_constraintTop_toBottomOf="@id/expandableContent"
app:tint="?vctr_content_secondary"
tools:ignore="MissingPrefix" />

View file

@ -17,8 +17,8 @@
android:layout_marginEnd="@dimen/layout_horizontal_margin"
android:duplicateParentState="true"
android:textColor="?vctr_content_primary"
app:layout_constraintBottom_toTopOf="@+id/formSwitchSummary"
app:layout_constraintEnd_toStartOf="@+id/formSwitchSwitch"
app:layout_constraintBottom_toTopOf="@id/formSwitchSummary"
app:layout_constraintEnd_toStartOf="@id/formSwitchSwitch"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
@ -32,9 +32,9 @@
android:layout_marginEnd="8dp"
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/formSwitchSwitch"
app:layout_constraintStart_toStartOf="@+id/formSwitchTitle"
app:layout_constraintTop_toBottomOf="@+id/formSwitchTitle"
app:layout_constraintEnd_toStartOf="@id/formSwitchSwitch"
app:layout_constraintStart_toStartOf="@id/formSwitchTitle"
app:layout_constraintTop_toBottomOf="@id/formSwitchTitle"
tools:text="@string/create_room_public_description" />
<com.google.android.material.switchmaterial.SwitchMaterial

View file

@ -50,10 +50,10 @@
android:maxWidth="300dp"
android:maxLines="10"
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toTopOf="@+id/emptyItemButton"
app:layout_constraintBottom_toTopOf="@id/emptyItemButton"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/emptyItemTitleView"
app:layout_constraintTop_toBottomOf="@id/emptyItemTitleView"
tools:text="@string/this_space_has_no_rooms_admin" />
<Button

View file

@ -35,8 +35,8 @@
android:textStyle="bold"
android:visibility="gone"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toTopOf="@+id/item_generic_description_text"
app:layout_constraintEnd_toStartOf="@+id/item_generic_barrier"
app:layout_constraintBottom_toTopOf="@id/item_generic_description_text"
app:layout_constraintEnd_toStartOf="@id/item_generic_barrier"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toEndOf="@id/item_generic_title_image"
app:layout_constraintTop_toTopOf="parent"
@ -57,9 +57,9 @@
android:textColor="?vctr_content_secondary"
android:visibility="gone"
app:layout_constraintBottom_toTopOf="@id/item_generic_action_button"
app:layout_constraintEnd_toStartOf="@+id/item_generic_barrier"
app:layout_constraintEnd_toStartOf="@id/item_generic_barrier"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/item_generic_title_text"
app:layout_constraintTop_toBottomOf="@id/item_generic_title_text"
tools:maxLines="3"
tools:text="@tools:sample/lorem/random"
tools:visibility="visible" />
@ -79,9 +79,9 @@
android:layout_margin="16dp"
android:importantForAccessibility="no"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@+id/item_generic_description_text"
app:layout_constraintBottom_toBottomOf="@id/item_generic_description_text"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/item_generic_title_text"
app:layout_constraintTop_toTopOf="@id/item_generic_title_text"
tools:srcCompat="@drawable/e2e_warning"
tools:visibility="visible" />
@ -92,9 +92,9 @@
android:layout_height="20dp"
android:layout_margin="16dp"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@+id/item_generic_description_text"
app:layout_constraintBottom_toBottomOf="@id/item_generic_description_text"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/item_generic_title_text"
app:layout_constraintTop_toTopOf="@id/item_generic_title_text"
tools:visibility="visible" />
<!-- Set a max width because the text can be long -->
@ -107,9 +107,9 @@
android:layout_marginBottom="16dp"
android:maxWidth="@dimen/button_max_width"
android:visibility="gone"
app:layout_constraintBottom_toTopOf="@+id/item_generic_destructive_action_button"
app:layout_constraintEnd_toStartOf="@+id/item_generic_barrier"
app:layout_constraintTop_toBottomOf="@+id/item_generic_description_text"
app:layout_constraintBottom_toTopOf="@id/item_generic_destructive_action_button"
app:layout_constraintEnd_toStartOf="@id/item_generic_barrier"
app:layout_constraintTop_toBottomOf="@id/item_generic_description_text"
tools:text="@string/settings_troubleshoot_test_device_settings_quickfix"
tools:visibility="visible" />
@ -124,8 +124,8 @@
android:maxWidth="@dimen/button_max_width"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/item_generic_barrier"
app:layout_constraintTop_toBottomOf="@+id/item_generic_action_button"
app:layout_constraintEnd_toStartOf="@id/item_generic_barrier"
app:layout_constraintTop_toBottomOf="@id/item_generic_action_button"
tools:text="@string/delete"
tools:visibility="visible" />

View file

@ -18,7 +18,7 @@
android:layout_marginStart="@dimen/layout_horizontal_margin"
android:importantForAccessibility="no"
android:duplicateParentState="true"
app:layout_constraintBottom_toTopOf="@+id/groupBottomSeparator"
app:layout_constraintBottom_toTopOf="@id/groupBottomSeparator"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:src="@sample/room_round_avatars" />
@ -34,9 +34,9 @@
android:maxLines="1"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/groupBottomSeparator"
app:layout_constraintEnd_toStartOf="@+id/groupAvatarChevron"
app:layout_constraintStart_toEndOf="@+id/groupAvatarImageView"
app:layout_constraintBottom_toTopOf="@id/groupBottomSeparator"
app:layout_constraintEnd_toStartOf="@id/groupAvatarChevron"
app:layout_constraintStart_toEndOf="@id/groupAvatarImageView"
app:layout_constraintTop_toTopOf="parent"
tools:text="@tools:sample/lorem/random" />
@ -47,7 +47,7 @@
android:layout_marginEnd="21dp"
android:importantForAccessibility="no"
android:src="@drawable/ic_arrow_right"
app:layout_constraintBottom_toTopOf="@+id/groupBottomSeparator"
app:layout_constraintBottom_toTopOf="@id/groupBottomSeparator"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:tint="?vctr_content_primary"

View file

@ -14,7 +14,7 @@
android:importantForAccessibility="no"
android:src="@drawable/ic_idea"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/itemHelpText"
app:layout_constraintEnd_toStartOf="@id/itemHelpText"
app:layout_constraintHorizontal_chainStyle="packed"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
@ -32,7 +32,7 @@
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/itemHelpPicto"
app:layout_constraintStart_toEndOf="@id/itemHelpPicto"
app:layout_constraintTop_toTopOf="parent"
tools:text="@string/help_long_click_on_room_for_more_options" />

View file

@ -53,10 +53,10 @@
android:maxLines="1"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/itemDescription"
app:layout_constraintBottom_toTopOf="@id/itemDescription"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toEndOf="@+id/iconContainer"
app:layout_constraintStart_toEndOf="@id/iconContainer"
app:layout_constraintTop_toTopOf="parent"
tools:text="foo@example.com" />
@ -72,7 +72,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="@+id/itemTitle"
app:layout_constraintTop_toBottomOf="@+id/itemTitle" />
app:layout_constraintStart_toStartOf="@id/itemTitle"
app:layout_constraintTop_toBottomOf="@id/itemTitle" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -49,10 +49,10 @@
android:maxLines="1"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/knownUserID"
app:layout_constraintBottom_toTopOf="@id/knownUserID"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toEndOf="@+id/knownUserAvatarContainer"
app:layout_constraintStart_toEndOf="@id/knownUserAvatarContainer"
app:layout_constraintTop_toTopOf="parent"
tools:text="@sample/users.json/data/displayName" />
@ -67,8 +67,8 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="@+id/knownUserName"
app:layout_constraintTop_toBottomOf="@+id/knownUserName"
app:layout_constraintStart_toStartOf="@id/knownUserName"
app:layout_constraintTop_toBottomOf="@id/knownUserName"
tools:text="@sample/users.json/data/id" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -15,7 +15,7 @@
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingEnd="@dimen/layout_horizontal_margin"
android:textColor="?vctr_content_primary"
app:layout_constraintBottom_toTopOf="@+id/localeSubtitle"
app:layout_constraintBottom_toTopOf="@id/localeSubtitle"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
@ -34,7 +34,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/localeTitle"
app:layout_constraintTop_toBottomOf="@id/localeTitle"
tools:text="details"
tools:visibility="visible" />

View file

@ -30,7 +30,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/itemLoginErrorRetryText" />
app:layout_constraintTop_toBottomOf="@id/itemLoginErrorRetryText" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -30,8 +30,8 @@
android:paddingBottom="4dp"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/troubleshootTestDescription"
app:layout_constraintEnd_toStartOf="@+id/troubleshootStatusIcon"
app:layout_constraintBottom_toTopOf="@id/troubleshootTestDescription"
app:layout_constraintEnd_toStartOf="@id/troubleshootStatusIcon"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintHorizontal_chainStyle="spread"
app:layout_constraintStart_toStartOf="parent"
@ -51,10 +51,10 @@
android:textColor="?vctr_content_secondary"
android:visibility="gone"
app:layout_constraintBottom_toTopOf="@id/troubleshootTestButton"
app:layout_constraintEnd_toStartOf="@+id/troubleshootStatusIcon"
app:layout_constraintEnd_toStartOf="@id/troubleshootStatusIcon"
app:layout_constraintHorizontal_bias="0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/troubleshootTestTitle"
app:layout_constraintTop_toBottomOf="@id/troubleshootTestTitle"
tools:text="@string/settings_troubleshoot_test_device_settings_failed"
tools:visibility="visible" />
@ -68,10 +68,10 @@
android:padding="8dp"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/troubleshootProgressBar"
app:layout_constraintEnd_toStartOf="@id/troubleshootProgressBar"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/troubleshootTestDescription"
app:layout_constraintTop_toBottomOf="@id/troubleshootTestDescription"
tools:text="@string/settings_troubleshoot_test_device_settings_quickfix"
tools:visibility="visible" />
@ -83,7 +83,7 @@
android:layout_margin="16dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/troubleshootTestTitle"
app:layout_constraintStart_toEndOf="@id/troubleshootTestTitle"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -24,9 +24,9 @@
android:layout_height="wrap_content"
android:drawablePadding="8dp"
android:textColor="?vctr_content_primary"
app:layout_constraintBottom_toTopOf="@+id/adapter_item_policy_subtitle"
app:layout_constraintEnd_toStartOf="@+id/adapter_item_policy_arrow"
app:layout_constraintStart_toEndOf="@+id/adapter_item_policy_checkbox"
app:layout_constraintBottom_toTopOf="@id/adapter_item_policy_subtitle"
app:layout_constraintEnd_toStartOf="@id/adapter_item_policy_arrow"
app:layout_constraintStart_toEndOf="@id/adapter_item_policy_checkbox"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
tools:text="Policy title" />
@ -40,9 +40,9 @@
android:drawablePadding="8dp"
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/adapter_item_policy_arrow"
app:layout_constraintStart_toEndOf="@+id/adapter_item_policy_checkbox"
app:layout_constraintTop_toBottomOf="@+id/adapter_item_policy_title"
app:layout_constraintEnd_toStartOf="@id/adapter_item_policy_arrow"
app:layout_constraintStart_toEndOf="@id/adapter_item_policy_checkbox"
app:layout_constraintTop_toBottomOf="@id/adapter_item_policy_title"
tools:text="matrix.org" />
<!-- Do not use drawableEnd on the TextView because of RTL support -->

View file

@ -40,8 +40,8 @@
android:maxLines="2"
android:textColor="?vctr_content_primary"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toTopOf="@+id/actionSubtitle"
app:layout_constraintEnd_toStartOf="@+id/actionEditable"
app:layout_constraintBottom_toTopOf="@id/actionSubtitle"
app:layout_constraintEnd_toStartOf="@id/actionEditable"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@id/actionIcon"
app:layout_constraintTop_toTopOf="parent"
@ -60,7 +60,7 @@
android:textColor="?vctr_content_secondary"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/actionSecondaryAccessory"
app:layout_constraintEnd_toStartOf="@id/actionSecondaryAccessory"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toEndOf="@id/actionIcon"
app:layout_constraintTop_toBottomOf="@id/actionTitle"
@ -75,7 +75,7 @@
android:importantForAccessibility="no"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/actionEditable"
app:layout_constraintEnd_toStartOf="@id/actionEditable"
app:layout_constraintTop_toTopOf="parent"
tools:src="@drawable/ic_shield_warning"
tools:visibility="visible" />

View file

@ -33,9 +33,9 @@
android:layout_height="16dp"
android:layout_marginStart="5dp"
android:layout_marginTop="2dp"
app:layout_constraintBottom_toBottomOf="@+id/matrixItemTitle"
app:layout_constraintStart_toEndOf="@+id/matrixItemAvatar"
app:layout_constraintTop_toTopOf="@+id/matrixItemTitle" />
app:layout_constraintBottom_toBottomOf="@id/matrixItemTitle"
app:layout_constraintStart_toEndOf="@id/matrixItemAvatar"
app:layout_constraintTop_toTopOf="@id/matrixItemTitle" />
<im.vector.app.core.ui.views.PresenceStateImageView
android:id="@+id/matrixItemPresenceImageView"
@ -63,9 +63,9 @@
android:maxLines="1"
android:textColor="?vctr_content_primary"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toTopOf="@+id/matrixItemSubtitle"
app:layout_constraintEnd_toStartOf="@+id/matrixItemPowerLevelLabel"
app:layout_constraintStart_toEndOf="@+id/matrixItemAvatarDecoration"
app:layout_constraintBottom_toTopOf="@id/matrixItemSubtitle"
app:layout_constraintEnd_toStartOf="@id/matrixItemPowerLevelLabel"
app:layout_constraintStart_toEndOf="@id/matrixItemAvatarDecoration"
app:layout_constraintTop_toTopOf="parent"
app:layout_goneMarginEnd="80dp"
app:layout_goneMarginStart="7dp"
@ -83,7 +83,7 @@
android:textColor="?vctr_content_secondary"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/matrixItemPowerLevelLabel"
app:layout_constraintEnd_toStartOf="@id/matrixItemPowerLevelLabel"
app:layout_constraintStart_toEndOf="@id/matrixItemAvatar"
app:layout_constraintTop_toBottomOf="@id/matrixItemTitle"
app:layout_goneMarginEnd="8dp"

View file

@ -46,8 +46,8 @@
android:maxLines="1"
android:textColor="?vctr_content_primary"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toTopOf="@+id/matrixItemSubtitle"
app:layout_constraintEnd_toStartOf="@+id/matrixItemProgress"
app:layout_constraintBottom_toTopOf="@id/matrixItemSubtitle"
app:layout_constraintEnd_toStartOf="@id/matrixItemProgress"
app:layout_constraintStart_toEndOf="@id/matrixItemAvatar"
app:layout_constraintTop_toTopOf="parent"
app:layout_goneMarginEnd="80dp"
@ -65,7 +65,7 @@
android:textColor="?vctr_content_secondary"
app:layout_constrainedWidth="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/matrixItemProgress"
app:layout_constraintEnd_toStartOf="@id/matrixItemProgress"
app:layout_constraintStart_toEndOf="@id/matrixItemAvatar"
app:layout_constraintTop_toBottomOf="@id/matrixItemTitle"
app:layout_goneMarginEnd="8dp"

View file

@ -18,7 +18,7 @@
android:layout_height="56dp"
android:layout_marginStart="8dp"
android:importantForAccessibility="no"
app:layout_constraintBottom_toTopOf="@+id/itemPublicRoomBottomSeparator"
app:layout_constraintBottom_toTopOf="@id/itemPublicRoomBottomSeparator"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:src="@sample/room_round_avatars" />
@ -34,8 +34,8 @@
android:maxLines="2"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/itemPublicRoomTopic"
app:layout_constraintEnd_toStartOf="@+id/itemPublicRoomButtonState"
app:layout_constraintBottom_toTopOf="@id/itemPublicRoomTopic"
app:layout_constraintEnd_toStartOf="@id/itemPublicRoomButtonState"
app:layout_constraintStart_toEndOf="@id/itemPublicRoomAvatar"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
@ -53,10 +53,10 @@
android:singleLine="true"
android:textColor="?vctr_content_primary"
android:visibility="gone"
app:layout_constraintBottom_toTopOf="@+id/itemPublicRoomMembersCount"
app:layout_constraintBottom_toTopOf="@id/itemPublicRoomMembersCount"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/itemPublicRoomName"
app:layout_constraintTop_toBottomOf="@+id/itemPublicRoomName"
app:layout_constraintStart_toStartOf="@id/itemPublicRoomName"
app:layout_constraintTop_toBottomOf="@id/itemPublicRoomName"
tools:text="@sample/rooms.json/data/topic"
tools:visibility="visible" />
@ -73,9 +73,9 @@
android:textColor="?vctr_content_secondary"
app:drawableStartCompat="@drawable/ic_user"
app:drawableTint="?vctr_content_secondary"
app:layout_constraintBottom_toTopOf="@+id/itemPublicRoomBottomSeparator"
app:layout_constraintStart_toStartOf="@+id/itemPublicRoomName"
app:layout_constraintTop_toBottomOf="@+id/itemPublicRoomTopic"
app:layout_constraintBottom_toTopOf="@id/itemPublicRoomBottomSeparator"
app:layout_constraintStart_toStartOf="@id/itemPublicRoomName"
app:layout_constraintTop_toBottomOf="@id/itemPublicRoomTopic"
tools:text="148" />
<TextView
@ -90,9 +90,9 @@
android:minWidth="40dp"
android:singleLine="true"
android:textColor="?vctr_content_secondary"
app:layout_constraintBaseline_toBaselineOf="@+id/itemPublicRoomMembersCount"
app:layout_constraintBaseline_toBaselineOf="@id/itemPublicRoomMembersCount"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/itemPublicRoomMembersCount"
app:layout_constraintStart_toEndOf="@id/itemPublicRoomMembersCount"
tools:text="@sample/rooms.json/data/alias" />
<im.vector.app.core.platform.ButtonStateView

View file

@ -125,7 +125,7 @@
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toStartOf="@+id/roomDraftBadge"
app:layout_constraintEnd_toStartOf="@id/roomDraftBadge"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintHorizontal_chainStyle="packed"
app:layout_constraintStart_toEndOf="@id/roomAvatarContainer"
@ -141,10 +141,10 @@
android:contentDescription="@string/a11y_unsent_draft"
android:src="@drawable/ic_edit"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@+id/roomNameView"
app:layout_constraintEnd_toStartOf="@+id/roomUnreadCounterBadgeView"
app:layout_constraintStart_toEndOf="@+id/roomNameView"
app:layout_constraintTop_toTopOf="@+id/roomNameView"
app:layout_constraintBottom_toBottomOf="@id/roomNameView"
app:layout_constraintEnd_toStartOf="@id/roomUnreadCounterBadgeView"
app:layout_constraintStart_toEndOf="@id/roomNameView"
app:layout_constraintTop_toTopOf="@id/roomNameView"
app:tint="?vctr_content_primary"
tools:ignore="MissingPrefix"
tools:visibility="visible" />
@ -162,10 +162,10 @@
android:paddingEnd="4dp"
android:textColor="?colorOnError"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@+id/roomNameView"
app:layout_constraintEnd_toStartOf="@+id/roomLastEventTimeView"
app:layout_constraintStart_toEndOf="@+id/roomDraftBadge"
app:layout_constraintTop_toTopOf="@+id/roomNameView"
app:layout_constraintBottom_toBottomOf="@id/roomNameView"
app:layout_constraintEnd_toStartOf="@id/roomLastEventTimeView"
app:layout_constraintStart_toEndOf="@id/roomDraftBadge"
app:layout_constraintTop_toTopOf="@id/roomNameView"
tools:background="@drawable/bg_unread_highlight"
tools:text="4"
tools:visibility="visible" />
@ -177,9 +177,9 @@
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toBottomOf="@+id/roomNameView"
app:layout_constraintBottom_toBottomOf="@id/roomNameView"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/roomNameView"
app:layout_constraintTop_toTopOf="@id/roomNameView"
tools:text="@tools:sample/date/hhmm" />
<TextView
@ -193,8 +193,8 @@
android:maxLines="2"
android:textColor="?vctr_content_secondary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/roomNameView"
app:layout_constraintTop_toBottomOf="@+id/roomNameView"
app:layout_constraintStart_toStartOf="@id/roomNameView"
app:layout_constraintTop_toBottomOf="@id/roomNameView"
tools:text="@sample/messages.json/data/message" />
<TextView
@ -209,8 +209,8 @@
android:textColor="?colorPrimary"
android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/roomNameView"
app:layout_constraintTop_toBottomOf="@+id/roomNameView"
app:layout_constraintStart_toStartOf="@id/roomNameView"
app:layout_constraintTop_toBottomOf="@id/roomNameView"
tools:text="Alice is typing…" />
<!-- Margin bottom does not work, so I use space -->
@ -219,7 +219,7 @@
android:layout_width="0dp"
android:layout_height="7dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/roomLastEventView"
app:layout_constraintTop_toBottomOf="@id/roomLastEventView"
tools:layout_marginStart="120dp" />
<androidx.constraintlayout.widget.Barrier
@ -238,6 +238,6 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/roomBottomBarrier" />
app:layout_constraintTop_toBottomOf="@id/roomBottomBarrier" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -37,8 +37,8 @@
android:maxLines="2"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/itemRoomDirectoryDescription"
app:layout_constraintEnd_toStartOf="@+id/itemRoomDirectoryChecked"
app:layout_constraintBottom_toTopOf="@id/itemRoomDirectoryDescription"
app:layout_constraintEnd_toStartOf="@id/itemRoomDirectoryChecked"
app:layout_constraintStart_toEndOf="@id/itemRoomDirectoryAvatar"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
@ -58,7 +58,7 @@
android:textColor="?vctr_content_primary"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/itemRoomDirectoryChecked"
app:layout_constraintEnd_toStartOf="@id/itemRoomDirectoryChecked"
app:layout_constraintStart_toEndOf="@id/itemRoomDirectoryAvatar"
app:layout_constraintTop_toBottomOf="@id/itemRoomDirectoryName"
app:layout_goneMarginEnd="@dimen/layout_horizontal_margin"

View file

@ -19,7 +19,7 @@
android:maxLines="2"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/itemRoomDirectoryServerDescription"
app:layout_constraintBottom_toTopOf="@id/itemRoomDirectoryServerDescription"
app:layout_constraintEnd_toStartOf="@id/itemRoomDirectoryServerRemove"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
@ -42,7 +42,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/itemRoomDirectoryServerRemove"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/itemRoomDirectoryServerName"
app:layout_constraintTop_toBottomOf="@id/itemRoomDirectoryServerName"
app:layout_goneMarginEnd="@dimen/layout_horizontal_margin"
tools:text="@string/directory_your_server"
tools:visibility="visible" />

View file

@ -27,7 +27,7 @@
android:layout_width="0dp"
android:layout_height="12dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/roomInvitationAvatarImageView"
app:layout_constraintTop_toBottomOf="@id/roomInvitationAvatarImageView"
tools:layout_marginStart="20dp" />
<TextView
@ -61,9 +61,9 @@
android:ellipsize="end"
android:maxLines="2"
android:textColor="?vctr_content_secondary"
app:layout_constraintEnd_toEndOf="@+id/roomInvitationNameView"
app:layout_constraintStart_toStartOf="@+id/roomInvitationNameView"
app:layout_constraintTop_toBottomOf="@+id/roomInvitationNameView"
app:layout_constraintEnd_toEndOf="@id/roomInvitationNameView"
app:layout_constraintStart_toStartOf="@id/roomInvitationNameView"
app:layout_constraintTop_toBottomOf="@id/roomInvitationNameView"
tools:text="@sample/rooms.json/data/topic" />
<!-- Margin bottom does not work, so I use space -->
@ -72,7 +72,7 @@
android:layout_width="0dp"
android:layout_height="7dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/roomInvitationSubTitle"
app:layout_constraintTop_toBottomOf="@id/roomInvitationSubTitle"
tools:layout_marginStart="120dp" />
<im.vector.app.core.platform.ButtonStateView
@ -84,8 +84,8 @@
app:bsv_button_text="@string/accept"
app:bsv_loaded_image_src="@drawable/ic_tick"
app:bsv_use_flat_button="false"
app:layout_constraintEnd_toEndOf="@+id/roomInvitationNameView"
app:layout_constraintTop_toBottomOf="@+id/roomLastEventBottomSpace" />
app:layout_constraintEnd_toEndOf="@id/roomInvitationNameView"
app:layout_constraintTop_toBottomOf="@id/roomLastEventBottomSpace" />
<im.vector.app.core.platform.ButtonStateView
android:id="@+id/roomInvitationReject"
@ -96,8 +96,8 @@
app:bsv_button_text="@string/reject"
app:bsv_loaded_image_src="@drawable/ic_tick"
app:bsv_use_flat_button="true"
app:layout_constraintEnd_toStartOf="@+id/roomInvitationAccept"
app:layout_constraintTop_toTopOf="@+id/roomInvitationAccept" />
app:layout_constraintEnd_toStartOf="@id/roomInvitationAccept"
app:layout_constraintTop_toTopOf="@id/roomInvitationAccept" />
<!-- We use vctr_list_separator_system here for a better rendering -->
<View
@ -109,6 +109,6 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/roomInvitationAccept" />
app:layout_constraintTop_toBottomOf="@id/roomInvitationAccept" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -63,8 +63,8 @@
android:layout_marginEnd="20dp"
android:background="@drawable/placeholder_shape_8"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/roomNameView"
app:layout_constraintTop_toBottomOf="@+id/roomNameView" />
app:layout_constraintStart_toStartOf="@id/roomNameView"
app:layout_constraintTop_toBottomOf="@id/roomNameView" />
<!-- We use vctr_list_separator_system here for a better rendering -->
<View

View file

@ -34,7 +34,7 @@
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/itemAddRoomRoomCheckBox"
app:layout_constraintEnd_toStartOf="@id/itemAddRoomRoomCheckBox"
app:layout_constraintStart_toEndOf="@id/itemAddRoomRoomAvatar"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"

View file

@ -34,7 +34,7 @@
android:textColor="?vctr_content_primary"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/itemManageRoomSuggested"
app:layout_constraintEnd_toStartOf="@id/itemManageRoomSuggested"
app:layout_constraintStart_toEndOf="@id/itemAddRoomRoomAvatar"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
@ -52,7 +52,7 @@
android:text="@string/space_suggested"
android:textColor="?vctr_content_secondary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/itemAddRoomRoomCheckBox"
app:layout_constraintEnd_toStartOf="@id/itemAddRoomRoomCheckBox"
app:layout_constraintStart_toEndOf="@id/itemAddRoomRoomNameText"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed" />

Some files were not shown because too many files have changed in this diff Show more