OK, here you go: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:textSize="20dip" android:text="JJJ says hello!" android:layout_marginLeft="10dip" android:paddingLeft="10dip" android:textColor="@android:color/black" android:background="@android:color/background_light" /> </LinearLayout>
On May 3, 11:55 am, Anurag Singh <[email protected]> wrote: > Paste your xml file. > > - Anurag Singh > > > > On Mon, May 3, 2010 at 11:59 PM, bwin <[email protected]> wrote: > > I'm having a problem with TextView and would appreciate some help > > finding out what I might be doing wrong. (Or if this is in fact an > > Android problem, a workaround :-) > > > If the first letter of text in a TextView is capital "J", the first > > pixel or two are cut off so that the "J" starts looking a bit more > > like an "I". If I set the gravity to, say, "center", the "J" looks > > OK. Setting layout_marginLeft or paddingLeft to a non-zero value does > > not help. > > > If you would like to see this effect for yourself, the easiest way is > > to create a default generic Android project and change the "hello" > > text to something like "JJJ". > > > Thanks for any help you may be able to give me. > > Brian. > > > PS: I just typed in "JJ" into the search widget of the generic Android > > Browser and its got the same problem. OK, so maybe it's an Android > > bug. Anyone have an idea for a workaround? I could stick a space in > > the front of all initial "J"s, but that's, um..., a little > > distasteful. > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<android-developers%[email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

