C# EditText Xamarin Android键盘未显示
有人知道这里有什么问题吗?在模拟和我的设备上,当选择EditText时,键盘显示良好,但在特定设备(华为lyo l01)上则不显示 已经尝试过的事情: -清除分区缓存 -清除键盘缓存 -使用不同的键盘(gboard和快捷键) 这些都没用C# EditText Xamarin Android键盘未显示,c#,android,xamarin,xamarin.android,C#,Android,Xamarin,Xamarin.android,有人知道这里有什么问题吗?在模拟和我的设备上,当选择EditText时,键盘显示良好,但在特定设备(华为lyo l01)上则不显示 已经尝试过的事情: -清除分区缓存 -清除键盘缓存 -使用不同的键盘(gboard和快捷键) 这些都没用 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" androi
<?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">
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/txtScreenName"
android:textIsSelectable="true"
android:focusable="true"
android:focusableInTouchMode="true" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/txtMessage"
android:textIsSelectable="true"
android:focusable="true"
android:focusableInTouchMode="true" />
<CheckBox
android:text="A"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/checkBox1" />
<Button
android:text="Add"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/btnAdd" />
<Button
android:text="Remove"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/btnRemove" />
<Button
android:text="Save"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/btnSave" />
<ListView
android:minWidth="25px"
android:minHeight="25px"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/lvFollowers"
android:clickable="true"
android:choiceMode="singleChoice"
android:contextClickable="true"
android:layout_marginBottom="0.0dp" />
</LinearLayout>
从编辑文本中删除可聚焦
和可聚焦InTouchMode
<除非您正在开发游戏,否则应避免使用code>focusableInTouchMode。看一看可能是你需要强制要求集中精力明天再试,非常感谢。但是你能解释一下为什么在某些设备中是这样的吗?