Я тестирую свое приложение на genymotion. Я хочу, чтобы клавиатура отображалась при касании текста редактирования, пожалуйста, помогите мне в этом. this is the screen shot of my appклавиатура не отображается при редактировании текста.
Вот XML-
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="#5a5ab5"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context=".MainActivity"
android:clickable="false">
<com.github.florent37.materialtextfield.MaterialTextField
android:layout_width="300dp"
android:layout_height="wrap_content"
android:layout_below="@+id/view"
app:mtf_image="@drawable/phon"
android:id="@+id/view3">
<EditText
android:layout_width="wrap_content"
android:layout_height="40dp"
android:id="@+id/phoneNo"
android:paddingLeft="5dp"
android:textSize="18sp"
android:inputType="phone"
android:background="@drawable/phone"
android:hint="Phone Number"
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />
При открытии виртуального устройства есть один параметр настройки. перейдите к настройке и установите флажок «Использовать виртуальную клавиатуру для ввода текста». а затем запустите свое устройство genymotion. – Alpha
Я тоже это проверил, поэтому мне так интересно, почему мой метод не работает –