2026-04-27 11:26:50 +09:30
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2026-04-28 20:57:17 +09:30
|
|
|
|
<!-- 首页容器:固定状态栏 + ViewPager2 + 打卡面板覆盖层 -->
|
2026-04-28 21:03:03 +09:30
|
|
|
|
<com.xiaoqu.watch.ui.widget.SwipeDownLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
|
android:id="@+id/swipeDownLayout"
|
2026-04-27 11:26:50 +09:30
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="match_parent"
|
2026-04-28 20:57:17 +09:30
|
|
|
|
android:background="@color/background">
|
2026-04-27 11:26:50 +09:30
|
|
|
|
|
2026-04-28 20:57:17 +09:30
|
|
|
|
<!-- 主内容区 -->
|
|
|
|
|
|
<LinearLayout
|
2026-04-27 19:47:31 +09:30
|
|
|
|
android:layout_width="match_parent"
|
2026-04-28 20:57:17 +09:30
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
|
android:paddingStart="21dp"
|
|
|
|
|
|
android:paddingTop="27dp"
|
|
|
|
|
|
android:paddingEnd="21dp">
|
2026-04-28 18:38:17 +09:30
|
|
|
|
|
2026-04-28 20:57:17 +09:30
|
|
|
|
<!-- 固定状态栏 -->
|
|
|
|
|
|
<com.xiaoqu.watch.ui.widget.StatusBarView
|
|
|
|
|
|
android:id="@+id/statusBar"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="24dp"
|
|
|
|
|
|
android:layout_marginBottom="3dp" />
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ViewPager2 -->
|
|
|
|
|
|
<androidx.viewpager2.widget.ViewPager2
|
|
|
|
|
|
android:id="@+id/viewPager"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 考勤打卡面板(覆盖层,默认隐藏) -->
|
|
|
|
|
|
<com.xiaoqu.watch.ui.punch.PunchPanelView
|
|
|
|
|
|
android:id="@+id/punchPanel"
|
2026-04-27 11:26:50 +09:30
|
|
|
|
android:layout_width="match_parent"
|
2026-04-28 20:57:17 +09:30
|
|
|
|
android:layout_height="match_parent" />
|
2026-04-27 11:26:50 +09:30
|
|
|
|
|
2026-04-28 20:57:17 +09:30
|
|
|
|
<!-- 弹窗容器(最顶层,用于 QuTipDialog) -->
|
|
|
|
|
|
<FrameLayout
|
|
|
|
|
|
android:id="@+id/dialogContainer"
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
2026-04-28 21:03:03 +09:30
|
|
|
|
</com.xiaoqu.watch.ui.widget.SwipeDownLayout>
|