[MS-1151] Sync UI: Layout adjustment for big numbers on counters to fit#1354
Conversation
| android:textColor="@color/simprints_text_orange" /> | ||
|
|
||
| <LinearLayout | ||
| <RelativeLayout |
There was a problem hiding this comment.
Is there any reason not to use ConstraintLayout instead?
There was a problem hiding this comment.
RelativeLayour should be simpler or similar here.
There was a problem hiding this comment.
If that is the only reason, then I will insist on using ConstraintLayout. It provides the same controls and much more - chain and bias would be the most relevant parts - and it is much more efficient in measure/layout performance (RelativeLayout optimisation has been abandoned since the ConstraintLayout release, it is effectively deprecated).
There was a problem hiding this comment.
@luhmirin-s It can be done but we are about to spiral into the dynamic of how the #1282 review went. In this case, ConstraintLayout means a complete rewrite, in the case of a quick edge case fix. Confirm rewrite?
There was a problem hiding this comment.
We are not even close to that scale. The change I ask for should not take long at all, and we will avoid pushing an outdated solution to main.
luhmirin-s
left a comment
There was a problem hiding this comment.
As per the other comment, please use the ConstraintLayout.
47fdbb4 to
c070b6b
Compare
|



JIRA ticket
Will be released in: 2025.3.0
Root cause analysis (for bugfixes only)
First known affected version: 2025.2.0, dev-only
Notable changes
Testing guidance
Additional work checklist