今天在写android程序时遇到了一个奇怪的问题。
一个简单的布局
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<FrameLayout
android:id="@+id/fl_base_container"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginTop="45dp" />
<FrameLayout
android:id="@+id/fl_actionbar"
android:layout_width="fill_parent"
android:layout_height="48dp"
android:background="@drawable/headbg">
<TextView
android:id="@+id/tv_center"
android:textColor="@color/white"
androi