android studio textview set gravity programmatically code example
Example: set textview gravity programmatically android
labelTV.setGravity(Gravity.CENTER | Gravity.BOTTOM);
labelTV.setGravity(Gravity.CENTER | Gravity.BOTTOM);