EditText warning in android app development -


while declaring edittext in xml file, warned given below

no label views point text field android:labelfor="@+id/@+id/start" attribute

edittext code is

<edittext     android:layout_width="wrap_content"     android:layout_height="wrap_content"             android:id="@+id/start"     android:hint="@string/edit_message" /> 

i had no idea error message trying inform me do!

thankfully found explanation: http://thecodeiscompiling.blogspot.com/2013/12/android-labelfor-waning-fix.html

the warning telling edittext field not have textview can read user when accessibility turned on, since haven't specified 1 android:labelfor attribute.


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

java.util.scanner - How to read and add only numbers to array from a text file -

iphone - Three second countdown in cocos2d -