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

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

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

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

<me.zhanghai.android.douya.profile.ui.ProfileLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/scroll"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".profile.ui.ProfileActivity">

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <me.zhanghai.android.douya.profile.ui.ProfileHeaderLayout
            android:id="@+id/header"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:elevation="@dimen/appbar_elevation">

            <View
                android:id="@+id/dismiss"
                android:layout_width="match_parent"
                android:layout_height="0dp" />

            <LinearLayout
                android:id="@+id/appBar"
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:background="?colorPrimary"
                android:orientation="vertical"
                android:theme="?actionBarTheme">

                <include layout="@layout/profile_header_appbar_content_include" />
            </LinearLayout>

            <include layout="@layout/profile_header_avatar_include" />
        </me.zhanghai.android.douya.profile.ui.ProfileHeaderLayout>

        <me.zhanghai.android.douya.profile.ui.ProfileContentLayout
            android:id="@+id/contentState"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:elevation="@dimen/appbar_elevation"
            android:theme="?actionBarTheme">

            <me.zhanghai.android.douya.ui.FlexibleSpaceContentRecyclerView
                android:id="@+id/content"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:paddingLeft="@dimen/card_list_horizontal_padding"
                android:paddingRight="@dimen/card_list_horizontal_padding"
                android:clipToPadding="false"
                android:scrollbars="vertical"
                android:scrollbarStyle="outsideOverlay"
后面还有 14 行代码,解锁后查看完整代码

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

AI 解读

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

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