по какой-то причине, мой EditText не показывает клавиатуру при постукивании дальше, я понятия не имею, что это неправильно, любая помощь будет принята с благодарностьюEditText не показывает клавиатуры
я испытал это с помощью эмулятора и фактическое устройство, но не работают
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Notification text:"
android:id="@+id/intro"/>
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/intro"
android:id="@+id/txt_tekstNotif"
android:textSize="20dp"
android:lines="4"
android:focusable="true"/>
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/txt_tekstNotif"
android:text="@string/cre_notif"
android:id="@+id/btn_cre_notif"/>
</LinearLayout>
Попытайтесь добавить это в свой 'EditText':' android: focusableInTouchMode = "true" ' –
Все кажется правильным ... Можете попробовать, удалив последние 2 строки вашего EditText, а также попробуйте скопировать их в некоторые другие приложения/проекта и протестировать его. – shivamDev
Btw, покажите нам, как вы, где вы создаете экземпляр EditText, пожалуйста, –