I have two TextViews in a linear layout. The first Textview, call it pen_name, has an accompanying image; the second TextView is just text. On the Graphical Layout, everything shows up fine. But when I run the app on a real device, the image but not the text of the first TextView shows. The second TextView works fine. Here is the code.
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<TextView
android:id="@+id/pen_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="3dp"
android:drawableLeft="@drawable/a_pen"
android:drawablePadding="3dp"
android:gravity="center_vertical"
android:text="my_pseudonym"
android:textColor="#1083f0"
android:textSize="12sp"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="3dp"
android:layout_marginLeft="2dp"
android:gravity="center_vertical"
android:text="Writer"
android:textColor="#1083f0"
android:textSize="12sp" />
</LinearLayout>