启动activity不让editText获取焦点 , 在edittext服父局中添加
android:focusable="true"
android:focusableInTouchMode="true"
让RelativeLayout 可点击
<RelativeLayout
android:id="@+id/relativeLayout"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_weight="1"
android:focusableInTouchMode="true" >
最后 由于春运快到了,给大家安利一个抢火车票的小程序心到抢票,微信扫码关注点击立即抢票即可
个人亲测效率很高,大家也可以加他们官方微信 xdticket 咨询。