[android-developers] Re: TextView cuts off part of an initial capital "J"

2010-05-05 Thread bwin
I'm not sure what you mean; could be more specific?

I put that background attribute in there so I could see the extent of
the TextView itself.  The original test did not have it in and the
first J is still cut off.

On May 4, 9:08 pm, Second Dancer  wrote:
> This may result from its background property
>
> 2010/5/4 bwin 
>
>
>
> > OK, here you go:
>
> > 
> > http://schemas.android.com/apk/res/
> > android"
> >    android:orientation="vertical"
> >    android:layout_width="fill_parent"
> >    android:layout_height="fill_parent"
>
> >  >    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"
> >    />
> > 
>
> > On May 3, 11:55 am, Anurag Singh  wrote:
> > > Paste your xml file.
>
> > > - Anurag Singh
>
> > > On Mon, May 3, 2010 at 11:59 PM, bwin  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
> > android-developers@googlegroups.com
> > > > To unsubscribe from this group, send email to
> > > > android-developers+unsubscr...@googlegroups.com
> > 
>
> > > > 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 android-developers@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > android-developers+unsubscr...@googlegroups.com
> > > 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 android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> ---
> Thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: TextView cuts off part of an initial capital "J"

2010-05-04 Thread Second Dancer
This may result from its background property

2010/5/4 bwin 

> OK, here you go:
>
> 
> http://schemas.android.com/apk/res/
> android"
>android:orientation="vertical"
>android:layout_width="fill_parent"
>android:layout_height="fill_parent"
>>
> 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"
>/>
> 
>
> On May 3, 11:55 am, Anurag Singh  wrote:
> > Paste your xml file.
> >
> > - Anurag Singh
> >
> >
> >
> > On Mon, May 3, 2010 at 11:59 PM, bwin  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
> android-developers@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > android-developers+unsubscr...@googlegroups.com
> 
> >
> > > 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 android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
---
Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: TextView cuts off part of an initial capital "J"

2010-05-03 Thread bwin
OK, here you go:


http://schemas.android.com/apk/res/
android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>



On May 3, 11:55 am, Anurag Singh  wrote:
> Paste your xml file.
>
> - Anurag Singh
>
>
>
> On Mon, May 3, 2010 at 11:59 PM, bwin  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 android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en