解决方法
设置clickable为true
- <FrameLayout
- <span style="background-color: rgb(255, 0, 0);">android:clickable="true"</span>
- android:id="@+id/flHomebottom"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="bottom"
- android:orientation="horizontal">