如何改变窗口的标题栏的布局
<LinearLayout?
xmlns:android=http://schemas.android.com/apk/res/android?
android:layout_width="wrap_content"?
android:layout_height="wrap_content">?
????? <TextView android:id="@+id/text"?
??????? android:layout_width="wrap_content"?
??????? android:layout_height="wrap_content"?
??????? android:layout_alignParentLeft="true"?
??????? android:text="text" />?
????? <Button android:id="@+id/button"?
??????? android:layout_width="wrap_content"?
??????? android:layout_height="30px"?
??????? android:text="button" />?
</LinearLayout>?
三、 注意?
a)????????? 注意设置顺序?
requestWindowFeature要在setContentView之前?
getWindow().setFeatureInit最好在setContentView之后?
b)???????? 注意requestWindowFeature(Window.FEATURE_CUSTOM_TITLE)不要和其它对TITLE的设置requestWindowFeature(xxxx)一起使用