gpt4 book ai didi

android - 安卓提示

转载 作者:太空宇宙 更新时间:2023-11-03 12:13:18 24 4
gpt4 key购买 nike

我试图在我的表单的 EditText 中显示提示,但我看不到我在部署应用程序时在 XML 布局中设置的提示,但我可以在 Eclipse 设计器 View 中看到提示,但是在部署时假设出现的相同提示丢失了,我尝试了所有可能的方法仍然无法在 EditText 中获得提示...这是我使用的编辑文本布局之一..

<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" />

[链接文字][1]

任何人都可以帮助我..拜托

提前致谢

[1]: http://imgur.com/PzomF.jpg[显示提示的设计器 View 屏幕截图][1]

最佳答案

这似乎是一个 SDK 错误,或者至少与一个错误有关。
http://code.google.com/p/android/issues/detail?id=7252

如果您删除以下内容,提示就会出现:
机器人:重力=“中心”

关于android - 安卓提示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3642234/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com