I have textview.xml which is an element style for clips.
<TextView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="left|center_horizontal" android:textSize="18sp"> </TextView>
I know that you can specify both (Gravity.LEFT | Gravity.CENTER_HORIZONTAL) and in xml, which does not work - the text moves only to the left.
android android-layout gravity
87element Mar 08 2018-11-18T00: 00Z
source share