Merge branch 'master' of gitlab.navinfo.com:CollectVehicle/OneMapQS

This commit is contained in:
2023-04-21 14:21:25 +08:00
168 changed files with 11641 additions and 99 deletions

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="#9F9F9F"/>
<item android:state_checked="true" android:color="@color/white"></item>
<item android:state_selected="true" android:color="@color/white"></item>
<item android:state_pressed="true" android:color="@color/white"></item>
<item android:color="#9F9F9F"></item>
</selector>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="true" android:color="@color/red"/>
<item android:state_enabled="false" android:color="@color/text_hint_gray"/>
</selector>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="true" android:color="@color/blue"/>
<item android:state_enabled="false" android:color="@color/text_hint_gray"/>
</selector>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="true" android:color="@color/orange"/>
<item android:state_enabled="false" android:color="@color/text_hint_gray"/>
</selector>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="@color/line_gray" />
<item android:color="@color/white" />
</selector>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:state_enabled="false" android:drawable="@color/white"></item>
<item android:state_checked="true" android:drawable="@drawable/icon_btn_bg_gray_press"></item>
<item android:state_selected="true" android:drawable="@drawable/icon_btn_bg_gray_press"></item>
<item android:state_pressed="true" android:drawable="@drawable/icon_btn_bg_gray_press"></item>
<item android:drawable="@drawable/icon_btn_bg_white_nor"></item>
</selector>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<solid android:color="@color/blue" />
<corners android:radius="@dimen/five" />
</shape>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#fe1a1a" />
<corners android:radius="@dimen/five" />
</shape>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="true" android:drawable="@mipmap/icon_camera_on">
</item>
<item android:state_selected="true" android:drawable="@mipmap/icon_camera_on">
</item>
<item android:drawable="@mipmap/icon_camera_off">
</item>
</selector>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="true" android:drawable="@mipmap/record_select">
</item>
<item android:state_selected="true" android:drawable="@mipmap/record_select">
</item>
<item android:drawable="@mipmap/takephoto_select">
</item>
</selector>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="true" android:state_enabled="true" android:drawable="@mipmap/icon_camera_start">
</item>
<item android:state_selected="true" android:state_enabled="true" android:drawable="@mipmap/icon_camera_start">
</item>
<item android:state_enabled="false" android:drawable="@mipmap/icon_camera_start_disable">
</item>
<item android:drawable="@mipmap/icon_camera_end">
</item>
</selector>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<corners
android:bottomLeftRadius="@dimen/five"
android:bottomRightRadius="@dimen/five"
android:topLeftRadius="@dimen/five"
android:topRightRadius="@dimen/five" />
<solid android:color="@color/white" />
<!-- <solid android:color="@color/fm_kit_white" /> -->
</shape>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
>
<item android:state_enabled="false">
<shape android:shape="rectangle" >
<corners android:bottomLeftRadius="@dimen/five" />
<solid android:color="@color/line_gray" />
</shape>
</item>
<item android:state_pressed="true">
<shape android:shape="rectangle" >
<corners android:bottomLeftRadius="@dimen/five" />
<solid android:color="#f1f1f1" />
</shape>
</item>
<!-- <solid android:color="@color/fm_card_default_bg_color" /> -->
<item >
<shape android:shape="rectangle" >
<corners android:bottomLeftRadius="@dimen/five" />
<solid android:color="@android:color/white" />
</shape>
</item>
</selector>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
>
<item android:state_enabled="false">
<shape android:shape="rectangle" >
<corners android:bottomRightRadius="@dimen/five" />
<solid android:color="#e1e1e1" />
</shape>
</item>
<item android:state_pressed="true">
<shape android:shape="rectangle" >
<corners android:bottomRightRadius="@dimen/five" />
<solid android:color="#f1f1f1" />
</shape>
</item>
<!-- <solid android:color="@color/fm_card_default_bg_color" /> -->
<item >
<shape android:shape="rectangle" >
<corners android:bottomRightRadius="@dimen/five" />
<solid android:color="@android:color/white" />
</shape>
</item>
</selector>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<solid android:color="@color/blue" />
<corners
android:bottomLeftRadius="5dp"
android:bottomRightRadius="5dp"
android:topLeftRadius="5dp"
android:topRightRadius="5dp" />
<padding
android:bottom="1dp"
android:left="1dp"
android:right="1dp"
android:top="1dp"/>
</shape>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@mipmap/icon_camera_close_press" android:state_focused="true"></item>
<item android:drawable="@mipmap/icon_camera_close_press" android:state_pressed="true"></item>
<item android:drawable="@mipmap/icon_camera_close_press" android:state_selected="true"></item>
<item android:drawable="@mipmap/icon_camera_close_press" android:state_checked="true"></item>
<item android:drawable="@mipmap/icon_camera_close_normal"></item>
</selector>

View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<animation-list xmlns:android="http://schemas.android.com/apk/res/android"
android:oneshot="false" >
<item
android:drawable="@mipmap/loading_01"
android:duration="60"/>
<item
android:drawable="@mipmap/loading_02"
android:duration="60"/>
<item
android:drawable="@mipmap/loading_03"
android:duration="60"/>
<item
android:drawable="@mipmap/loading_04"
android:duration="60"/>
<item
android:drawable="@mipmap/loading_05"
android:duration="60"/>
<item
android:drawable="@mipmap/loading_06"
android:duration="60"/>
<item
android:drawable="@mipmap/loading_07"
android:duration="60"/>
<item
android:drawable="@mipmap/loading_08"
android:duration="60"/>
<item
android:drawable="@mipmap/loading_09"
android:duration="60"/>
<item
android:drawable="@mipmap/loading_10"
android:duration="60"/>
<item
android:drawable="@mipmap/loading_11"
android:duration="60"/>
<item
android:drawable="@mipmap/loading_12"
android:duration="60"/>
</animation-list>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<animation-list xmlns:android="http://schemas.android.com/apk/res/android" android:oneshot="false">
<item android:drawable="@mipmap/icon_page_video_a3" android:duration="1000" />
<item android:drawable="@mipmap/icon_page_video_a0" android:duration="1000" />
<item android:drawable="@mipmap/icon_page_video_a3" android:duration="1000" />
<item android:drawable="@mipmap/icon_page_video_a0" android:duration="1000" />
</animation-list>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<animation-list xmlns:android="http://schemas.android.com/apk/res/android" android:oneshot="false">
<item android:drawable="@mipmap/icon_page_take_photo_a3" android:duration="1000" />
<item android:drawable="@mipmap/icon_page_take_photo_a3" android:duration="1000" />
<item android:drawable="@mipmap/icon_page_take_photo_a3" android:duration="1000" />
<item android:drawable="@mipmap/icon_page_take_photo_a0" android:duration="1000" />
</animation-list>

View File

@@ -14,7 +14,7 @@
<clip android:clipOrientation="horizontal">
<shape>
<corners android:radius="4dp" />
<solid android:color="@color/default_blue" />
<solid android:color="@color/blue" />
</shape>
</clip>
</item>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:drawable="@drawable/shade_btn_gray_bg_4_radius_hd"></item>
<item android:state_checked="true" android:drawable="@drawable/drawable_bg_blue_bg_4_radius"/>
<item android:state_pressed="true" android:drawable="@drawable/drawable_bg_blue_bg_4_radius"/>
<item android:state_selected="true" android:drawable="@drawable/drawable_bg_blue_bg_4_radius"></item>
<item android:drawable="@drawable/drawable_bg_blue_bg_4_radius"/>
</selector>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_enabled="false" android:color="@color/line_gray" />
<item android:color="@color/white" />
</selector>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<solid android:color="@color/gray_121" />
<corners
android:bottomLeftRadius="5dp"
android:bottomRightRadius="5dp"
android:topLeftRadius="5dp"
android:topRightRadius="5dp" />
<padding
android:bottom="1dp"
android:left="1dp"
android:right="1dp"
android:top="1dp"/>
</shape>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<corners android:topLeftRadius="3dp" android:topRightRadius="3dp" android:bottomLeftRadius="3dp" android:bottomRightRadius="3dp"></corners>
<padding android:left="10dp" android:top="10dp" android:right="10dp" android:bottom="10dp"/>
<solid android:color="#AA535353"></solid>
</shape>

View File

@@ -92,6 +92,29 @@
app:layout_constraintTop_toTopOf="parent"
app:navGraph="@navigation/right_fragment_nav_graph" />
<ImageButton
android:id="@+id/main_activity_camera"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_marginLeft="160dp"
android:layout_marginTop="20dp"
android:onClick="@{()->mainActivity.openCamera()}"
android:src="@mipmap/icon_page_video_a1"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageButton
android:id="@+id/main_activity_camera2"
android:layout_width="48dp"
android:layout_height="48dp"
android:visibility="gone"
android:layout_marginLeft="20dp"
android:layout_marginTop="20dp"
android:onClick="@{()->mainActivity.openCamera()}"
android:src="@drawable/baseline_person_24"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -0,0 +1,161 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scrollbars="vertical">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_horizontal">
<ImageView
android:id="@+id/cancel_dialog"
android:layout_width="40dp"
android:layout_height="10dp"
android:visibility="invisible"
android:src="@drawable/icon_camera_close_xml" />
<LinearLayout
android:id="@+id/layer_connectCamera_operate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/fl_layout"
android:background="@color/white"
android:gravity="center_vertical"
android:orientation="vertical"
android:paddingBottom="15dp"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:paddingTop="15dp">
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="20dp"
android:orientation="horizontal"
android:visibility="gone">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:text="默认外设相机拍照"
android:textColor="@android:color/black"
android:textSize="15sp" />
<CheckBox
android:id="@+id/select_camera"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:button="@drawable/chk_icon_camera_open_close_xml" />
</RelativeLayout>
<TextView
android:id="@+id/gps_status_hint"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginBottom="1dp"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="center"
android:marqueeRepeatLimit="marquee_forever"
android:padding="@dimen/ten"
android:textColor="@color/red"
android:scrollHorizontally="true"
android:visibility="gone"
android:singleLine="true"
android:text="相机GPS信号差请稍等片刻或将相机移到开发地带。"
android:textSize="@dimen/card_title_font_2size" />
<TextView
android:id="@+id/one_bt_connect"
style="@style/fm_btn_default_blue_white"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="1dp"
android:padding="@dimen/ten"
android:text="一键连接"
android:textSize="@dimen/card_title_font_2size" />
</LinearLayout>
<FrameLayout
android:id="@+id/fl_layout"
android:layout_width="match_parent"
android:layout_height="@dimen/camear_dialog_hight"
android:layout_below="@+id/cancel_dialog"
android:background="@color/bg_gray2">
<CheckBox
android:id="@+id/startorendtakepicture"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center_horizontal"
android:button="@drawable/chk_icon_camera_start_stop_xml"
android:checked="true"
android:enabled="false" />
<CheckBox
android:id="@+id/takephoto_or_record"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right|bottom"
android:layout_margin="10dp"
android:button="@drawable/chk_icon_camera_record_or_takephoto_xml"
android:checked="true"
android:paddingLeft="@dimen/five"
android:text="录像"
android:textColor="@color/white" />
<ImageView
android:id="@+id/video_defalut"
android:layout_width="148.5dp"
android:layout_height="@dimen/camear_dialog_iv_hight"
android:layout_gravity="center_horizontal"
android:layout_marginTop="@dimen/camear_dialog_iv_margin_top"
android:src="@mipmap/icon_camera_img" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="40dp"
android:layout_gravity="bottom"
android:background="@color/bg_dark"
android:orientation="horizontal">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginLeft="@dimen/five"
android:src="@mipmap/icon_camera_time" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/five"
android:text="00:00:00"
android:textColor="@color/white"
android:textSize="15sp" />
</LinearLayout>
<SurfaceView
android:id="@+id/video"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true"
android:background="@color/bg_gray2"
android:fitsSystemWindows="true"
android:visibility="gone" />
</FrameLayout>
</RelativeLayout>
</ScrollView>

View File

@@ -0,0 +1,165 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/ll_dialog"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:background="@drawable/dialog_bg"
android:orientation="vertical">
<LinearLayout
android:id="@+id/ll_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:gravity="center"
android:orientation="vertical"
android:visibility="gone">
<TextView
android:id="@+id/tv_title"
style="@style/content_font_default"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:paddingBottom="@dimen/three"
android:paddingLeft="@dimen/eight"
android:paddingRight="@dimen/eight"
android:paddingTop="@dimen/eight"
android:text="title"
android:textColor="@color/black"
android:textSize="@dimen/card_title_font_2size" />
<View
android:id="@+id/title_divider"
android:layout_width="match_parent"
android:layout_height="0.6dp"
android:layout_marginBottom="@dimen/five"
android:layout_marginTop="@dimen/five"
android:background="@color/line_gray" />
<TextView
android:id="@+id/tv_title2"
style="@style/content_font_default"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:paddingBottom="@dimen/eight"
android:text="title"
android:textColor="@color/black"
android:textSize="@dimen/card_title_font_3size"
android:visibility="gone" />
<View
android:id="@+id/title_divider2"
android:layout_width="match_parent"
android:layout_height="0.6dp"
android:background="@color/line_gray"
android:visibility="gone" />
</LinearLayout>
<RelativeLayout
android:id="@+id/rl_content_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center">
<TextView
android:id="@+id/tv_content"
style="@style/content_font_default"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:gravity="center"
android:paddingBottom="@dimen/twenty_two"
android:paddingLeft="@dimen/twelve"
android:paddingRight="@dimen/twelve"
android:paddingTop="@dimen/twenty"
android:text="提示内容"
android:textColor="@color/black"
android:textSize="@dimen/card_title_font_3size" />
</RelativeLayout>
<LinearLayout
android:id="@+id/ll_bottom_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:gravity="center"
android:orientation="vertical">
<View
android:id="@+id/v_divice"
android:layout_width="match_parent"
android:layout_height="0.6dp"
android:background="@color/line_gray"
android:visibility="visible" />
<LinearLayout
android:id="@+id/ll_bottom_btn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:visibility="gone">
<TextView
android:id="@+id/btn_fm_cancel"
style="@style/btn_default_style"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/dialog_bg_cancel"
android:gravity="center"
android:padding="@dimen/twelve"
android:text="取消"
android:textColor="@color/common_dialog_cancel_text_selector" />
<View
android:id="@+id/middle_view"
android:layout_width="0.6dp"
android:layout_height="match_parent"
android:background="@drawable/dialog_bg_cancel"
android:visibility="gone" />
<TextView
android:id="@+id/btn_fm_middle"
style="@style/btn_default_style"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/dialog_bg_ok"
android:gravity="center"
android:padding="@dimen/twelve"
android:text="中间"
android:textColor="@color/common_dialog_middle_text_selector"
android:visibility="gone" />
<View
android:id="@+id/view_dialog"
android:layout_width="0.6dp"
android:layout_height="match_parent"
android:background="@color/line_gray" />
<TextView
android:id="@+id/btn_fm_confirm"
style="@style/btn_default_style"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/dialog_bg_ok"
android:gravity="center"
android:padding="@dimen/twelve"
android:text="确定"
android:textColor="@color/common_dialog_confirm_text_selector" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</RelativeLayout>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/parentPanel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:background="@color/white"
android:orientation="horizontal" >
<ImageView
android:id="@+id/customFrameLoadImg"
android:layout_width="60dp"
android:layout_height="60dp"
android:background="@drawable/loading_anim" />
<TextView
android:id="@+id/customFrameMsg"
android:layout_width="wrap_content"
android:textColor="@color/black"
android:layout_height="wrap_content"
android:layout_marginRight="10dp"
android:singleLine="true"
android:textSize="14sp" />
</LinearLayout>

View File

@@ -11,7 +11,7 @@
android:id="@+id/offline_map_tab_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/default_blue"
android:background="@color/blue"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent">

View File

@@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="@dimen/nav_header_height"
android:background="@color/default_blue"
android:background="@color/blue"
android:gravity="bottom"
android:orientation="vertical"
android:paddingLeft="@dimen/activity_horizontal_margin"

View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/common/res/layout/transient_notification.xml
**
** Copyright 2006, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/transient_toast_bg"
android:orientation="vertical" >
<TextView
android:textSize="@dimen/card_title_font_2size"
android:id="@android:id/message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:shadowColor="#BB000000"
android:shadowRadius="2.75"
android:textAppearance="@android:style/TextAppearance.Small"
android:textColor="@android:color/background_light" />
</LinearLayout>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -2,8 +2,21 @@
<resources>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
<color name="red">#FF0000</color>
<color name="transp">#00000000</color>
<color name="orange">#ff8d36</color>
<color name="blue" comment="应用主要色调">#1abbfe</color>
<color name="line_gray" comment="轻度灰色,一般用于下划线,不可点击按钮的边框">#dadade</color>
<color name="cv_gray_153">#999999</color>
<color name="cvm_red">#FF3B30</color>
<color name="cv_bg_color">#553C3F41</color>
<color name="btn_blue_solid">#108ee9</color>
<color name="background_light">#ffffffff</color>
<!-- 一键连接对话框背景色 -->
<color name="bg_gray2">#d1d1d1</color>
<!-- 一键连接时间显示区域背景色 -->
<color name="bg_dark">#999999</color>
<color name="gray_121">#797979</color>
<color name="gray_59">#595959</color>
<color name="text_hint_gray" comment="输入框内默认字体颜色,输入框边框颜色">#c1c1c1</color>
</resources>

View File

@@ -9,4 +9,28 @@
<dimen name="default_font_size" comment="默认字体大小style中父最顶层">15dp</dimen>
<dimen name="card_title_font_2size">13sp</dimen>
<dimen name="card_title_font_3size">10sp</dimen>
<dimen name="one">1dp</dimen>
<dimen name="two">2dp</dimen>
<dimen name="three">3dp</dimen>
<dimen name="four">4dp</dimen>
<dimen name="five">5dp</dimen>
<dimen name="six">6dp</dimen>
<dimen name="eight">8dp</dimen>
<dimen name="nine">9dp</dimen>
<dimen name="ten">10dp</dimen>
<dimen name="twelve">12dp</dimen>
<dimen name="twefour">14dp</dimen>
<dimen name="fifteen">15dp</dimen>
<dimen name="sixteen">16dp</dimen>
<dimen name="eighteen">18dp</dimen>
<dimen name="twenty">20dp</dimen>
<dimen name="twenty_two">22dp</dimen>
<dimen name="twenty_four">24dp</dimen>
<!-- 相机设置iv距离上方间距-->
<dimen name="camear_dialog_iv_margin_top" comment="相机设置窗体高度">25dp</dimen>
<!-- 相机设置窗体高度-->
<dimen name="camear_dialog_hight" comment="相机设置窗体高度">150dp</dimen>
<!-- 相机设置窗体IV高度-->
<dimen name="camear_dialog_iv_hight" comment="相机设置窗体高度">75dp</dimen>
<dimen name="head_img_width">48dp</dimen>
</resources>

View File

@@ -6,7 +6,7 @@
<item name="android:clickable">true</item>
<item name="android:focusable">true</item>
<item name="android:layout_alignParentTop">true</item>
<item name="android:background">@color/default_blue</item>
<item name="android:background">@color/blue</item>
<item name="android:paddingBottom">6dp</item>
<item name="android:paddingLeft">14dp</item>
<item name="android:paddingRight">14dp</item>
@@ -54,4 +54,33 @@
<item name="android:textColor">@color/btn_blue_white</item>
<item name="android:textSize">15sp</item>
</style>
<!-- 默认按钮样式 -->
<style name="btn_default_style" parent="content_font_default">
<item name="android:textColor">@color/btn_select_color</item>
<item name="android:background">@drawable/btn_bg_default</item>
<item name="android:clickable">true</item>
<item name="android:focusable">true</item>
<item name="android:gravity">center</item>
<item name="android:paddingBottom">1dp</item>
</style>
<style name="fm_btn_default_blue_white" parent="@android:style/Widget.Button">
<item name="android:background">@drawable/selector_bg_blue_gray_bg_4_radius</item>
<item name="android:textColor">@color/selector_default_text_color_white_enable_gray</item>
<item name="android:padding">@dimen/five</item>
</style>
<style name="MyDialog" parent="Theme.AppCompat.DialogWhenLarge">
<item name="android:windowFrame">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
<!-- 连续拍照对话框 -->
<style name="MyCustomDialog" parent="@style/MyDialog">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowNoTitle">true</item>
</style>
</resources>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config xmlns:tools="http://schemas.android.com/tools"
tools:ignore="MissingDefaultResource">
<base-config cleartextTrafficPermitted="true" />
</network-security-config>