pda/zhuike/src/main/res/layout/activity_paihangbang.xml

33 lines
1.3 KiB
XML
Raw Normal View History

2019-02-19 22:03:42 +08:00
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Activity_paihangbang"
android:fitsSystemWindows="true"
android:clipToPadding="true"
>
<!-- 即toolbar悬浮在statusbar之后 https://blog.csdn.net/zafir6453/article/details/51344241-->
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-02-21 00:01:55 +08:00
android:paddingTop="@dimen/toolbarPadding"
2019-02-19 22:03:42 +08:00
android:fitsSystemWindows="true"
android:theme="@style/ToolBarTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/ToolBarTheme.PopupOverlay"
/>
</android.support.design.widget.AppBarLayout>
<include layout="@layout/content_activity_paihangbang" />
</android.support.design.widget.CoordinatorLayout >