Merge pull request #4652 from vector-im/feature/bma/avoid_useless_codegen

Use viewBindingIgnore="true" when we do not need the ViewBinding.
This commit is contained in:
Benoit Marty 2021-12-13 12:51:05 +01:00 committed by GitHub
commit 5ea7f3cbca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
157 changed files with 346 additions and 172 deletions

View File

@ -8,7 +8,8 @@
android:layout_marginEnd="16dp"
android:layout_marginBottom="4dp"
android:gravity="center_vertical"
android:orientation="horizontal">
android:orientation="horizontal"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/sas_emoji_index"

View File

@ -3,7 +3,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="40dp"
android:layout_height="40dp"
tools:showIn="@layout/activity_emoji_reaction_picker">
tools:showIn="@layout/activity_emoji_reaction_picker"
tools:viewBindingIgnore="true">
<View
android:id="@+id/grid_item_place_holder"

View File

@ -2,7 +2,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/section_header_textview"

View File

@ -3,7 +3,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/black">
android:background="@android:color/black"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/attachmentBigImageView"

View File

@ -7,7 +7,8 @@
android:layout_height="wrap_content"
android:layout_margin="2dp"
card_view:cardBackgroundColor="@android:color/transparent"
card_view:cardElevation="0dp">
card_view:cardElevation="0dp"
tools:viewBindingIgnore="true">
<im.vector.app.core.platform.CheckableImageView
android:id="@+id/attachmentMiniatureImageView"

View File

@ -8,7 +8,8 @@
android:paddingStart="8dp"
android:paddingTop="6dp"
android:paddingEnd="8dp"
android:paddingBottom="6dp">
android:paddingBottom="6dp"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/commandName"

View File

@ -6,7 +6,8 @@
android:background="?android:colorBackground"
android:foreground="?attr/selectableItemBackground"
android:orientation="horizontal"
android:padding="8dp">
android:padding="8dp"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/itemAutocompleteEmoji"

View File

@ -6,7 +6,8 @@
android:background="?android:colorBackground"
android:foreground="?attr/selectableItemBackground"
android:orientation="horizontal"
android:padding="8dp">
android:padding="8dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/matrixItemAutocompleteAvatar"

View File

@ -1,9 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/Widget.Vector.TextView.Caption"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:padding="8dp"
android:text="@string/autocomplete_limited_results"
android:textColor="?vctr_content_secondary" />
android:textColor="?vctr_content_secondary"
tools:viewBindingIgnore="true" />

View File

@ -12,7 +12,8 @@
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingTop="8dp"
android:paddingEnd="@dimen/layout_horizontal_margin"
android:paddingBottom="8dp">
android:paddingBottom="8dp"
tools:viewBindingIgnore="true">
<!-- Used for sub items -->
<Space

View File

@ -11,7 +11,8 @@
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingTop="8dp"
android:paddingEnd="@dimen/layout_horizontal_margin"
android:paddingBottom="8dp">
android:paddingBottom="8dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/radioIcon"
@ -69,13 +70,13 @@
<TextView
android:id="@+id/listTitle"
style="@style/Widget.Vector.TextView.Body.Medium"
android:textStyle="bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:text="@string/spaces_which_can_access"
android:textAllCaps="true"
android:textColor="?vctr_content_secondary"
android:textStyle="bold"
app:layout_constraintStart_toStartOf="@id/actionTitle"
app:layout_constraintTop_toBottomOf="@id/upgradeRequiredButton"
app:layout_goneMarginTop="8dp" />

View File

@ -5,7 +5,8 @@
android:id="@+id/bottom_sheet_message_preview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:background="#1FF00FF0">
tools:background="#1FF00FF0"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/bottom_sheet_message_preview_avatar"

View File

@ -7,7 +7,8 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="4dp">
android:layout_marginBottom="4dp"
tools:viewBindingIgnore="true">
<ProgressBar
android:id="@+id/messageStatusProgress"

View File

@ -5,7 +5,8 @@
android:id="@+id/root_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
android:padding="8dp"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/quickReaction0"

View File

@ -11,7 +11,8 @@
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingTop="8dp"
android:paddingEnd="@dimen/layout_horizontal_margin"
android:paddingBottom="8dp">
android:paddingBottom="8dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/radioIcon"

View File

@ -4,7 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/bottom_sheet_message_preview"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/bottomSheetRoomPreviewAvatar"

View File

@ -8,7 +8,8 @@
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingTop="8dp"
android:paddingEnd="@dimen/layout_horizontal_margin"
android:paddingBottom="8dp">
android:paddingBottom="8dp"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/itemBottomSheetTitleTitle"

View File

@ -8,7 +8,8 @@
android:background="?android:colorBackground"
android:clickable="true"
android:focusable="true"
android:foreground="?attr/selectableItemBackground">
android:foreground="?attr/selectableItemBackground"
tools:viewBindingIgnore="true">
<View
android:id="@+id/breadcrumbsUnreadIndicator"

View File

@ -11,4 +11,5 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/phoneBookFilterContainer"
tools:text="@string/matrix_only_filter" />
tools:text="@string/matrix_only_filter"
tools:viewBindingIgnore="true" />

View File

@ -11,4 +11,5 @@
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:textColor="?android:attr/textColorAlertDialogListItem"
tools:text="https://matrix.org" />
tools:text="https://matrix.org"
tools:viewBindingIgnore="true" />

View File

@ -7,7 +7,8 @@
android:background="?attr/selectableItemBackground"
android:orientation="horizontal"
android:paddingStart="8dp"
android:paddingEnd="8dp">
android:paddingEnd="8dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/actionIconImageView"

View File

@ -7,7 +7,8 @@
android:background="?android:colorBackground"
android:foreground="?attr/selectableItemBackground"
android:minHeight="60dp"
android:padding="8dp">
android:padding="8dp"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/contactDetailName"

View File

@ -8,7 +8,8 @@
android:foreground="?attr/selectableItemBackground"
android:paddingStart="8dp"
android:paddingTop="12dp"
android:paddingEnd="8dp">
android:paddingEnd="8dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/contactAvatar"

View File

@ -7,7 +7,8 @@
android:background="?android:colorBackground"
android:foreground="?attr/selectableItemBackground"
android:gravity="center_vertical"
android:padding="8dp">
android:padding="8dp"
tools:viewBindingIgnore="true">
<FrameLayout
android:id="@+id/createDirectRoomUserAvatarContainer"

View File

@ -7,7 +7,8 @@
android:background="?android:colorBackground"
android:foreground="?attr/selectableItemBackground"
android:orientation="horizontal"
android:padding="8dp">
android:padding="8dp"
tools:viewBindingIgnore="true">
<LinearLayout
android:layout_width="0dp"

View File

@ -6,7 +6,8 @@
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:minHeight="80dp"
android:padding="16dp">
android:padding="16dp"
tools:viewBindingIgnore="true">
<androidx.constraintlayout.helper.widget.Flow
android:layout_width="0dp"

View File

@ -8,7 +8,8 @@
android:minHeight="40dp"
android:orientation="horizontal"
android:paddingStart="8dp"
android:paddingEnd="8dp">
android:paddingEnd="8dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/readReceiptAvatar"

View File

@ -4,4 +4,5 @@
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?vctr_list_separator"
tools:layout_height="100dp" />
tools:layout_height="100dp"
tools:viewBindingIgnore="true" />

View File

@ -4,4 +4,5 @@
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?vctr_list_separator_on_surface"
tools:layout_height="100dp" />
tools:layout_height="100dp"
tools:viewBindingIgnore="true" />

View File

@ -6,7 +6,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:padding="16dp">
android:padding="16dp"
tools:viewBindingIgnore="true">
<!-- I cannot do what I want using layer-list, do it manually here-->
<FrameLayout

View File

@ -6,7 +6,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:padding="16dp">
android:padding="16dp"
tools:viewBindingIgnore="true">
<!-- I cannot do what I want using layer-list, do it manually here-->
<FrameLayout

View File

@ -9,7 +9,8 @@
android:minHeight="48dp"
android:orientation="horizontal"
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingEnd="@dimen/layout_horizontal_margin">
android:paddingEnd="@dimen/layout_horizontal_margin"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/item_emoji_tv"

View File

@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:padding="16dp">
android:padding="16dp"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/itemErrorRetryText"

View File

@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:padding="16dp">
android:padding="16dp"
tools:viewBindingIgnore="true">
<im.vector.app.core.ui.views.NonScrollingTextView
android:id="@+id/expandableContent"

View File

@ -14,7 +14,8 @@
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingTop="12dp"
android:paddingEnd="@dimen/layout_horizontal_margin"
android:paddingBottom="12dp">
android:paddingBottom="12dp"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/itemFormAdvancedToggleTitleView"

View File

@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:minHeight="@dimen/item_form_min_height">
android:minHeight="@dimen/item_form_min_height"
tools:viewBindingIgnore="true">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/formMultiLineTextInputLayout"

View File

@ -4,7 +4,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:minHeight="64dp">
android:minHeight="64dp"
tools:viewBindingIgnore="true">
<Button
android:id="@+id/form_submit_button"

View File

@ -6,7 +6,8 @@
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:foreground="?attr/selectableItemBackground"
android:minHeight="@dimen/item_form_min_height">
android:minHeight="@dimen/item_form_min_height"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/formSwitchTitle"

View File

@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:minHeight="@dimen/item_form_min_height">
android:minHeight="@dimen/item_form_min_height"
tools:viewBindingIgnore="true">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/formTextInputTextInputLayout"

View File

@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:minHeight="@dimen/item_form_min_height">
android:minHeight="@dimen/item_form_min_height"
tools:viewBindingIgnore="true">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/formTextInputTextInputLayout"

View File

@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:minHeight="@dimen/item_form_min_height">
android:minHeight="@dimen/item_form_min_height"
tools:viewBindingIgnore="true">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/formTextInputTextInputLayout"

View File

@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
android:padding="16dp"
tools:viewBindingIgnore="true">
<Button
android:id="@+id/itemGenericItemButton"

View File

@ -4,7 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="16dp">
android:padding="16dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/emptyItemImageView"

View File

@ -4,7 +4,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
android:padding="16dp"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/itemGenericFooterText"

View File

@ -11,4 +11,5 @@
android:paddingBottom="4dp"
android:textColor="?vctr_notice_text_color"
android:textStyle="bold"
tools:text="Today" />
tools:text="Today"
tools:viewBindingIgnore="true" />

View File

@ -6,7 +6,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:minHeight="50dp">
android:minHeight="50dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/item_generic_title_image"

View File

@ -1,6 +1,8 @@
<ProgressBar xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/genericProgressSpinner"
style="?android:attr/progressBarStyleSmall"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp" />
android:layout_margin="8dp"
tools:viewBindingIgnore="true" />

View File

@ -8,7 +8,8 @@
android:background="@drawable/rounded_rect_shape_8"
android:backgroundTint="?vctr_reaction_background_off"
android:orientation="horizontal"
android:padding="16dp">
android:padding="16dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/itemGenericPillImage"

View File

@ -5,4 +5,5 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
tools:progress="30" />
tools:progress="30"
tools:viewBindingIgnore="true" />

View File

@ -8,7 +8,8 @@
android:minHeight="40dp"
android:orientation="horizontal"
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingEnd="@dimen/layout_horizontal_margin">
android:paddingEnd="@dimen/layout_horizontal_margin"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/itemGenericWithValueTitleIcon"

View File

@ -8,7 +8,8 @@
android:background="@drawable/bg_space_item"
android:clickable="true"
android:focusable="true"
android:foreground="?attr/selectableItemBackground">
android:foreground="?attr/selectableItemBackground"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/groupAvatarImageView"
@ -16,8 +17,8 @@
android:layout_height="42dp"
android:layout_gravity="center"
android:layout_marginStart="@dimen/layout_horizontal_margin"
android:importantForAccessibility="no"
android:duplicateParentState="true"
android:importantForAccessibility="no"
app:layout_constraintBottom_toTopOf="@id/groupBottomSeparator"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"

View File

@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
android:padding="16dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/itemHelpPicto"

View File

@ -7,7 +7,8 @@
android:background="?android:colorBackground"
android:foreground="?attr/selectableItemBackground"
android:gravity="center_vertical"
android:padding="8dp">
android:padding="8dp"
tools:viewBindingIgnore="true">
<FrameLayout
android:id="@+id/iconContainer"

View File

@ -6,7 +6,8 @@
android:layout_height="wrap_content"
android:gravity="end"
android:orientation="vertical"
android:padding="16dp">
android:padding="16dp"
tools:viewBindingIgnore="true">
<Button
android:id="@+id/keys_backup_settings_footer_button1"

View File

@ -8,7 +8,8 @@
android:foreground="?attr/selectableItemBackground"
android:gravity="center_vertical"
android:orientation="horizontal"
android:padding="8dp">
android:padding="8dp"
tools:viewBindingIgnore="true">
<FrameLayout
android:id="@+id/knownUserAvatarContainer"

View File

@ -5,7 +5,8 @@
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:minHeight="1dp"
android:orientation="vertical">
android:orientation="vertical"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/loadingText"

View File

@ -1,8 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
tools:viewBindingIgnore="true">
<FrameLayout
android:layout_width="0dp"

View File

@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="?attr/selectableItemBackground"
android:minHeight="64dp">
android:minHeight="64dp"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/localeTitle"

View File

@ -2,7 +2,8 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
tools:viewBindingIgnore="true">
<Button
android:id="@+id/itemLoginCenteredButton"

View File

@ -7,7 +7,8 @@
android:background="?android:colorBackground"
android:paddingStart="32dp"
android:paddingTop="16dp"
android:paddingEnd="32dp">
android:paddingEnd="32dp"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/itemLoginErrorRetryText"

View File

@ -1,9 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@id/loginLogo"
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_gravity="center_horizontal"
android:layout_marginTop="32dp"
android:importantForAccessibility="no"
android:src="@drawable/element_logo_green" />
android:src="@drawable/element_logo_green"
tools:viewBindingIgnore="true" />

View File

@ -7,7 +7,8 @@
android:layout_marginTop="16dp"
android:orientation="vertical"
android:paddingStart="36dp"
android:paddingEnd="36dp">
android:paddingEnd="36dp"
tools:viewBindingIgnore="true">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/itemLoginPasswordFormPasswordFieldTil"

View File

@ -3,7 +3,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
tools:viewBindingIgnore="true">
<Button
android:id="@+id/itemLoginRedButton"

View File

@ -10,4 +10,5 @@
android:paddingStart="36dp"
android:paddingEnd="36dp"
android:textColor="?vctr_content_secondary"
tools:text="Login Title" />
tools:text="Login Title"
tools:viewBindingIgnore="true" />

View File

@ -10,4 +10,5 @@
android:paddingStart="36dp"
android:paddingEnd="36dp"
android:textColor="?vctr_content_primary"
tools:text="Login Title" />
tools:text="Login Title"
tools:viewBindingIgnore="true" />

View File

@ -10,4 +10,5 @@
android:paddingStart="36dp"
android:paddingEnd="36dp"
android:textColor="?vctr_content_primary"
tools:text="Login Title" />
tools:text="Login Title"
tools:viewBindingIgnore="true" />

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/itemNoResultText"
style="@style/Widget.Vector.TextView.Body"
android:layout_width="match_parent"
@ -7,4 +8,5 @@
android:background="?android:colorBackground"
android:gravity="center"
android:padding="16dp"
android:text="@string/no_result_placeholder" />
android:text="@string/no_result_placeholder"
tools:viewBindingIgnore="true" />

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/Widget.Vector.TextView.Body"
android:id="@+id/footerText"
style="@style/Widget.Vector.TextView.Body"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="@dimen/layout_horizontal_margin"
@ -10,4 +10,5 @@
android:paddingEnd="@dimen/layout_horizontal_margin"
android:paddingBottom="@dimen/layout_vertical_margin"
android:textColor="?vctr_content_secondary"
tools:text="@string/room_settings_room_notifications_encryption_notice" />
tools:text="@string/room_settings_room_notifications_encryption_notice"
tools:viewBindingIgnore="true" />

View File

@ -7,7 +7,8 @@
android:foreground="?attr/selectableItemBackground"
android:minHeight="72dp"
android:paddingStart="16dp"
android:paddingEnd="16dp">
android:paddingEnd="16dp"
tools:viewBindingIgnore="true">
<CheckBox
android:id="@+id/adapter_item_policy_checkbox"

View File

@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
android:padding="16dp"
tools:viewBindingIgnore="true">
<Button
android:id="@+id/itemGenericItemButton"

View File

@ -12,7 +12,8 @@
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingTop="8dp"
android:paddingEnd="@dimen/layout_horizontal_margin"
android:paddingBottom="8dp">
android:paddingBottom="8dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/actionIcon"

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://tinyurl.com/PresenceListInRooms -->
<?xml version="1.0" encoding="utf-8"?><!-- https://tinyurl.com/PresenceListInRooms -->
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
@ -13,7 +12,8 @@
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingTop="8dp"
android:paddingEnd="@dimen/layout_horizontal_margin"
android:paddingBottom="8dp">
android:paddingBottom="8dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/matrixItemAvatar"

View File

@ -12,7 +12,8 @@
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingTop="8dp"
android:paddingEnd="@dimen/layout_horizontal_margin"
android:paddingBottom="8dp">
android:paddingBottom="8dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/matrixItemAvatar"

View File

@ -12,5 +12,6 @@
android:paddingBottom="8dp"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
tools:text="Security" />
tools:text="Security"
tools:viewBindingIgnore="true" />

View File

@ -9,7 +9,8 @@
android:clickable="true"
android:focusable="true"
android:foreground="?attr/selectableItemBackground"
android:minHeight="97dp">
android:minHeight="97dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/itemPublicRoomAvatar"

View File

@ -4,7 +4,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
android:padding="16dp"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/pushGatewayKind"

View File

@ -4,7 +4,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="8dp">
android:padding="8dp"
tools:viewBindingIgnore="true">
<LinearLayout
android:layout_width="0dp"

View File

@ -6,10 +6,11 @@
android:layout_height="wrap_content"
android:clickable="true"
android:focusable="true"
android:minHeight="64dp"
android:foreground="?attr/selectableItemBackground"
android:minHeight="64dp"
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingEnd="@dimen/layout_horizontal_margin">
android:paddingEnd="@dimen/layout_horizontal_margin"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/actionTitle"
@ -31,9 +32,9 @@
android:layout_width="20dp"
android:layout_height="20dp"
android:contentDescription="@string/a11y_checked"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
tools:ignore="MissingPrefix"
tools:src="@drawable/ic_radio_on" />

View File

@ -8,7 +8,8 @@
android:background="?android:colorBackground"
android:clickable="true"
android:focusable="true"
android:foreground="?attr/selectableItemBackground">
android:foreground="?attr/selectableItemBackground"
tools:viewBindingIgnore="true">
<View
android:id="@+id/roomUnreadIndicator"

View File

@ -8,7 +8,8 @@
android:background="?android:colorBackground"
android:clickable="true"
android:focusable="true"
android:foreground="?attr/selectableItemBackground">
android:foreground="?attr/selectableItemBackground"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/itemRoomDirectoryAvatar"

View File

@ -5,7 +5,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?vctr_header_background"
android:minHeight="?listPreferredItemHeight">
android:minHeight="?listPreferredItemHeight"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/itemRoomDirectoryServerName"

View File

@ -4,7 +4,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:orientation="vertical">
android:orientation="vertical"
tools:viewBindingIgnore="true">
<TextView
style="@style/Widget.Vector.TextView.Subtitle"

View File

@ -8,7 +8,8 @@
android:background="?android:colorBackground"
android:clickable="true"
android:focusable="true"
android:foreground="?attr/selectableItemBackground">
android:foreground="?attr/selectableItemBackground"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/roomInvitationAvatarImageView"

View File

@ -8,7 +8,8 @@
android:background="?android:colorBackground"
android:clickable="true"
android:focusable="true"
android:foreground="?attr/selectableItemBackground">
android:foreground="?attr/selectableItemBackground"
tools:viewBindingIgnore="true">
<FrameLayout
android:id="@+id/roomAvatarContainer"

View File

@ -9,7 +9,8 @@
android:clickable="true"
android:focusable="true"
android:foreground="?attr/selectableItemBackground"
android:minHeight="50dp">
android:minHeight="50dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/itemAddRoomRoomAvatar"

View File

@ -1,13 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/itemPublicRoomLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:clickable="true"
android:focusable="true"
android:minHeight="50dp">
android:minHeight="50dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/itemAddRoomRoomAvatar"

View File

@ -9,7 +9,8 @@
android:clickable="true"
android:focusable="true"
android:foreground="?attr/selectableItemBackground"
android:minHeight="50dp">
android:minHeight="50dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/itemAddRoomRoomAvatar"

View File

@ -8,7 +8,8 @@
android:gravity="center_vertical"
android:minHeight="64dp"
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingEnd="@dimen/layout_horizontal_margin">
android:paddingEnd="@dimen/layout_horizontal_margin"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/roomWidgetAvatar"

View File

@ -4,7 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
android:padding="8dp"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/messageAvatarImageView"

View File

@ -4,7 +4,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:minHeight="64dp">
android:minHeight="64dp"
tools:viewBindingIgnore="true">
<Button
android:id="@+id/settings_item_button"

View File

@ -9,7 +9,8 @@
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingTop="@dimen/layout_vertical_margin"
android:paddingEnd="@dimen/layout_horizontal_margin"
android:paddingBottom="@dimen/layout_vertical_margin">
android:paddingBottom="@dimen/layout_vertical_margin"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/settings_item_text"

View File

@ -8,4 +8,5 @@
android:layout_margin="16dp"
android:importantForAccessibility="no"
app:tint="?colorPrimary"
tools:src="@drawable/ic_layers" />
tools:src="@drawable/ic_layers"
tools:viewBindingIgnore="true" />

View File

@ -1,11 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingEnd="@dimen/layout_horizontal_margin">
android:paddingEnd="@dimen/layout_horizontal_margin"
tools:viewBindingIgnore="true">
<Button
android:id="@+id/settings_item_cancel_button"

View File

@ -6,7 +6,8 @@
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingEnd="@dimen/layout_horizontal_margin">
android:paddingEnd="@dimen/layout_horizontal_margin"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/settings_item_edit_text_description"

View File

@ -13,4 +13,5 @@
android:paddingBottom="8dp"
android:textColor="?vctr_content_secondary"
tools:drawableStart="@drawable/vector_warning_red"
tools:text="If you dont want this, opt out below. You can also manage any of these preferences in Settings." />
tools:text="If you dont want this, opt out below. You can also manage any of these preferences in Settings."
tools:viewBindingIgnore="true" />

View File

@ -7,7 +7,8 @@
android:background="?android:colorBackground"
android:foreground="?attr/selectableItemBackground"
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingEnd="@dimen/layout_horizontal_margin">
android:paddingEnd="@dimen/layout_horizontal_margin"
tools:viewBindingIgnore="true">
<TextView
android:id="@+id/settings_item_information"

View File

@ -1,12 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?android:colorBackground"
android:minHeight="48dp"
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingEnd="@dimen/layout_horizontal_margin">
android:paddingEnd="@dimen/layout_horizontal_margin"
tools:viewBindingIgnore="true">
<ProgressBar
android:id="@+id/settings_item_enter_progress"

View File

@ -12,4 +12,5 @@
android:paddingBottom="@dimen/layout_vertical_margin"
android:textColor="?vctr_content_primary"
android:textStyle="bold"
tools:text="Title" />
tools:text="Title"
tools:viewBindingIgnore="true" />

View File

@ -8,7 +8,8 @@
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingTop="@dimen/layout_vertical_margin"
android:paddingEnd="@dimen/layout_horizontal_margin"
android:paddingBottom="@dimen/layout_vertical_margin">
android:paddingBottom="@dimen/layout_vertical_margin"
tools:viewBindingIgnore="true">
<LinearLayout
android:layout_width="0dp"

View File

@ -7,7 +7,8 @@
android:background="?android:colorBackground"
android:minHeight="64dp"
android:paddingStart="@dimen/layout_horizontal_margin"
android:paddingEnd="@dimen/layout_horizontal_margin">
android:paddingEnd="@dimen/layout_horizontal_margin"
tools:viewBindingIgnore="true">
<ImageView
android:id="@+id/item_settings_three_pid_icon"

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