新增 docs/android/ 目录: - README.md 总入口(快速上手 + 决策摘要 + 数据流) - 01-architecture.md 模块划分 + 数据流 + 选型理由 - 02-api-contract.md 每个接口的请求/响应 + DTO 字段映射 - 03-build-run.md Gradle/SDK/网络安全白名单/真机调试 - 04-milestones.md 7 天里程碑 + DoD + E2E 测试场景 新增 assets/: - logo/: 主图标 master + adaptive icon + 5 DPI launcher (方/圆) - splash/: 启动屏 logo + 完整背景预览 + 5 DPI 资源 - android_resources/: 集成所需的 XML(adaptive icon/主题/颜色/字符串/drawable/layout) - INTEGRATION.md 集成指南 - logo.svg + _make_logo.py 设计源 设计风格:参考用户提供的木质方块字母积木图,米色木纹底 + 深棕色字母 D,代表 'Diary',温暖私人日记感。 服务器体检:所有容器/API/DB/翻译主链路正常,TMT 本月已用 0.37%。 MaaS 备用通道上次已验证可用。
43 lines
1.5 KiB
XML
43 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
启动屏 layout(SplashScreen API 12+ 用)
|
|
- 背景 = 木色
|
|
- 中心 = logo + app 名 + 副标题
|
|
- 不依赖任何外部依赖,纯原生
|
|
-->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:gravity="center"
|
|
android:background="@color/splash_background">
|
|
|
|
<ImageView
|
|
android:id="@+id/splash_logo"
|
|
android:layout_width="@dimen/splash_logo_size"
|
|
android:layout_height="@dimen/splash_logo_size"
|
|
android:src="@drawable/ic_splash_logo"
|
|
android:contentDescription="@string/app_name"
|
|
android:layout_marginBottom="24dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/splash_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/app_name"
|
|
android:textColor="@color/splash_letter"
|
|
android:textSize="40sp"
|
|
android:textStyle="bold"
|
|
android:fontFamily="sans-serif" />
|
|
|
|
<TextView
|
|
android:id="@+id/splash_subtitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/splash_subtitle"
|
|
android:textColor="@color/splash_subtitle"
|
|
android:textSize="16sp"
|
|
android:layout_marginTop="8dp"
|
|
android:fontFamily="sans-serif" />
|
|
|
|
</LinearLayout> |