xml http://li2.me/2016/08/make-a-reusable-ui-in-android-app-development.html

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xml http://li2.me/2016/08/make-a-reusable-ui-in-android-app-development.html相关的知识,希望对你有一定的参考价值。

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true">

    <include
        layout="@layout/toolbar_actionbar"
        android:layout_alignParentTop="true"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"/>

    <FrameLayout
        android:id="@+id/contentFragmentContainer"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginTop="@dimen/headerBarHeight"
        android:layout_above="@+id/operationToolbarViewStub"
        app:layout_behavior="@string/appbar_scrolling_view_behavior"/>

    <ViewStub
        android:id="@id/operationToolbarViewStub"
        android:inflatedId="@id/operationToolbarViewStub"
        android:layout_width="match_parent"
        android:layout_height="@dimen/footerBarHeight"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true"/>

</RelativeLayout>

以上是关于xml http://li2.me/2016/08/make-a-reusable-ui-in-android-app-development.html的主要内容,如果未能解决你的问题,请参考以下文章

java http://li2.me/2016/08/make-a-reusable-ui-in-android-app-development.html

java http://li2.me/2016/08/make-a-reusable-ui-in-android-app-development.html

java http://li2.me/2016/08/make-a-reusable-ui-in-android-app-development.html

java http://li2.me/2016/08/make-a-reusable-ui-in-android-app-development.html

XML——初识XML

XML——初识XML