Greeting text on home screen should be a single TextView
See original GitHub issueFor localization, it’s hard to make sure that the reversed text for each of the two TextViews that comprise the home screen greeting correctly match the flipped layout that Android forms. This is mostly correct today, but it would be more correct if we could combine the strings together. The main challenge has been making sure that:
- That the line properly extends the whole length of the TextView
- That when the profile name is really long or display text is large, that the name properly wraps to the next line & the underline is properly resized to not extend past the last character
Another issue with current code is that the screen-reader reads it as Good Morning,, Rajat!
. Basically there is one extra ,
. This is because the screen-reader adds ,
between two textviews and we already have one ,
in text itself.
Issue Analytics
- State:
- Created 2 years ago
- Comments:34 (34 by maintainers)
Top Results From Across the Web
Adding TextViews to home screen widget programmatically
Adding TextViews to home screen widget programmatically ... I want to programmatically add Text Views controls to my home screen widget. In the...
Read more >Working with the TextView | CodePath Android Cliffnotes
This guide will take a look at the TextView and discuss common properties associated with this view as well as how to setup...
Read more >TextView - Android Developers
An editable text view, extending AutoCompleteTextView , that can show completion ... android:singleLine, Constrains the text to a single horizontally ...
Read more >TextViews [Displaying information on the screen] - YouTube
... #2 - TextViews [Displaying information on the screen ]By the end of this video you will :1) Understand how to display text...
Read more >TextView EditText & Button in Android | Android Studio | 2020
This video is about how to add Textview, Edittext and Button in an Android Application creating using Android Studio.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @rushikeshsuryawanshi.
@yashbansal130 In Oppia we follow particular style guide for code formatting and one of the rules in style guide is to not exceed more that 100 char in a line so you will just neet to format the code. Well most of the time all these issues can be fixed automatically while pushing the code but sometimes we have to do it manually. Take refrence from
code style guide
in wiki.