我有一个包含TextView
和两个LinearLayout
的FrameLayout
:
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
... a textview and 2 linearlayouts
</FrameLayout>
运行 Android Lint 后,我收到了以下警告:This <FrameLayout> can be replaced with a <merge> tag.
这个警告是什么意思?除了忽略之外,我还能做些什么来解决它?