app/src/main/res/layout/main_activity.xml

(完整代码) 1KB

<?xml version="1.0" encoding="utf-8"?>

<!--
  ~ Copyright (c) 2015 Zhang Hai <Dreaming.in.Code.ZH@Gmail.com>
  ~ All Rights Reserved.
  -->

<me.zhanghai.android.douya.ui.DispatchInsetsDrawerLayout
    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:id="@+id/drawer"
    android:layout_height="match_parent"
    android:layout_width="match_parent"
    tools:context=".main.ui.MainActivity">

    <me.zhanghai.android.douya.ui.InsetBackgroundFrameLayout
        android:id="@+id/container"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:fitsSystemWindows="true"
        app:insetBackground="@color/douya_primary_dark_without_system_window_scrim" />

    <fragment
        android:id="@+id/navigation_fragment"
        android:name="me.zhanghai.android.douya.navigation.ui.NavigationFragment"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_gravity="start"
        tools:layout="@layout/navigation_fragment" />

    <me.zhanghai.android.douya.ui.MaxDimensionDispatchInsetsFrameLayout
        android:id="@+id/notification_list_drawer"
        android:layout_width="wrap_content"
        android:maxWidth="@dimen/drawer_max_width"
        android:layout_height="match_parent"
        android:layout_gravity="end"
        android:background="@color/window_background_light">

        <fragment
            android:id="@+id/notification_list_fragment"
            android:name="me.zhanghai.android.douya.notification.ui.NotificationListFragment"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            tools:layout="@layout/notification_list_fragment" />
    </me.zhanghai.android.douya.ui.MaxDimensionDispatchInsetsFrameLayout>
</me.zhanghai.android.douya.ui.DispatchInsetsDrawerLayout>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。