2012-11-16 2 views
0

EditText에 이모티콘을 표시하지만, 중간 부분이 아니라 그림이 그림의 하단에 표시되는 것이 문제입니다 (그림 참조).이모티콘 하단에 텍스트가 표시됩니다.

그래서 중간에 표시하는 방법은 무엇입니까? 대한

enter image description here

 <EditText 
     android:id="@+id/et_tInput" 
     android:layout_width="0dip" 
     android:layout_height="match_parent" 
     android:layout_weight="1" 
     android:inputType="textCapSentences|textMultiLine" 
     android:maxLength="2000" 
     android:maxLines="4" 
     android:textColor="@android:color/black" 
     android:textCursorDrawable="@drawable/black_cursor"/> 

답변

0

설정 무게 중심 당신의 TextView

android:gravity="center" 

또는

android:gravity="center_vertical" 
도움이되지는
+0

의 글고에서 함께 텍스트와 이모티콘이이 햅 한 경우 그 (것)들의 그것의 일은 정밀한 – steevoo

+0

OK 몫 배치 xml를 공유한다. 문제가 있습니다 –

+0

질문에 EditText를 추가하십시오 – steevoo

관련 문제