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

(开头部分) 5KB

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

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

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

<merge xmlns:android="http://schemas.android.com/apk/res/android">

    <ImageView
        android:id="@+id/backdrop"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:scaleType="centerCrop" />

    <View
        android:id="@+id/scrim"
        android:layout_width="match_parent"
        android:layout_height="@dimen/scrim_height"
        android:layout_gravity="bottom" />

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

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:clipChildren="false">

            <me.zhanghai.android.douya.ui.SimpleCircleImageView
                android:id="@+id/fade_out_recent_one_avatar"
                android:layout_width="@dimen/touch_target_size"
                android:layout_height="@dimen/touch_target_size"
                android:layout_alignLeft="@+id/recent_one_avatar"
                android:layout_alignTop="@id/recent_one_avatar"
                android:padding="@dimen/avatar_padding" />

            <me.zhanghai.android.douya.ui.SimpleCircleImageView
                android:id="@+id/recent_one_avatar"
                android:layout_width="@dimen/touch_target_size"
                android:layout_height="@dimen/touch_target_size"
                android:layout_toLeftOf="@+id/recent_two_avatar"
                android:layout_alignWithParentIfMissing="true"
                android:layout_marginRight="@dimen/screen_edge_horizontal_margin_with_8dp_padding"
                android:layout_marginTop="@dimen/screen_edge_horizontal_margin_with_4dp_padding"
                android:padding="@dimen/avatar_padding" />

            <me.zhanghai.android.douya.ui.SimpleCircleImageView
                android:id="@+id/fade_out_recent_two_avatar"
                android:layout_width="@dimen/touch_target_size"
                android:layout_height="@dimen/touch_target_size"
                android:layout_alignLeft="@id/recent_two_avatar"
                android:layout_alignTop="@id/recent_two_avatar"
                android:padding="@dimen/avatar_padding"
                android:visibility="invisible" />

            <me.zhanghai.android.douya.ui.SimpleCircleImageView
                android:id="@+id/recent_two_avatar"
后面还有 73 行代码,解锁后查看完整代码

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

AI 解读

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

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