I am creating an Android application that supports both the Android mobile phone and the galaxy tab, I need to dynamically align the text, this is the mobile version (small layout) I need to configure the text for the text view dynamically as "mobile phone", otherwise, if it is a tab galaxy galaxy or some other Android tab, I need to dynamically set the text as “Galaxy Tab”.
If anyone knows a solution will help me?
Thank.
source
share