Tag Archives: bug

460 views

EditText.setOnKeyListener not working on maxLines EditText

Check this in XML file if use singleLine singleLine change to maxLines (1 if singleLine) declare inputType android:maxLines="1" android:inputType="text"

Posted in Android Examples Code, Bugs, warnings, errors | Tagged , , | Comments Off on EditText.setOnKeyListener not working on maxLines EditText
440 views

EditText hint not show

Try this solution – into xml file add row to EditText tag: android:textColorHint="@color/grey"

Posted in Android Examples Code, Bugs, warnings, errors | Tagged , , | Comments Off on EditText hint not show
4,967 views

Android 4.4 Emulator does not rotate screen

Some bug in Android 4.4 Emulator If I press Ctrl + F11 applications screen does not rotate. You can change Screen Orientation programatically for example by menu item private static final int MY_MENU_6 = Menu.FIRST + 5; private static final … Continue reading

Posted in Bugs, warnings, errors, Eclipse | Tagged , , , , | Comments Off on Android 4.4 Emulator does not rotate screen
4,355 views

Multiple substitutions specified in non-positional format

Multiple substitutions specified in non-positional format;did you mean to add the formatted=”false” attribute? Wiktionary, WiktionarySimple location C:\documents\WiktionarySimple\res\values\strings.xml Issue:   <string name="template_user_agent">"%s/%s (Linux; Android)"</string> <string name="template_wotd_title">"Wiktionary:Word of the day/%s %s"</string> <string name="template_define_url">"http://en.wiktionary.org/wiki/%s"</string> Solution: <string name="template_user_agent" translatable="false">"%1$s/%2$s (Linux; Android)"</string> <string name="template_wotd_title">"Wiktionary:Word of … Continue reading

Posted in Bugs, warnings, errors, Uncategorized | Tagged , | Comments Off on Multiple substitutions specified in non-positional format
3,176 views

R.java not generated – Android project in Eclipse issue

If You create new xml file with prefix _ , for example _style.xml and You to clean project (Project->Clean), than package in folder project\gen will deleted with R.java class and new R.java not be created. For to solving this problem … Continue reading

Posted in Bugs, warnings, errors, Eclipse | Tagged , , | Comments Off on R.java not generated – Android project in Eclipse issue