This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi guys! I have a problem with setting gravity of the TextView within TextSwitcher - I want it to be centered (horizontally and vertically), I've spent about 4 hours on it and haven't found the solution so far.
That's how I add TextView into TextSwitcher:
And custom TextView layout:
Android API used: version 7
That's how it looks now:
I want this text to be centered vertically. What am I doing wrong, guys?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Set view gravity inside of TextSwitcher dinamically