7

android sdk how to keep TextView centered with dynamic set of text sizes

view full story
linux-howto

http://stackoverflow.com – I have exhausted my search to keep the TextView centered, when changing the textsize. There are many similar questions on this site, but none of the threads provide a solution for my problem. In my XML file, I have a RelativeLayout, and TextView inside of it(code below). When changing the text size from 1 --> 300 of the TextView, and then back from 300 --> 1 programmatically, the position of the TextView changes and shifts lower towards the bottom of the screen. How do i keep the TextView centered with a dynamic set of textsizes?? Here is my xml file <RelativeLayout android:lay (HowTos)