Try android:layout_gravity
发件人: android-developers@googlegroups.com
[mailto:android-developers@googlegroups.com] 代表 Live Happy
发送时间: 2012年11月16日 21:20
收件人: android-developers@googlegroups.com
主题: [android-developers] Text display in the bottom of emoji
I display emoji in EditText
android:gravity="center_horizontal"
IF you find that the alignment will not work as you desire, then the next
move would be to use a table row and set the gravity for the table row -
with the use of either gravity and/or padding you will get the desired
effect.
Regards,
Fred
On 16 November 2012
i tried it but it not work
On Fri, Nov 16, 2012 at 3:45 PM, Fred Niggle wrote:
> adjust gravity of the layout to center...
>
> On 16 November 2012 13:20, Live Happy wrote:
>
>>
>>
>> I display emoji in EditText using spannable, but the problem is that the
>> text appears in the bottom of the em
adjust gravity of the layout to center...
On 16 November 2012 13:20, Live Happy wrote:
>
>
> I display emoji in EditText using spannable, but the problem is that the
> text appears in the bottom of the emoji picture, not in the middle of it
> (see picture).
>
> So, how to make it display in the
I display emoji in EditText using spannable, but the problem is that the
text appears in the bottom of the emoji picture, not in the middle of it
(see picture).
So, how to make it display in the middle?
[image: Inline image 1]
--
You received this message because you are subscribed to
5 matches
Mail list logo