myTextview.setOnFocusChangeListener(new OnFocusChangeListener() { @Override public void onFocusChange(View v, boolean hasFocus) { if (hasFocus) { getActivity().getWindow().setSoftInputMode(WindowManager.LayoutP
<?xml version="1.0" encoding="utf-8"?> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" xmlns:android="ht
1、TextView代码展示 <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:text="吴豪乐工作室" xmlns:android="http://schemas.a