阅读背景:

LayoutInflater类使用实例

来源:互联网 

用于构建庞杂的Dialog显示界面

main.xml代码以下:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="https://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >

    <TextView
        android:id="@+id/mytext"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"/>

    <Button
        android:id="@+id/login"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="登录" />

</LinearLayout><?xml version="1.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: