-
Notifications
You must be signed in to change notification settings - Fork 742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Location Share] - Standardise "Stop" texts for live (PSG-622) #6542
Conversation
<item name="android:gravity">center</item> | ||
<item name="android:padding">0dp</item> | ||
<item name="android:minWidth">0dp</item> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary while we already set width of the view?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes this is the tricky part. We want the buttons to respect certain insets on the sides. If we don't have the minWidth
property, it does not take the insets into account...
<item name="android:gravity">center</item> | ||
<item name="android:padding">0dp</item> | ||
<item name="android:minWidth">0dp</item> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question.
<item name="android:gravity">center</item> | ||
<item name="android:padding">0dp</item> | ||
<item name="android:minWidth">0dp</item> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have one question, otherwise LGTM!
feb66c1
to
cedeb8f
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Type of change
Content
Using the same text for stop button in live location share feature.
Fixing some button insets problem on some languages.
Motivation and context
Closes #6541
Screenshots / GIFs
Tests
Tested devices
Checklist