大佬教程收集整理的这篇文章主要介绍了android – 错误:错误:不允许整数类型(在’layout_height’,值为’10’),大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
<TextView android:id="@+id/textView1" android:layout_width="match_parent" android:layout_height="10" android:layout_alignBottom="@+id/editText2" android:layout_alignRight="@+id/editText2" android:layout_alignEnd="@+id/editText2" android:layout_marginBottom="63dp" android:text="@String/Hello" />
每当我输入没有字符串的文本时,它会给我一个黄色的符号.所以我做了一个字符串.现在我在layout_height上得到了上面的消息.我是android开发的新手.
android:layout_height="10dp"
要么
android:layout_height="35sp"
以上是大佬教程为你收集整理的android – 错误:错误:不允许整数类型(在’layout_height’,值为’10’)全部内容,希望文章能够帮你解决android – 错误:错误:不允许整数类型(在’layout_height’,值为’10’)所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。