Can you please tell me how to align the text in the center of the TextView in height? How does Gravity.CENTER work for me? As seen in the text on a black TextView, the text aaaaa is not symmetrical.
<TextView android:id="@+id/textView" android:layout_width="150dp" android:layout_height="28dp" android:text="aaaaa" android:gravity="center_vertical" android:background="#000000" android:textColor="#ffffff"/> 