-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add how to remove tab from main page text #6965
Add how to remove tab from main page text #6965
Conversation
That text in that place looks odd. I would add a subtitle to the toolbar (this should be easily doable without adding new views, but just with |
@ktprograms what about "Swipe to remove"? |
@Stypox The cropping is only really a problem if the text is too long in different translations. |
Mmmh, yes... I don't know what we should do. The fragment title would also be cropped in some locales, but we never cared about that as that's just the default android behaviour. Maybe you could add a centered description text at the top of the activity with appropriate padding above and below, similarly to the "Edit each notification..." text at the top of the action button section in "Notification" settings. |
Is there any plan to solve this in future? |
I don't think so, that's just the way Android works... But titles are usually small (i.e. single words) even when translated. |
Ok, in that case I think I'll just follow your suggestion to have the text at the top and centered. |
Sorry, I don't get how this is related to "I don't [...] translated.". I was talking generally about the title in the toolbar that you can see in almost every activity and fragment throughout the app. |
I meant that the current approach works for titles since they're quite short, but for this help text I'll put it below the ActionBar. |
Yes, and make sure the text can wrap |
@Stypox why does Edit: I noticed this comment you made: #5813 (review). Does your opinion on RelativeLayout vs ConstraintLayout still hold? |
Yes please, I still hate |
@ktprograms New screenshot, please? |
Thanks! That looks great. I was thinking about the centre of the screen, but that would cause the text to be hidden if the user adds more tabs. This position is much better. |
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.
Thank you!
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.
Perfect, thank you! :-)
What is it?
Description of the changes in your PR
Before/After Screenshots/Screen Record
Before
After
Fixes the following issue(s)
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.
Due diligence