添加位置信息浮动层,显示定位状态

This commit is contained in:
2026-02-28 18:25:45 +08:00
parent e8be0ef93f
commit 04e8290a8a
1277 changed files with 45436 additions and 11 deletions

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#1976D2"
android:pathData="M0,0h108v108h-108z"/>
</vector>

View File

@@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#FFFFFF"
android:pathData="M54,36c-9.94,0 -18,8.06 -18,18s8.06,18 18,18 18,-8.06 18,-18 -8.06,-18 -18,-18zM54,66c-6.63,0 -12,-5.37 -12,-12s5.37,-12 12,-12 12,5.37 12,12 -5.37,12 -12,12z"/>
<path
android:fillColor="#FFFFFF"
android:pathData="M78,27l-6,6 -3,-3 -15,15 15,15 3,-3 6,6 6,-6 -12,-12z"/>
</vector>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/primary"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/primary"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

View File

@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="accent">#FF5722</color>
<color name="background">#FFFFFF</color>
<color name="black">#FF000000</color>
<color name="error">#F44336</color>
<color name="on_background">#212121</color>
<color name="on_error">#FFFFFF</color>
<color name="on_primary">#FFFFFF</color>
<color name="on_surface">#212121</color>
<color name="primary">#1976D2</color>
<color name="primary_dark">#1565C0</color>
<color name="primary_light">#42A5F5</color>
<color name="surface">#F5F5F5</color>
<color name="white">#FFFFFFFF</color>
<string name="about">关于</string>
<string name="address_hint">请输入地址</string>
<string name="app_name">巡检相机</string>
<string name="bold_style">醒目样式</string>
<string name="camera">相机</string>
<string name="camera_permission_required">需要相机权限才能拍照</string>
<string name="cancel">取消</string>
<string name="capture">拍照</string>
<string name="confirm">确认</string>
<string name="content">内容</string>
<string name="default_style">默认样式</string>
<string name="delete">删除</string>
<string name="edit">编辑</string>
<string name="error">错误</string>
<string name="exposure">曝光</string>
<string name="focus">对焦</string>
<string name="gallery">相册</string>
<string name="gps_location">经纬度</string>
<string name="high_quality">高清</string>
<string name="inspection_theme">巡检主题</string>
<string name="inspector_name">巡检员</string>
<string name="loading">加载中...</string>
<string name="location_permission_required">需要定位权限才能获取地点信息</string>
<string name="location_unavailable">定位不可用</string>
<string name="low_quality">流畅</string>
<string name="manual_address">手动输入地址</string>
<string name="merge">合成</string>
<string name="network_location">联网查询</string>
<string name="no_images">暂无图片</string>
<string name="permission_denied">权限被拒绝</string>
<string name="photo_saved">照片已保存</string>
<string name="save">保存</string>
<string name="settings">设置</string>
<string name="share">分享</string>
<string name="simple_style">简约样式</string>
<string name="standard_quality">标准</string>
<string name="title">标题</string>
<string name="version">版本</string>
<string name="watermark">水印</string>
<style name="Theme.InspectionCamera" parent="android:Theme.Material.Light.NoActionBar">
<item name="android:colorPrimary">@color/primary</item>
<item name="android:colorPrimaryDark">@color/primary_dark</item>
<item name="android:colorAccent">@color/accent</item>
<item name="android:windowBackground">@color/background</item>
<item name="android:statusBarColor">@color/primary_dark</item>
</style>
</resources>