I have the following in a TableRow:
<TextView
android:text="Current"
android:id="@+id/theScreen"
android:layout_width="wrap_content"
android:padding="2px"
android:typeface="monospace"
android:textStyle="bold"
android:gravity="enter_vertical|center_horizontal">
</TextView>
<ImageView
android:id="@+id/rightArrow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:focusable="false"
android:padding="2px"
android:src="@drawable/right_arrow">
</ImageView>
The image in the ImageView is 26 pixels high. I want the text in the TextView to be centered both horizontally and vertically. It is centered but stays at the top of the box. I'm sure I'm overlooking something stupid... Thanks!