【问题】
在折腾:
过程中,参考教程:
写出了代码:
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
tools:context=".MainActivity" >
android:id="@ id/url_or_id"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="@string/songtaste URL or ID"
>
结果有警告:
The view name (@ id/url_or_id) suggests this is a URI, but it does not include ‘textUri’ in the inputType
【解决过程】
1.估计是需要后续实现对应的textUri类型的变量,然后就可以消除此警告了。
【总结】
等待后续写完代码,看看是否可以消除此警告。