imagine i got a TextView text1 = findViewById(R.id.text1); - That Textbox is filling parent (Taken up the whole screen width) and is filled with dynamic string. That String can be 6 - 50 Characters, so i want to cut it, but... I want to cut it nicely...
I would want to get the current screen width and then cut the string depending on the screen width.
So now the Question: Is the any function or magic maths, that'd save me a lot of writing, so that i won't have to write down like every single width?