开场白:经常在耳边听到测试或者产品说:“为什么ios可以实现,Android不可以了?”
需求:模仿微信创建拼手气红包的页面。
解决方案:
首先在需要软键盘顶上去的布局外面嵌套ScrollView
<ScrollView
android:id="@+id/scrollview"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="w