Skip to content

Conversation

@bmarty
Copy link
Member

@bmarty bmarty commented Dec 1, 2021

Boring PR about cleaning up the layouts.

Fixes #4604

### Use `@id` and not `@+id` when referencing ids in layouts
layout_(.*)="@\+id
accessibilityTraversal(.*)="@\+id
toolbarId="@\+id
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those mistakes should not reappear thanks to that new rules


<!--
The aim of this file is to test the different themes of Riot
The aim of this file is to test the different themes of Element
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RIP Riot

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋

android:layout_height="wrap_content"
app:layout_constraintEnd_toStartOf="@+id/importDialogShowPassword"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/dialog_e2e_keys_passphrase_filename">
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parent is not anymore in a ConstraintLayout

@github-actions
Copy link

github-actions bot commented Dec 1, 2021

Unit Test Results

  66 files  ±0    66 suites  ±0   53s ⏱️ -6s
135 tests ±0  135 ✔️ ±0  0 💤 ±0  0 ±0 
418 runs  ±0  418 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 6cb8a24. ± Comparison against base commit fa256cc.

Copy link
Contributor

@ouchadam ouchadam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is happy and I did a quick local smoke test LGTM 💯

@bmarty bmarty merged commit 3644e5d into develop Dec 2, 2021
@bmarty bmarty deleted the feature/bma/devx_view_ids branch December 2, 2021 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Layout View Ids: use @id instead of @+id for referenced ids

3 participants