提示Android中 [英] Hint in Android
问题描述
我试图表明我在形式的EditText暗示,但我不能看到,我已在XML布局,而我的应用程序获取部署设置提示,但我可以看到能够在eclipse设计视图中的提示,但同时获得部署在同一个提示假设出现丢失,我尝试了所有可能的方式我还是不能得到暗示的EditText上......这是我使用的编辑文本布局之一..
I tried to show a hint in the EditText of my form, but i can't see that hint that i have set in the XML Layout while my application gets deployed, but i can able see the hint in eclipse designer view, but while getting deployed the same hint suppose to appear is missing, i tried with all the possible ways still i could not get the hint in the EditText... This is one of the Edit Text layout that i have used..
..EditText android:id="@+id/SetTimerSec_EditText01"
android:layout_width="60sp" android:layout_height="40sp"
android:singleLine="true"
android:layout_x="220sp" android:layout_y="170sp"
android:hint="0"
android:inputType="phone"
android:textColorHint="@color/black"
android:gravity="center"
android:focusableInTouchMode="true">
/EditText...
[链接] [1]
[link text][1]
任何人可以帮助me..Please
Can anybody Help me..Please
在此先感谢
[1]: http://imgur.com/PzomF.jpg title=\"Hosted
[设计师查看与提示截图显示] [1]
[1]: http://imgur.com/PzomF.jpg [ScreenShot of Designer View with hint displayed][1]
推荐答案
这似乎是一个错误的SDK,或者至少与一个。结果
HTTP://$c$c.google.com/p /安卓/问题/细节?ID = 7252
It seems like a SDK bug, or at least related to one.
http://code.google.com/p/android/issues/detail?id=7252
该提示显示出来,如果你删除以下:结果
机器人:比重=中心
The hint shows up if you remove the following:
android:gravity="center"
这篇关于提示Android中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!