Initial commit
This commit is contained in:
14
app/src/main/res/anim/list_anim.xml
Normal file
14
app/src/main/res/anim/list_anim.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
android:shareInterpolator="true">
|
||||
|
||||
<scale
|
||||
android:duration="250"
|
||||
android:fromXScale="100%"
|
||||
android:fromYScale="0%"
|
||||
android:pivotX="0%"
|
||||
android:pivotY="0%"
|
||||
android:toXScale="100%"
|
||||
android:toYScale="100%" />
|
||||
</set>
|
||||
28
app/src/main/res/anim/my_translate.xml
Normal file
28
app/src/main/res/anim/my_translate.xml
Normal file
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- Y轴垂直平移的动画 -->
|
||||
<translate
|
||||
android:duration="500"
|
||||
android:fromYDelta="500"
|
||||
android:toYDelta="0" >
|
||||
</translate>
|
||||
<!--
|
||||
translate 位置转移动画效果
|
||||
整型值:
|
||||
fromXDelta 属性为动画起始时 X坐标上的位置
|
||||
toXDelta 属性为动画结束时 X坐标上的位置
|
||||
|
||||
fromYDelta 属性为动画起始时 Y坐标上的位置
|
||||
toYDelta 属性为动画结束时 Y坐标上的位置
|
||||
注意:
|
||||
没有指定fromXType toXType fromYType toYType 时候,默认是以自己为相对参照物
|
||||
|
||||
|
||||
长整型值:
|
||||
duration 属性为动画持续时间
|
||||
说明:
|
||||
时间以毫秒为单位
|
||||
|
||||
-->
|
||||
|
||||
34
app/src/main/res/drawable-v24/ic_launcher_foreground.xml
Normal file
34
app/src/main/res/drawable-v24/ic_launcher_foreground.xml
Normal file
@ -0,0 +1,34 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="108dp"
|
||||
android:height="108dp"
|
||||
android:viewportWidth="108"
|
||||
android:viewportHeight="108">
|
||||
<path
|
||||
android:fillType="evenOdd"
|
||||
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
|
||||
android:strokeWidth="1"
|
||||
android:strokeColor="#00000000">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:endX="78.5885"
|
||||
android:endY="90.9159"
|
||||
android:startX="48.7653"
|
||||
android:startY="61.0927"
|
||||
android:type="linear">
|
||||
<item
|
||||
android:color="#44000000"
|
||||
android:offset="0.0" />
|
||||
<item
|
||||
android:color="#00000000"
|
||||
android:offset="1.0" />
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
<path
|
||||
android:fillColor="#FFFFFF"
|
||||
android:fillType="nonZero"
|
||||
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
|
||||
android:strokeWidth="1"
|
||||
android:strokeColor="#00000000" />
|
||||
</vector>
|
||||
7
app/src/main/res/drawable/bg_black_border.xml
Normal file
7
app/src/main/res/drawable/bg_black_border.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<stroke android:width="1dp" android:color="#FFE9E9E9" />
|
||||
|
||||
</shape>
|
||||
7
app/src/main/res/drawable/bg_blue_bottom.xml
Normal file
7
app/src/main/res/drawable/bg_blue_bottom.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="#FF2748F1"/>
|
||||
<corners android:radius="3dp" />
|
||||
</shape>
|
||||
5
app/src/main/res/drawable/bg_blue_status_sel.xml
Normal file
5
app/src/main/res/drawable/bg_blue_status_sel.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#FF6179FF"/>
|
||||
</shape>
|
||||
5
app/src/main/res/drawable/bg_blue_status_unsel.xml
Normal file
5
app/src/main/res/drawable/bg_blue_status_unsel.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
</shape>
|
||||
5
app/src/main/res/drawable/bg_cursor.xml
Normal file
5
app/src/main/res/drawable/bg_cursor.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#FF979797"/>
|
||||
<size android:width="1dp"/>
|
||||
</shape>
|
||||
7
app/src/main/res/drawable/bg_date_select.xml
Normal file
7
app/src/main/res/drawable/bg_date_select.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<stroke android:width="1dp" android:color="#ffdcdcdc" />
|
||||
<solid android:color="#fff2f2f2" />
|
||||
<corners android:radius="17dp" />
|
||||
</shape>
|
||||
5
app/src/main/res/drawable/bg_edt_dialog_title.xml
Normal file
5
app/src/main/res/drawable/bg_edt_dialog_title.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#FFF2F0F0"/>
|
||||
<corners android:topLeftRadius="12dp" android:topRightRadius="12dp" android:bottomRightRadius="0dp" android:bottomLeftRadius="0dp" />
|
||||
</shape>
|
||||
5
app/src/main/res/drawable/bg_equ_one_orange.xml
Normal file
5
app/src/main/res/drawable/bg_equ_one_orange.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="#FFFFEACF"/>
|
||||
<corners android:topLeftRadius="0dp" android:topRightRadius="3dp" android:bottomRightRadius="0dp" android:bottomLeftRadius="16dp" />
|
||||
</shape>
|
||||
7
app/src/main/res/drawable/bg_gray_bottom.xml
Normal file
7
app/src/main/res/drawable/bg_gray_bottom.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="#FFD8D8D8"/>
|
||||
<corners android:radius="3dp" />
|
||||
</shape>
|
||||
8
app/src/main/res/drawable/bg_gray_top.xml
Normal file
8
app/src/main/res/drawable/bg_gray_top.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="#FFD8D8D8"/>
|
||||
<corners android:topLeftRadius="3dp" android:topRightRadius="3dp" android:bottomRightRadius="0dp" android:bottomLeftRadius="0dp" />
|
||||
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_layout_shape_btn_blue.xml
Normal file
6
app/src/main/res/drawable/bg_layout_shape_btn_blue.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<corners android:radius="3dp"/>
|
||||
<solid android:color="@color/color_luc_blue_btn"/>
|
||||
<stroke android:width="1px" android:color="@color/color_luc_blue_btn"/>
|
||||
</shape>
|
||||
7
app/src/main/res/drawable/bg_layout_shape_btn_login.xml
Normal file
7
app/src/main/res/drawable/bg_layout_shape_btn_login.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<corners android:topRightRadius="5dp" android:topLeftRadius="5dp"/>
|
||||
<corners android:radius="5dp"/>
|
||||
<solid android:color="@color/color_luc_blue_login"/>
|
||||
<stroke android:width="1px" android:color="@color/color_luc_blue_login"/>
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_layout_shape_com.xml
Normal file
6
app/src/main/res/drawable/bg_layout_shape_com.xml
Normal 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">
|
||||
<solid android:color="@color/little_blue" />
|
||||
<corners android:radius="3dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_layout_shape_factory.xml
Normal file
6
app/src/main/res/drawable/bg_layout_shape_factory.xml
Normal 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">
|
||||
<solid android:color="#ffffff" />
|
||||
<corners android:radius="3dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_layout_shape_gray.xml
Normal file
6
app/src/main/res/drawable/bg_layout_shape_gray.xml
Normal 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">
|
||||
<solid android:color="#FFD8D8D8" />
|
||||
<corners android:radius="3dp" />
|
||||
</shape>
|
||||
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#ECECEC" />
|
||||
<corners android:topLeftRadius="0dp" android:topRightRadius="0dp" android:bottomLeftRadius="3dp" android:bottomRightRadius="3dp"/>
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_layout_shape_gray_top.xml
Normal file
6
app/src/main/res/drawable/bg_layout_shape_gray_top.xml
Normal 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">
|
||||
<solid android:color="#ECECEC" />
|
||||
<corners android:topLeftRadius="3dp" android:topRightRadius="3dp" android:bottomLeftRadius="0dp" android:bottomRightRadius="0dp"/>
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_layout_shape_green.xml
Normal file
6
app/src/main/res/drawable/bg_layout_shape_green.xml
Normal 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">
|
||||
<solid android:color="#ABEBA9" />
|
||||
<corners android:radius="3dp" />
|
||||
</shape>
|
||||
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#fff3faff" />
|
||||
<corners android:radius="4dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_layout_shape_login.xml
Normal file
6
app/src/main/res/drawable/bg_layout_shape_login.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<corners android:radius="3dp"/>
|
||||
<solid android:color="@color/color_gr_white"/>
|
||||
<stroke android:width="1px" android:color="@color/color_gr_white"/>
|
||||
</shape>
|
||||
7
app/src/main/res/drawable/bg_layout_shape_luc_blue.xml
Normal file
7
app/src/main/res/drawable/bg_layout_shape_luc_blue.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<corners android:topRightRadius="10dp" android:topLeftRadius="10dp"/>
|
||||
<corners android:radius="10dp"/>
|
||||
<solid android:color="@color/color_luc_blue"/>
|
||||
<stroke android:width="1px" android:color="@color/color_luc_blue"/>
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_layout_shape_pink.xml
Normal file
6
app/src/main/res/drawable/bg_layout_shape_pink.xml
Normal 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">
|
||||
<solid android:color="#FFDDDE" />
|
||||
<corners android:radius="3dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_layout_shape_type_blue.xml
Normal file
6
app/src/main/res/drawable/bg_layout_shape_type_blue.xml
Normal 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">
|
||||
<solid android:color="@color/blue" />
|
||||
<corners android:radius="15dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_layout_shape_type_white.xml
Normal file
6
app/src/main/res/drawable/bg_layout_shape_type_white.xml
Normal 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">
|
||||
<solid android:color="#ffffff" />
|
||||
<corners android:radius="15dp" />
|
||||
</shape>
|
||||
7
app/src/main/res/drawable/bg_layout_shape_white.xml
Normal file
7
app/src/main/res/drawable/bg_layout_shape_white.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<corners android:topRightRadius="10dp" android:topLeftRadius="10dp"/>
|
||||
<corners android:radius="10dp"/>
|
||||
<solid android:color="@color/white"/>
|
||||
<stroke android:width="1px" android:color="@color/white"/>
|
||||
</shape>
|
||||
8
app/src/main/res/drawable/bg_line_chart.xml
Normal file
8
app/src/main/res/drawable/bg_line_chart.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:startColor="#e8f4ff"
|
||||
android:endColor="#ffffff" />
|
||||
</shape>
|
||||
8
app/src/main/res/drawable/bg_little_blue_all.xml
Normal file
8
app/src/main/res/drawable/bg_little_blue_all.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="#FFEBF5FE"/>
|
||||
<corners android:radius="4dp" />
|
||||
|
||||
</shape>
|
||||
8
app/src/main/res/drawable/bg_oval.xml
Normal file
8
app/src/main/res/drawable/bg_oval.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval"
|
||||
>
|
||||
|
||||
<solid android:color="@color/blue" />
|
||||
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_patrol_point_list.xml
Normal file
6
app/src/main/res/drawable/bg_patrol_point_list.xml
Normal 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">
|
||||
<solid android:color="#FFFFFFFF"/>
|
||||
<corners android:topLeftRadius="10dp" android:topRightRadius="10dp" android:bottomRightRadius="1dp" android:bottomLeftRadius="1dp" />
|
||||
</shape>
|
||||
9
app/src/main/res/drawable/bg_patrol_tab.xml
Normal file
9
app/src/main/res/drawable/bg_patrol_tab.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#FFFFFFFF"/>
|
||||
<item android:name="android:shadowDx">0</item>
|
||||
<item android:name="android:shadowDy">2</item>
|
||||
<item android:name="android:shadowRadius">4</item>
|
||||
<item android:name="android:shadowColor">#80DCE1E3</item>
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_patrol_task_card.xml
Normal file
6
app/src/main/res/drawable/bg_patrol_task_card.xml
Normal 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">
|
||||
<solid android:color="#FFF9F9F9"/>
|
||||
<corners android:bottomLeftRadius="8dp" android:bottomRightRadius="8dp"/>
|
||||
</shape>
|
||||
9
app/src/main/res/drawable/bg_patrol_task_detail.xml
Normal file
9
app/src/main/res/drawable/bg_patrol_task_detail.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<gradient android:type="linear" android:useLevel="true" android:startColor="#FF4C76F8" android:endColor="#FF2541EF" />
|
||||
<item android:name="android:shadowDx">0</item>
|
||||
<item android:name="android:shadowDy">1</item>
|
||||
<item android:name="android:shadowRadius">0</item>
|
||||
<item android:name="android:shadowColor">#40000000</item>
|
||||
</shape>
|
||||
8
app/src/main/res/drawable/bg_sel_green.xml
Normal file
8
app/src/main/res/drawable/bg_sel_green.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<corners android:radius="5dp" />
|
||||
<solid android:color="@color/teal_200" />
|
||||
<stroke android:width="1px" android:color="@color/teal_200"/>
|
||||
|
||||
</shape>
|
||||
64
app/src/main/res/drawable/bg_shadow.xml
Normal file
64
app/src/main/res/drawable/bg_shadow.xml
Normal file
@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="2dp"
|
||||
android:left="2dp"
|
||||
android:right="2dp"
|
||||
android:top="0dp" />
|
||||
<solid android:color="#0DCCCCCC" />
|
||||
<corners android:radius="8dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="2dp"
|
||||
android:left="2dp"
|
||||
android:right="2dp"
|
||||
android:top="0dp" />
|
||||
<solid android:color="#10CCCCCC" />
|
||||
<corners android:radius="8dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="2dp"
|
||||
android:left="2dp"
|
||||
android:right="2dp"
|
||||
android:top="0dp" />
|
||||
<solid android:color="#15CCCCCC" />
|
||||
<corners android:radius="8dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="2dp"
|
||||
android:left="2dp"
|
||||
android:right="2dp"
|
||||
android:top="0dp" />
|
||||
<solid android:color="#20CCCCCC" />
|
||||
<corners android:radius="8dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<padding
|
||||
android:bottom="2dp"
|
||||
android:left="2dp"
|
||||
android:right="2dp"
|
||||
android:top="0dp" />
|
||||
<solid android:color="#25CCCCCC" />
|
||||
<corners android:radius="8dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="#FFFFFF" />
|
||||
<corners android:radius="4dp" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
6
app/src/main/res/drawable/bg_task_can_not.xml
Normal file
6
app/src/main/res/drawable/bg_task_can_not.xml
Normal 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">
|
||||
<solid android:color="#80FF8400"/>
|
||||
<corners android:radius="11dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_task_com.xml
Normal file
6
app/src/main/res/drawable/bg_task_com.xml
Normal 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">
|
||||
<solid android:color="#FFE2FFFF"/>
|
||||
<corners android:radius="11dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_task_com_part.xml
Normal file
6
app/src/main/res/drawable/bg_task_com_part.xml
Normal 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">
|
||||
<solid android:color="#80F8C82E"/>
|
||||
<corners android:radius="11dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_task_doing.xml
Normal file
6
app/src/main/res/drawable/bg_task_doing.xml
Normal 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">
|
||||
<solid android:color="#FFE5F0FF"/>
|
||||
<corners android:radius="11dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_task_notstarted.xml
Normal file
6
app/src/main/res/drawable/bg_task_notstarted.xml
Normal 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">
|
||||
<solid android:color="#FFEFEFEF"/>
|
||||
<corners android:radius="11dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/bg_task_out_of_date.xml
Normal file
6
app/src/main/res/drawable/bg_task_out_of_date.xml
Normal 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">
|
||||
<solid android:color="#FFFFE2E2"/>
|
||||
<corners android:radius="11dp" />
|
||||
</shape>
|
||||
8
app/src/main/res/drawable/bg_title.xml
Normal file
8
app/src/main/res/drawable/bg_title.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<gradient android:type="linear" android:useLevel="true" android:startColor="#FF4C76F8" android:endColor="#FF2541EF" />
|
||||
<item android:name="android:shadowDx">0</item>
|
||||
<item android:name="android:shadowDy">1</item>
|
||||
<item android:name="android:shadowRadius">0</item>
|
||||
<item android:name="android:shadowColor">#40000000</item>
|
||||
</shape>
|
||||
8
app/src/main/res/drawable/bg_white_all.xml
Normal file
8
app/src/main/res/drawable/bg_white_all.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="@color/white"/>
|
||||
<corners android:radius="6dp" />
|
||||
|
||||
</shape>
|
||||
8
app/src/main/res/drawable/bg_white_bottom.xml
Normal file
8
app/src/main/res/drawable/bg_white_bottom.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="@color/white"/>
|
||||
<corners android:topLeftRadius="0dp" android:topRightRadius="0dp" android:bottomRightRadius="3dp" android:bottomLeftRadius="3dp" />
|
||||
|
||||
</shape>
|
||||
8
app/src/main/res/drawable/bgl_marker.xml
Normal file
8
app/src/main/res/drawable/bgl_marker.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle"
|
||||
>
|
||||
|
||||
<solid android:color="@color/gray_t" />
|
||||
<corners android:radius="5dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/blue_selector.xml
Normal file
6
app/src/main/res/drawable/blue_selector.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@mipmap/checkbox_pressed" android:state_checked="true"/>
|
||||
<item android:drawable="@mipmap/checkbox_normal" android:state_checked="false"/>
|
||||
<item android:drawable="@mipmap/checkbox_normal"/>
|
||||
</selector>
|
||||
10
app/src/main/res/drawable/bt_dynamic_add.xml
Normal file
10
app/src/main/res/drawable/bt_dynamic_add.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
>
|
||||
<item
|
||||
android:state_pressed="true"
|
||||
android:drawable="@mipmap/bt_dynamic_add" />
|
||||
<item android:state_pressed="false"
|
||||
android:drawable="@mipmap/bt_dynamic_add" />
|
||||
</selector>
|
||||
10
app/src/main/res/drawable/bt_dynamic_del.xml
Normal file
10
app/src/main/res/drawable/bt_dynamic_del.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
>
|
||||
<item
|
||||
android:state_pressed="true"
|
||||
android:drawable="@mipmap/bt_dynamic_del_focused" />
|
||||
<item android:state_pressed="false"
|
||||
android:drawable="@mipmap/bt_dynamic_del_unfocused" />
|
||||
</selector>
|
||||
5
app/src/main/res/drawable/btn_blue_selector.xml
Normal file
5
app/src/main/res/drawable/btn_blue_selector.xml
Normal 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_pressed="false" android:drawable="@drawable/btn_press" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/btn_press" />
|
||||
</selector>
|
||||
13
app/src/main/res/drawable/btn_error_press.xml
Normal file
13
app/src/main/res/drawable/btn_error_press.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<corners android:radius="5dip" />
|
||||
|
||||
<!-- padding:Button里面的文字与Button边界的间隔 -->
|
||||
<padding
|
||||
android:left="10dp"
|
||||
android:top="10dp"
|
||||
android:right="10dp"
|
||||
android:bottom="10dp"
|
||||
/>
|
||||
<solid android:color="@color/error_red"/>
|
||||
</shape>
|
||||
5
app/src/main/res/drawable/btn_error_selector.xml
Normal file
5
app/src/main/res/drawable/btn_error_selector.xml
Normal 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_pressed="false" android:drawable="@drawable/btn_error_press" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/btn_error_press" />
|
||||
</selector>
|
||||
5
app/src/main/res/drawable/btn_error_yellow_selector.xml
Normal file
5
app/src/main/res/drawable/btn_error_yellow_selector.xml
Normal 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_pressed="false" android:drawable="@drawable/btn_yellow_press" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/btn_yellow_press" />
|
||||
</selector>
|
||||
16
app/src/main/res/drawable/btn_press.xml
Normal file
16
app/src/main/res/drawable/btn_press.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- 设置按钮的四个角为弧形 -->
|
||||
<!-- android:radius 弧形的半径 -->
|
||||
<corners android:radius="5dip" />
|
||||
|
||||
<!-- padding:Button里面的文字与Button边界的间隔 -->
|
||||
<padding
|
||||
android:left="10dp"
|
||||
android:top="10dp"
|
||||
android:right="10dp"
|
||||
android:bottom="10dp"
|
||||
/>
|
||||
<solid android:color="@color/blue"/>
|
||||
|
||||
</shape>
|
||||
16
app/src/main/res/drawable/btn_pressed.xml
Normal file
16
app/src/main/res/drawable/btn_pressed.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- 设置按钮的四个角为弧形 -->
|
||||
<!-- android:radius 弧形的半径 -->
|
||||
<corners android:radius="5dip" />
|
||||
|
||||
<!-- padding:Button里面的文字与Button边界的间隔 -->
|
||||
<padding
|
||||
android:left="10dp"
|
||||
android:top="10dp"
|
||||
android:right="10dp"
|
||||
android:bottom="10dp"
|
||||
/>
|
||||
<solid android:color="@color/white"/>
|
||||
<stroke android:width="1px" android:color="@color/btn_normal_pressed_bg"/>
|
||||
</shape>
|
||||
5
app/src/main/res/drawable/btn_selector2.xml
Normal file
5
app/src/main/res/drawable/btn_selector2.xml
Normal 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_pressed="false" android:drawable="@drawable/btn_pressed" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/btn_unpressed" />
|
||||
</selector>
|
||||
16
app/src/main/res/drawable/btn_unpressed.xml
Normal file
16
app/src/main/res/drawable/btn_unpressed.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- 设置按钮的四个角为弧形 -->
|
||||
<!-- android:radius 弧形的半径 -->
|
||||
<corners android:radius="5dip" />
|
||||
|
||||
<!-- padding:Button里面的文字与Button边界的间隔 -->
|
||||
<padding
|
||||
android:left="10dp"
|
||||
android:top="10dp"
|
||||
android:right="10dp"
|
||||
android:bottom="10dp"
|
||||
/>
|
||||
<solid android:color="#acd6ff"/>
|
||||
|
||||
</shape>
|
||||
13
app/src/main/res/drawable/btn_yellow_press.xml
Normal file
13
app/src/main/res/drawable/btn_yellow_press.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<corners android:radius="5dip" />
|
||||
|
||||
<!-- padding:Button里面的文字与Button边界的间隔 -->
|
||||
<padding
|
||||
android:left="10dp"
|
||||
android:top="10dp"
|
||||
android:right="10dp"
|
||||
android:bottom="10dp"
|
||||
/>
|
||||
<solid android:color="@color/error_yellow"/>
|
||||
</shape>
|
||||
BIN
app/src/main/res/drawable/common_loading2_0.png
Normal file
BIN
app/src/main/res/drawable/common_loading2_0.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
170
app/src/main/res/drawable/ic_launcher_background.xml
Normal file
170
app/src/main/res/drawable/ic_launcher_background.xml
Normal file
@ -0,0 +1,170 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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="#008577"
|
||||
android:pathData="M0,0h108v108h-108z" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M9,0L9,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,0L19,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,0L29,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,0L39,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,0L49,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,0L59,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,0L69,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,0L79,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M89,0L89,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M99,0L99,108"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,9L108,9"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,19L108,19"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,29L108,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,39L108,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,49L108,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,59L108,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,69L108,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,79L108,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,89L108,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,99L108,99"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,29L89,29"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,39L89,39"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,49L89,49"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,59L89,59"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,69L89,69"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,79L89,79"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,19L29,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,19L39,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,19L49,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,19L59,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,19L69,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,19L79,89"
|
||||
android:strokeWidth="0.8"
|
||||
android:strokeColor="#33FFFFFF" />
|
||||
</vector>
|
||||
7
app/src/main/res/drawable/progressbar_anim.xml
Normal file
7
app/src/main/res/drawable/progressbar_anim.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:drawable="@drawable/common_loading2_0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%" >
|
||||
|
||||
</animated-rotate>
|
||||
8
app/src/main/res/drawable/shape_bg_little_blue.xml
Normal file
8
app/src/main/res/drawable/shape_bg_little_blue.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- 设置按钮的四个角为弧形 -->
|
||||
<!-- android:radius 弧形的半径 -->
|
||||
<corners android:radius="22dp" />
|
||||
<solid android:color="#eff5ff"/>
|
||||
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/shape_btn_cancel.xml
Normal file
6
app/src/main/res/drawable/shape_btn_cancel.xml
Normal 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">
|
||||
<solid android:color="@color/error_red"/>
|
||||
<corners android:radius="4dp" />
|
||||
</shape>
|
||||
6
app/src/main/res/drawable/shape_btn_confirm.xml
Normal file
6
app/src/main/res/drawable/shape_btn_confirm.xml
Normal 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">
|
||||
<solid android:color="#FF2748F1"/>
|
||||
<corners android:radius="4dp" />
|
||||
</shape>
|
||||
5
app/src/main/res/drawable/shape_dialog_ios.xml
Normal file
5
app/src/main/res/drawable/shape_dialog_ios.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<corners android:radius="12dp" />
|
||||
<solid android:color="#FFFFFF" />
|
||||
</shape>
|
||||
BIN
app/src/main/res/drawable/tips_popup_win_bg.9.png
Normal file
BIN
app/src/main/res/drawable/tips_popup_win_bg.9.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 141 B |
9
app/src/main/res/drawable/view_dotted_line.xml
Normal file
9
app/src/main/res/drawable/view_dotted_line.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="line">
|
||||
<stroke
|
||||
android:width="0.5dp"
|
||||
android:color="#C3C3C3"
|
||||
android:dashWidth="5dp"
|
||||
android:dashGap="5dp" />
|
||||
</shape>
|
||||
22
app/src/main/res/layout/activity_fault_flow_chart.xml
Normal file
22
app/src/main/res/layout/activity_fault_flow_chart.xml
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/bg_main_gray"
|
||||
android:orientation="vertical"
|
||||
tools:context=".Fault.FaultFlowChartActivity">
|
||||
<com.sipai.ui.TitleLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:id="@+id/moudle_fault_flow_chart_refresh"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_fault_flow_chart_rc"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
</LinearLayout>
|
||||
15
app/src/main/res/layout/activity_flutter_test.xml
Normal file
15
app/src/main/res/layout/activity_flutter_test.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:visibility="invisible"
|
||||
tools:context="com.sipai.jspatrol.Flutter.FlutterTestActivity">
|
||||
<FrameLayout
|
||||
android:id="@+id/fl_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
</LinearLayout>
|
||||
37
app/src/main/res/layout/activity_loading.xml
Normal file
37
app/src/main/res/layout/activity_loading.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<?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:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="@mipmap/moudle_loading_bg">
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:src="@mipmap/moudle_ipatrol_logo"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="18dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:gravity="center"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:text="@string/app_name"/>
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="268dp"
|
||||
android:layout_marginTop="75dp"
|
||||
android:src="@mipmap/moudle_loading_pic"/>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"/>
|
||||
<ImageView
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="20dp"
|
||||
android:src="@mipmap/moudle_sipai"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:layout_gravity="right"/>
|
||||
|
||||
</LinearLayout>
|
||||
104
app/src/main/res/layout/activity_lock_screen_dialog.xml
Normal file
104
app/src/main/res/layout/activity_lock_screen_dialog.xml
Normal file
@ -0,0 +1,104 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".ShowNotification.LockScreenDialogActivity">
|
||||
<LinearLayout
|
||||
style="@style/wrap_layout_btn_blue"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<LinearLayout
|
||||
android:padding="5dp"
|
||||
android:layout_width="318dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageView1"
|
||||
android:layout_width="25dp"
|
||||
android:layout_height="25dp"
|
||||
android:layout_marginTop="3dp"
|
||||
android:src="@mipmap/moudle_ipatrol_logo"
|
||||
android:layout_marginLeft="10dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_alarmhandler_tv_app"
|
||||
android:paddingLeft="10dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignBottom="@+id/imageView1"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_toRightOf="@+id/imageView1"
|
||||
android:textColor="@color/white"
|
||||
android:gravity="center"
|
||||
android:text="日常巡检"
|
||||
android:textSize="22dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_delete"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:padding="5dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:src="@mipmap/delete"
|
||||
android:layout_marginRight="10dp"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="140dp"
|
||||
android:orientation="vertical" >
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:id="@+id/moudle_alarmhandler_tv_title"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="2"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:textSize="19sp"
|
||||
android:textColor="@color/white"
|
||||
android:gravity="center_vertical" />
|
||||
<TextView
|
||||
android:id="@+id/tv_time"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:textSize="18sp"
|
||||
android:textColor="@color/white"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginRight="15dp"
|
||||
android:gravity="center|right"
|
||||
android:text="00:00" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_info"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_weight="2"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp"
|
||||
android:gravity="center|left"
|
||||
android:text="您有新的巡检任务。" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
70
app/src/main/res/layout/activity_point_analysis.xml
Normal file
70
app/src/main/res/layout/activity_point_analysis.xml
Normal file
@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
tools:context=".PointAnalysis.PointAnalysisActivity">
|
||||
<com.sipai.ui.TitleLayout
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" >
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_height="40dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_point_analysis_tv_startdate"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="34dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/bg_date_select"
|
||||
android:padding="5dp"
|
||||
android:ems="10"
|
||||
android:inputType="time"
|
||||
android:textSize="14sp">
|
||||
|
||||
<requestFocus />
|
||||
</TextView>
|
||||
|
||||
<TextView
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="至" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_point_analysis_tv_enddate"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="34dp"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/bg_date_select"
|
||||
android:padding="5dp"
|
||||
android:layout_weight="1"
|
||||
android:ems="10"
|
||||
android:inputType="time"
|
||||
android:textSize="14sp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:padding="3dp">
|
||||
<com.sipai.jspatrol.PointAnalysis.EchartView
|
||||
android:id="@+id/moudle_point_analysis_ev"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
132
app/src/main/res/layout/activity_sel_point_list.xml
Normal file
132
app/src/main/res/layout/activity_sel_point_list.xml
Normal file
@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
tools:context=".PointAnalysis.SelPointListActivity">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@drawable/bg_title">
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/moudle_sel_point_iv_back"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="0.1"
|
||||
android:padding="5dp"
|
||||
android:src="@mipmap/back_hd" />
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="0.5">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/moudle_search_bg" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/moudle_sel_point_iv_search"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:padding="6dp"
|
||||
android:src="@mipmap/moudle_search" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_sel_point_edt_pointname"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击输入名称搜索"
|
||||
android:layout_marginLeft="60dp"
|
||||
android:paddingRight="15dp"
|
||||
android:textSize="13sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_sel_point_tv_search"
|
||||
android:layout_width="0dp"
|
||||
android:text="搜索"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/white" />
|
||||
<TextView
|
||||
android:id="@+id/moudle_sel_point_tv_compare"
|
||||
android:layout_width="0dp"
|
||||
android:text="展示"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/white" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_sel_point_ll_source"
|
||||
android:background="@color/gray_patrol"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp">
|
||||
<RelativeLayout
|
||||
android:background="@color/gray_patrol"
|
||||
android:layout_weight="2"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent">
|
||||
<Spinner
|
||||
android:id="@+id/moudle_sel_point_sp_source"
|
||||
android:textColor="#5F5F5F"
|
||||
android:layout_width="match_parent"
|
||||
android:background="#F2F2F2"
|
||||
android:layout_height="match_parent"/>
|
||||
<ImageView
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="10dp"
|
||||
android:src="@mipmap/iv_down"
|
||||
android:padding="5dp"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="match_parent" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_sel_point_rc_seled_point"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"/>
|
||||
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
||||
android:id="@+id/moudle_sel_point_refresh"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<com.scwang.smart.refresh.header.ClassicsHeader
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingLeft="9dp"
|
||||
android:paddingRight="9dp">
|
||||
<com.sipai.ui.EmptyLayout
|
||||
android:id="@+id/moudle_sel_point_ui_empty"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_sel_point_list_rc"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
<com.scwang.smart.refresh.footer.ClassicsFooter
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
||||
</LinearLayout>
|
||||
132
app/src/main/res/layout/alarm/layout/activity_alarm_list.xml
Normal file
132
app/src/main/res/layout/alarm/layout/activity_alarm_list.xml
Normal file
@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="@color/bg_main_gray"
|
||||
tools:context="com.sipai.jspatrol.Alarm.AlarmListActivity">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@drawable/bg_title">
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/moudle_alarm_list_iv_back"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="0.1"
|
||||
android:padding="5dp"
|
||||
android:src="@mipmap/back_hd" />
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="0.5">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/moudle_search_bg" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/moudle_alarm_list_iv_search"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:padding="6dp"
|
||||
android:src="@mipmap/moudle_search" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_alarm_list_edt_equname"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击输入名称搜索"
|
||||
android:layout_marginLeft="60dp"
|
||||
android:paddingRight="15dp"
|
||||
android:textSize="13sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_alarm_list_tv_search"
|
||||
android:layout_width="0dp"
|
||||
android:text="搜索"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/white" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:layout_height="36dp"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true">
|
||||
<requestFocus/>
|
||||
<EditText
|
||||
android:id="@+id/moudle_alarm_list_edt_sd"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/bg_date_select"
|
||||
android:padding="5dp"
|
||||
android:ems="10"
|
||||
android:inputType="time"
|
||||
android:textSize="14sp">
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="至" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_alarm_list_edt_ed"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="30dp"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/bg_date_select"
|
||||
android:padding="5dp"
|
||||
android:layout_weight="1"
|
||||
android:ems="10"
|
||||
android:inputType="time"
|
||||
android:textSize="14sp"/>
|
||||
|
||||
</LinearLayout>
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:id="@+id/moudle_alarm_list_refresh"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingLeft="9dp"
|
||||
android:paddingRight="9dp">
|
||||
<com.sipai.ui.EmptyLayout
|
||||
android:id="@+id/moudle_alarm_list_ui_empty"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<com.superrecycleview.superlibrary.recycleview.SuperRecyclerView
|
||||
android:id="@+id/moudle_alarm_list_rc"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</LinearLayout>
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
</LinearLayout>
|
||||
84
app/src/main/res/layout/alarm/layout/item_alarm.xml
Normal file
84
app/src/main/res/layout/alarm/layout/item_alarm.xml
Normal file
@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_layout_shape_factory"
|
||||
android:layout_marginTop="3dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="8dp"
|
||||
android:src="@mipmap/moudle_iv_yellow_message"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_alarm_tv_time"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:textColor="@color/gray_text"
|
||||
android:textSize="13sp" />
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_alarm_tv_status"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:textColor="@color/gray_text"
|
||||
android:textSize="13sp" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_alarm_tv_alarmlvl"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="3dp"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:textColor="@color/error_red"
|
||||
android:textSize="13sp" />
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_alarm_tv_alarmtype"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="3dp"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:textColor="#67686C"
|
||||
android:textSize="13sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_alarm_tv_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="8dp"
|
||||
android:textColor="#67686C"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
30
app/src/main/res/layout/equ/layout/activity_equ_card.xml
Normal file
30
app/src/main/res/layout/equ/layout/activity_equ_card.xml
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
tools:context=".Equ.EquCardActivity">
|
||||
<com.sipai.ui.TitleLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
<com.gigamole.navigationtabstrip.NavigationTabStrip
|
||||
android:id="@+id/moudle_equ_detail_tab"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
app:nts_active_color="@color/blue_text"
|
||||
app:nts_color="@color/blue_text"
|
||||
app:nts_corners_radius="2dp"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginRight="12dp"
|
||||
app:nts_inactive_color="#797979"
|
||||
app:nts_gravity="bottom"
|
||||
app:nts_size="15sp"
|
||||
app:nts_weight="4dp"/>
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/moudle_equ_detail_vp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</LinearLayout>
|
||||
284
app/src/main/res/layout/equ/layout/activity_equ_detail.xml
Normal file
284
app/src/main/res/layout/equ/layout/activity_equ_detail.xml
Normal file
@ -0,0 +1,284 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#F9F9F9"
|
||||
android:orientation="vertical"
|
||||
tools:context=".Equ.EquDetailActivity">
|
||||
<com.sipai.ui.TitleLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginLeft="6dp"
|
||||
android:layout_marginRight="6dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:background="@drawable/bg_layout_shape_factory">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="设备名称:"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_equipmentname"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/gray08"
|
||||
android:textSize="15sp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginLeft="6dp"
|
||||
android:layout_marginRight="6dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:background="@drawable/bg_layout_shape_factory">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="设备编号:"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_equipmentcardid"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="设备型号:"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_equtype"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="安装位置:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_areaid"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="工艺位置:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_ps"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="厂家:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_equmf"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="所属厂区:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_company"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:text="关联测量点"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"/>
|
||||
</LinearLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_equ_detail_rc_point"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="300dp"/>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
623
app/src/main/res/layout/equ/layout/activity_equ_insert.xml
Normal file
623
app/src/main/res/layout/equ/layout/activity_equ_insert.xml
Normal file
@ -0,0 +1,623 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.sipai.ui.TitleLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
style="@style/wrap_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="*所属厂区"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_insert_tv_company"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2.5"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text=" 工艺段"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_insert_tv_processsection"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2.5"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击选择"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="*设备编号"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_equ_insert_edt_equno"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2.5"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击填写"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="*设备名称"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_equ_insert_edt_equname"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2.5"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击填写"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text=" 资产类型"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_insert_tv_asset"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2.5"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击选择"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text=" 设备型号"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_insert_tv_equtypenum"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2.5"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击选择"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text=" 设备类型"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_insert_tv_equclass"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2.5"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击选择"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text=" 设备规格"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_insert_tv_equspecification"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2.5"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击选择"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text=" 设备级别"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_insert_tv_equlevel"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2.5"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击选择"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text=" 设备状态"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_weight="2.5"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent">
|
||||
<Spinner
|
||||
android:id="@+id/moudle_equ_insert_sp_status"
|
||||
android:layout_width="match_parent"
|
||||
android:textColor="@color/black"
|
||||
android:background="@null"
|
||||
android:layout_height="match_parent"></Spinner>
|
||||
<ImageView
|
||||
android:layout_alignParentRight="true"
|
||||
android:src="@mipmap/iv_down"
|
||||
android:padding="5dp"
|
||||
android:layout_marginRight="90dp"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="match_parent" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text=" 所属设备"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_insert_tv_pertain_to_equ"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2.5"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击选择"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text=" 资产编号"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_equ_insert_edt_assetnumber"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2.5"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击填写"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text=" 资产原值/元"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_equ_insert_edt_assetvalue"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击填写"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text=" 额定功率/KW"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_equ_insert_edt_ratedpower"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击填写"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text=" 采购费/元"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_equ_insert_edt_pro_charge"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2.5"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击填写"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text=" 人工费/元"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_equ_insert_edt_cost_of_labor"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2.5"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击填写"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text=" 残值率"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_equ_insert_edt_residual_rate"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2.5"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击填写"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0.2dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/gray_t" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text=" 安装日期"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_equ_insert_edt_installation_date"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2.5"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击填写"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp" />
|
||||
</LinearLayout>
|
||||
<Button
|
||||
android:id="@+id/moudle_equ_insert_btn_save"
|
||||
style="@style/wrap_layout_btn_login"
|
||||
android:text="保存"
|
||||
android:textColor="@color/white"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
89
app/src/main/res/layout/equ/layout/activity_equ_search.xml
Normal file
89
app/src/main/res/layout/equ/layout/activity_equ_search.xml
Normal file
@ -0,0 +1,89 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@drawable/bg_title">
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/moudle_equ_search_iv_back"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="0.1"
|
||||
android:padding="5dp"
|
||||
android:src="@mipmap/back_hd" />
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="0.5">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/moudle_search_bg" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/moudle_equ_search_iv_search"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:padding="6dp"
|
||||
android:src="@mipmap/moudle_search" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_equ_search_edt_equname"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击输入名称搜索"
|
||||
android:layout_marginLeft="60dp"
|
||||
android:paddingRight="15dp"
|
||||
android:textSize="13sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_search_tv_search"
|
||||
android:layout_width="0dp"
|
||||
android:text="搜索"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/white" />
|
||||
</LinearLayout>
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:id="@+id/moudle_equ_search_refresh"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_equ_search_rc"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/moudle_equ_search_civ"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:padding="10dp"
|
||||
android:layout_marginBottom="50dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:src="@mipmap/moudle_fg_main_scan"/>
|
||||
</RelativeLayout>
|
||||
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<com.sipai.ui.TitleLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:orientation="horizontal">
|
||||
<EditText
|
||||
android:id="@+id/moudle_pertain_to_equ_sel_edt_equname"
|
||||
android:hint="设备名称"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3.5"/>
|
||||
<Button
|
||||
android:id="@+id/moudle_pertain_to_equ_sel_btn_search"
|
||||
android:layout_weight="1"
|
||||
android:text="搜索"
|
||||
android:textColor="@color/white"
|
||||
style="@style/wrap_layout_btn_login"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:id="@+id/moudle_pertain_to_equ_sel_refresh"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_pertain_to_equ_sel_rc"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
</LinearLayout>
|
||||
15
app/src/main/res/layout/equ/layout/activity_sel.xml
Normal file
15
app/src/main/res/layout/equ/layout/activity_sel.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<com.sipai.ui.TitleLayout
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"/>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_asset_class_sel_rc"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</LinearLayout>
|
||||
418
app/src/main/res/layout/equ/layout/fragment_equ_detail.xml
Normal file
418
app/src/main/res/layout/equ/layout/fragment_equ_detail.xml
Normal file
@ -0,0 +1,418 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#F9F9F9"
|
||||
android:orientation="vertical">
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginLeft="6dp"
|
||||
android:layout_marginRight="6dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:background="@drawable/bg_layout_shape_factory">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="设备名称:"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_equipmentname"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/gray08"
|
||||
android:textSize="15sp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginLeft="6dp"
|
||||
android:layout_marginRight="6dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:background="@drawable/bg_layout_shape_factory">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="设备编号:"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_equipmentcardid"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="设备状态:"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_equstatus"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingRight="8dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="规格型号:"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_equtype"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingRight="8dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="ABC分类:"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_abc"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingRight="8dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="设备类型:"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_type"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingRight="8dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="资产编号:"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_assetnumber"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingRight="8dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="安装位置:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_areaid"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="工艺位置:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_ps"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="厂家:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_equmf"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:text="所属厂区:"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_equ_detail_tv_company"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/gray08"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray_t"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:textColor="@color/black"
|
||||
android:textSize="15sp"
|
||||
android:text="关联测量点"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"/>
|
||||
</LinearLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_equ_detail_rc_point"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="300dp"/>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
30
app/src/main/res/layout/equ/layout/fragment_equ_document.xml
Normal file
30
app/src/main/res/layout/equ/layout/fragment_equ_document.xml
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#F9F9F9"
|
||||
android:orientation="vertical">
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:id="@+id/moudle_equ_doc_refresh"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingLeft="9dp"
|
||||
android:paddingRight="9dp">
|
||||
<com.sipai.ui.EmptyLayout
|
||||
android:id="@+id/moudle_equ_doc_ui_empty"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_equ_doc_rc_point"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</LinearLayout>
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
</LinearLayout>
|
||||
@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/bg_main_gray"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:layout_height="36dp"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true">
|
||||
<requestFocus/>
|
||||
<EditText
|
||||
android:id="@+id/moudle_equ_fault_list_edt_sd"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/bg_date_select"
|
||||
android:padding="5dp"
|
||||
android:ems="10"
|
||||
android:inputType="time"
|
||||
android:textSize="14sp">
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="至" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_equ_fault_list_edt_ed"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="30dp"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/bg_date_select"
|
||||
android:padding="5dp"
|
||||
android:layout_weight="1"
|
||||
android:ems="10"
|
||||
android:inputType="time"
|
||||
android:textSize="14sp"/>
|
||||
|
||||
</LinearLayout>
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:id="@+id/moudle_equ_fault_list_refresh"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingLeft="9dp"
|
||||
android:paddingRight="9dp">
|
||||
<com.sipai.ui.EmptyLayout
|
||||
android:id="@+id/moudle_equ_fault_list_ui_empty"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<com.superrecycleview.superlibrary.recycleview.SuperRecyclerView
|
||||
android:id="@+id/moudle_equ_fault_list_rc"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</LinearLayout>
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
</LinearLayout>
|
||||
74
app/src/main/res/layout/equ/layout/fragment_equ_maintain.xml
Normal file
74
app/src/main/res/layout/equ/layout/fragment_equ_maintain.xml
Normal file
@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/bg_main_gray"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_marginRight="12dp"
|
||||
android:layout_height="36dp"
|
||||
android:focusable="true"
|
||||
android:focusableInTouchMode="true">
|
||||
<requestFocus/>
|
||||
<EditText
|
||||
android:id="@+id/moudle_equ_maintains_edt_sd"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/bg_date_select"
|
||||
android:padding="5dp"
|
||||
android:ems="10"
|
||||
android:inputType="time"
|
||||
android:textSize="14sp">
|
||||
|
||||
<requestFocus />
|
||||
</EditText>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:text="至" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_equ_maintains_edt_ed"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="30dp"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/bg_date_select"
|
||||
android:padding="5dp"
|
||||
android:layout_weight="1"
|
||||
android:ems="10"
|
||||
android:inputType="time"
|
||||
android:textSize="14sp"/>
|
||||
|
||||
</LinearLayout>
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:id="@+id/moudle_equ_maintains_refresh"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingLeft="9dp"
|
||||
android:paddingRight="9dp">
|
||||
<com.sipai.ui.EmptyLayout
|
||||
android:id="@+id/moudle_equ_maintains_ui_empty"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<com.superrecycleview.superlibrary.recycleview.SuperRecyclerView
|
||||
android:id="@+id/moudle_equ_maintains_rc"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</LinearLayout>
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
</LinearLayout>
|
||||
59
app/src/main/res/layout/equ/layout/item.xml
Normal file
59
app/src/main/res/layout/equ/layout/item.xml
Normal file
@ -0,0 +1,59 @@
|
||||
<?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="wrap_content"
|
||||
android:paddingLeft="5dp"
|
||||
android:orientation="horizontal" >
|
||||
<!--listview通用显示-->
|
||||
<!--<ImageView-->
|
||||
<!--android:id="@+id/img"-->
|
||||
<!--android:layout_width="70dp"-->
|
||||
<!--android:layout_height="70dp"-->
|
||||
<!--android:layout_marginRight="5dip"-->
|
||||
<!--android:layout_centerVertical="true"-->
|
||||
<!--android:visibility="invisible"-->
|
||||
<!--/>-->
|
||||
|
||||
<TextView
|
||||
android:id="@+id/name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:textSize="14sp"
|
||||
android:layout_marginTop="3dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/subname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="38dip"
|
||||
android:textSize="12sp"
|
||||
android:layout_marginBottom="3dp"/>
|
||||
<TextView
|
||||
android:id="@+id/info"
|
||||
android:layout_width="565dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:layout_below="@id/name"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textColor="#9e9e9e"
|
||||
android:textSize="12sp"
|
||||
android:layout_marginBottom="5dp"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imgRight"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_margin="10.0dip"
|
||||
android:padding="2.0dip"
|
||||
android:src="@mipmap/setting_arrow" />
|
||||
<View
|
||||
android:background="@color/gray_t"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"/>
|
||||
</RelativeLayout>
|
||||
15
app/src/main/res/layout/equ/layout/moudle_item_sel.xml
Normal file
15
app/src/main/res/layout/equ/layout/moudle_item_sel.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_sel_tv_name"
|
||||
android:paddingLeft="20dp"
|
||||
style="@style/wrap_layout_btn_login"
|
||||
android:textColor="@color/white"
|
||||
android:text="你好"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp" />
|
||||
</LinearLayout>
|
||||
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:background="#01000000"
|
||||
android:layout_height="match_parent">
|
||||
<TextView
|
||||
android:id="@+id/moudle_measurepoint_list_tv_empty"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="3"/>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_measurepoint_poplist_recyclerView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="210dp"
|
||||
android:background="@color/white"
|
||||
android:padding="10dp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
@ -0,0 +1,679 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/ac_bg"
|
||||
android:orientation="vertical">
|
||||
<com.sipai.ui.TitleLayout
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"/>
|
||||
<ScrollView
|
||||
android:layout_marginBottom="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<Button
|
||||
android:id="@+id/moudle_doing_fault_detail_btn_sign_in"
|
||||
android:background="@drawable/bg_layout_shape_btn_blue"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="35dp"
|
||||
android:text="签收"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:textColor="@color/white"/>
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"/>
|
||||
<Button
|
||||
android:id="@+id/moudle_doing_fault_detail_btn_sub"
|
||||
android:background="@drawable/bg_layout_shape_btn_blue"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="35dp"
|
||||
android:text="提交"
|
||||
android:layout_marginRight="15dp"
|
||||
android:textColor="@color/white"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_doing_fault_detail_ll_all"
|
||||
android:background="@drawable/bg_layout_shape_factory"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_margin="8dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:textColor="@color/gray04"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="14sp"
|
||||
android:height="40dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="工艺位置:"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_height="wrap_content" />
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"
|
||||
android:layout_marginRight="10dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_area"
|
||||
android:textColor="@color/black"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="14sp"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="34.5dp" />
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_doing_fault_detail_ll_equ"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:height="40dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="故障设备:"
|
||||
android:textColor="@color/gray04"
|
||||
android:textSize="14sp" />
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"
|
||||
android:layout_marginRight="10dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_equ_detail"
|
||||
android:textColor="@color/black"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="14sp"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="34.5dp" />
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_doing_fault_detail_ll_planMoney"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:height="40dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="计划费用:"
|
||||
android:textColor="@color/gray04"
|
||||
android:textSize="14sp" />
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="2"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_planMoney"
|
||||
android:textColor="@color/black"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="14sp"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="34.5dp" />
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:layout_weight="1"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="元"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/gray04"
|
||||
android:text="问题描述:"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_content"
|
||||
android:padding="6dp"
|
||||
android:background="@drawable/bg_black_border"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_date"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:padding="8dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/black"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_man"
|
||||
android:textColor="@color/black"
|
||||
android:padding="8dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:gravity="center_vertical|right"
|
||||
android:layout_weight="3"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_doing_fault_detail_rc_pic"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="120dp"></androidx.recyclerview.widget.RecyclerView>
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_doing_fault_detail_ll_edit"
|
||||
android:background="@drawable/bg_layout_shape_factory"
|
||||
android:layout_margin="8dp"
|
||||
android:padding="5dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="* 问题描述"/>
|
||||
<EditText
|
||||
android:id="@+id/moudle_doing_fault_detail_edt_question_description"
|
||||
android:padding="6dp"
|
||||
android:background="@drawable/bg_black_border"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="90dp" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="* 处理内容"/>
|
||||
<EditText
|
||||
android:id="@+id/moudle_doing_fault_detail_edt_dispose_content"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="6dp"
|
||||
android:background="@drawable/bg_black_border"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="90dp" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:visibility="gone"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="维护日期"/>
|
||||
<View
|
||||
android:layout_width="0.3dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/gray01"/>
|
||||
<EditText
|
||||
android:id="@+id/moudle_doing_fault_detail_edt_maintenance_date"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="实际费用"/>
|
||||
<View
|
||||
android:layout_width="0.3dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/gray01"/>
|
||||
<EditText
|
||||
android:id="@+id/moudle_doing_fault_detail_edt_actualMoney"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:inputType="numberDecimal"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="* 工时"/>
|
||||
<View
|
||||
android:layout_width="0.3dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/gray01"/>
|
||||
<EditText
|
||||
android:id="@+id/moudle_doing_fault_detail_edt_workinghours"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:inputType="numberDecimal"
|
||||
android:layout_width="0dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:background="@color/white"
|
||||
android:clickable="false"
|
||||
android:gravity="center_vertical"
|
||||
android:scrollbars="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:layout_width="120dp"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="是否委外:" />
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<Spinner
|
||||
android:id="@+id/rp_imp_sp_repairway"
|
||||
android:background="@null"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
<ImageView
|
||||
android:layout_alignParentRight="true"
|
||||
android:src="@mipmap/iv_down"
|
||||
android:padding="8dp"
|
||||
android:layout_marginRight="30dp"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="match_parent" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="工艺段"/>
|
||||
<View
|
||||
android:layout_width="0.3dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/gray01"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_processsection"
|
||||
android:hint="点击选择工艺段"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="关联设备"/>
|
||||
<View
|
||||
android:layout_width="0.3dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/gray01"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_equ"
|
||||
android:hint="点击选择相关设备"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="*提交至"/>
|
||||
<View
|
||||
android:layout_width="0.3dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/gray01"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_receiver"
|
||||
android:hint="点击选择接收人"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
<GridView
|
||||
android:layout_marginTop="5dp"
|
||||
android:id="@+id/moudle_doing_fault_detail_gv_pic"
|
||||
android:numColumns="4"
|
||||
android:columnWidth="90dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical" />
|
||||
<Button
|
||||
android:id="@+id/moudle_doing_fault_detail_btn_big_sub"
|
||||
android:background="@drawable/bg_layout_shape_btn_blue"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:text="提交"
|
||||
android:layout_margin="15dp"
|
||||
android:textColor="@color/white"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_doing_fault_detail_ll_show"
|
||||
android:background="@drawable/bg_layout_shape_factory"
|
||||
android:layout_margin="8dp"
|
||||
android:padding="5dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="问题描述"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_show_question_description"
|
||||
android:padding="6dp"
|
||||
android:background="@drawable/bg_black_border"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="处理内容"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_show_dispose_content"
|
||||
android:padding="6dp"
|
||||
android:background="@drawable/bg_black_border"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="内容补充"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_show_content_added"
|
||||
android:gravity="center_vertical"
|
||||
android:background="@drawable/bg_black_border"
|
||||
android:padding="6dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="* 维护日期"/>
|
||||
<View
|
||||
android:layout_width="0.3dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/gray01"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_show_maintenance_date"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="工艺段"/>
|
||||
<View
|
||||
android:layout_width="0.3dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/gray01"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_show_processsection"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_height="30dp"
|
||||
android:gravity="center"
|
||||
android:text="关联设备"/>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_show_equ"
|
||||
android:padding="5dp"
|
||||
android:textColor="@color/blue"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_height="30dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="*审核人"/>
|
||||
<View
|
||||
android:layout_width="0.3dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/gray01"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_doing_fault_detail_tv_show_receiver"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="30dp" />
|
||||
</LinearLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_doing_fault_detail_rc_show_pic"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="120dp"
|
||||
android:visibility="gone"/>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
304
app/src/main/res/layout/fault/layout/activity_done_fault.xml
Normal file
304
app/src/main/res/layout/fault/layout/activity_done_fault.xml
Normal file
@ -0,0 +1,304 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
tools:context=".Fault.DoneFaultActivity">
|
||||
<com.sipai.ui.TitleLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_done_fault_ll_all"
|
||||
android:background="@drawable/bg_layout_shape_factory"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_margin="8dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:textColor="@color/gray04"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="14sp"
|
||||
android:height="40dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="工艺位置:"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_height="wrap_content" />
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"
|
||||
android:layout_marginRight="10dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/moudle_done_fault_tv_area"
|
||||
android:textColor="@color/black"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="14sp"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="34.5dp" />
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="1"
|
||||
android:height="40dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:text="故障设备:"
|
||||
android:textColor="@color/gray04"
|
||||
android:textSize="14sp" />
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"
|
||||
android:layout_marginRight="10dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/moudle_done_fault_tv_equ_name"
|
||||
android:textColor="@color/black"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="14sp"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="34.5dp" />
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/gray04"
|
||||
android:text="问题描述:"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_done_fault_tv_fault_content"
|
||||
android:padding="6dp"
|
||||
android:background="@drawable/bg_black_border"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:id="@+id/moudle_done_fault_tv_date"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:padding="8dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/black"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_done_fault_tv_man"
|
||||
android:textColor="@color/black"
|
||||
android:padding="8dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:gravity="center_vertical|right"
|
||||
android:layout_weight="3"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_done_fault_ll_show"
|
||||
android:background="@drawable/bg_layout_shape_factory"
|
||||
android:layout_margin="8dp"
|
||||
android:padding="5dp"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="处理内容"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_done_fault_tv_show_dispose_content"
|
||||
android:padding="6dp"
|
||||
android:background="@drawable/bg_black_border"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="内容补充"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_done_fault_tv_show_content_added"
|
||||
android:gravity="center_vertical"
|
||||
android:background="@drawable/bg_black_border"
|
||||
android:padding="6dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="* 维护日期"/>
|
||||
<View
|
||||
android:layout_width="0.3dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/gray01"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_done_fault_tv_show_maintenance_date"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:text="工艺段"/>
|
||||
<View
|
||||
android:layout_width="0.3dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/gray01"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_done_fault_tv_show_processsection"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_height="30dp"
|
||||
android:gravity="center"
|
||||
android:text="关联设备"/>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_done_fault_tv_show_equ"
|
||||
android:padding="5dp"
|
||||
android:textColor="@color/blue"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_height="30dp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="*审核人"/>
|
||||
<View
|
||||
android:layout_width="0.3dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/gray01"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_done_fault_tv_show_receiver"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="30dp" />
|
||||
</LinearLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_done_fault_rc_show_pic"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="120dp"
|
||||
android:visibility="gone"/>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
331
app/src/main/res/layout/fault/layout/activity_new_fault.xml
Normal file
331
app/src/main/res/layout/fault/layout/activity_new_fault.xml
Normal file
@ -0,0 +1,331 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<com.sipai.ui.TitleLayout
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"/>
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_margin="5dp"
|
||||
android:padding="5dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:text="所属厂区:"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_tv_biz"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:background="@color/white"
|
||||
android:clickable="false"
|
||||
android:gravity="center_vertical"
|
||||
android:scrollbars="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp"
|
||||
android:gravity="center_vertical"
|
||||
android:text="异常类型:" />
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<Spinner
|
||||
android:id="@+id/moudle_new_fault_sp_type"
|
||||
android:background="@null"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
<ImageView
|
||||
android:layout_alignParentRight="true"
|
||||
android:src="@mipmap/iv_down"
|
||||
android:padding="8dp"
|
||||
android:layout_marginRight="30dp"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="match_parent" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="0.3dp"/>
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/base_line"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:text="上报人:"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_tv_sub_man"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="10"
|
||||
android:text="工艺段:"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_tv_ps"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:hint="点击选择工艺段"
|
||||
android:layout_weight="25"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp"/>
|
||||
<ImageView
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="5"
|
||||
android:layout_height="35dp"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:paddingRight="15dp"
|
||||
android:src="@mipmap/moudle_arrow_to_next"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="0.3dp"/>
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/base_line"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:text="接收人"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_tv_receiver"
|
||||
android:layout_width="0dp"
|
||||
android:hint="点击选择接收人"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:visibility="gone"
|
||||
android:background="@color/blue"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="135dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_tv_fault_description"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:text="异常描述"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/black"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp"/>
|
||||
<EditText
|
||||
android:id="@+id/moudle_new_fault_edt_fault_description"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:hint="填写异常描述"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="100dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_tv_fault_remark"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:text="备注"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/black"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp"/>
|
||||
<EditText
|
||||
android:id="@+id/moudle_new_fault_edt_fault_remark"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="65dp"
|
||||
android:hint="填写备注"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/base_line"/>
|
||||
</LinearLayout>
|
||||
|
||||
<GridView
|
||||
android:layout_marginTop="5dp"
|
||||
android:id="@+id/moudle_new_fault_gv_pic"
|
||||
android:numColumns="3"
|
||||
android:columnWidth="90dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="0.3dp"/>
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/base_line"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_new_fault_ll_equ"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_tv_sel_equ"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/blue"
|
||||
android:text="异常设备(点击选择)"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:textSize="16sp"/>
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp">
|
||||
<TextView
|
||||
android:text="设备名称:"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_tv_equ_name"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp">
|
||||
<TextView
|
||||
android:text="设备编号:"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_tv_equ_cardno"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<Button
|
||||
android:id="@+id/moudle_new_fault_btn_sub"
|
||||
android:text="提 交"
|
||||
android:textColor="@color/white"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textSize="19sp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
style="@style/wrap_layout_btn_login"/>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
@ -0,0 +1,431 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<com.sipai.ui.TitleLayout
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"/>
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<LinearLayout
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:text="所属厂区:"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_detail_tv_company"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="15dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:orientation="horizontal">
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
<View
|
||||
android:background="@color/gray01"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:text="工 艺 段:"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_detail_tv_processsection"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="15dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:orientation="horizontal">
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
<View
|
||||
android:background="@color/gray01"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:text="上 报 人:"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_detail_tv_sub_man"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="15dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:orientation="horizontal">
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
<View
|
||||
android:background="@color/gray01"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:text="上报时间:"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_detail_tv_sub_time"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="15dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:orientation="horizontal">
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
<View
|
||||
android:background="@color/gray01"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:text="异常描述"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_detail_tv_abnormitydescription"
|
||||
android:textSize="15sp"
|
||||
android:padding="8dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_new_fault_detail_rc_pic"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="120dp"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:text="备注"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_detail_tv_remark"
|
||||
android:textSize="15sp"
|
||||
android:padding="8dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_new_fault_detail_ll_equ"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:text="故障设备"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"/>
|
||||
<View
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_detail_tv_equs"
|
||||
android:padding="8dp"
|
||||
android:textSize="16sp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_new_fault_detail_ll_todo"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:text="生成缺陷"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
<View
|
||||
android:background="@color/gray01"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:text="处理方式:"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1.5"/>
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3">
|
||||
<Spinner
|
||||
android:id="@+id/moudle_new_fault_detail_sp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@null"></Spinner>
|
||||
<ImageView
|
||||
android:layout_alignParentRight="true"
|
||||
android:src="@mipmap/iv_down"
|
||||
android:padding="8dp"
|
||||
android:layout_marginRight="30dp"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="match_parent" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:text="计划完成日期:"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1.5"/>
|
||||
<EditText
|
||||
android:id="@+id/moudle_new_fault_detail_edt_complete_date"
|
||||
android:textSize="16sp"
|
||||
android:background="@null"
|
||||
android:paddingLeft="15dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:text="计划费用:"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1.5"/>
|
||||
<EditText
|
||||
android:id="@+id/moudle_new_fault_detail_edt_planMoney"
|
||||
android:textSize="16sp"
|
||||
android:background="@null"
|
||||
android:hint="0.0"
|
||||
android:paddingLeft="15dp"
|
||||
android:inputType="numberDecimal"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="35dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:text="接收人员:"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1.5"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_detail_tv_receiver"
|
||||
android:textSize="16sp"
|
||||
android:hint="点击选择"
|
||||
android:paddingLeft="15dp"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="3"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<LinearLayout
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
android:text="故障类型"
|
||||
android:textSize="16sp"
|
||||
android:paddingLeft="10dp"
|
||||
android:gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="30dp"/>
|
||||
<View
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3dp"
|
||||
android:background="@color/gray01"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_new_fault_detail_tv_fault_type"
|
||||
android:padding="8dp"
|
||||
android:textSize="16sp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<Button
|
||||
android:id="@+id/moudle_new_fault_detail_btn_sub"
|
||||
android:text="提 交"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="19sp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:background="@drawable/bg_layout_shape_btn_blue"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:background="@drawable/bg_title"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_gravity="center_vertical"
|
||||
android:id="@+id/moudle_ps_iv_back"
|
||||
android:src="@mipmap/back_hd"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingBottom="8dp"
|
||||
android:paddingRight="5dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="45dp" />
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="45dp"
|
||||
android:paddingTop="3dp"
|
||||
android:paddingBottom="3dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="3.5">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/moudle_search_bg" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/moudle_ps_iv_search"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:padding="7dp"
|
||||
android:src="@mipmap/moudle_search" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_ps_edt_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击输入名称搜索"
|
||||
android:layout_marginLeft="60dp"
|
||||
android:paddingRight="5dp"
|
||||
android:textSize="13sp" />
|
||||
</RelativeLayout>
|
||||
<TextView
|
||||
android:id="@+id/moudle_ps_tv_save"
|
||||
android:textColor="@color/white"
|
||||
android:gravity="center"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_person_selector_rc"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</LinearLayout>
|
||||
@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:background="@drawable/bg_title">
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/moudle_single_choice_iv_back"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="0.1"
|
||||
android:padding="5dp"
|
||||
android:src="@mipmap/back_hd" />
|
||||
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="30dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_weight="0.5">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/moudle_search_bg" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/moudle_single_choice_iv_search"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:padding="6dp"
|
||||
android:src="@mipmap/moudle_search" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/moudle_single_choice_edt_equname"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="点击输入名称搜索"
|
||||
android:layout_marginLeft="60dp"
|
||||
android:paddingRight="15dp"
|
||||
android:textSize="13sp" />
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_single_choice_tv_search"
|
||||
android:layout_width="0dp"
|
||||
android:text="搜索"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.1"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/white" />
|
||||
</LinearLayout>
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:id="@+id/moudle_single_choice_refresh"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/moudle_single_choice_rc"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
</LinearLayout>
|
||||
56
app/src/main/res/layout/fault/layout/dialog_add_picture.xml
Normal file
56
app/src/main/res/layout/fault/layout/dialog_add_picture.xml
Normal file
@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5.0dip"
|
||||
android:layout_marginRight="5.0dip"
|
||||
android:background="@android:color/transparent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="30px"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_camera"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="144px"
|
||||
android:background="@mipmap/btn_top_arc"
|
||||
android:gravity="center"
|
||||
android:text="拍照"
|
||||
android:textColor="#666666"
|
||||
android:textSize="48px" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="1022px"
|
||||
android:layout_height="4px"
|
||||
android:background="#666666" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_gallery"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="144px"
|
||||
android:gravity="center"
|
||||
android:background="@mipmap/btn_bottom_arc"
|
||||
android:text="从手机相册选择"
|
||||
android:textColor="#666666"
|
||||
android:textSize="48px" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_cancel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="144px"
|
||||
android:layout_marginTop="20px"
|
||||
android:layout_marginLeft="30px"
|
||||
android:layout_marginRight="30px"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:background="@mipmap/btn_top_arc"
|
||||
android:gravity="center"
|
||||
android:text="取消"
|
||||
android:textColor="#666666"
|
||||
android:textSize="48px" />
|
||||
|
||||
</LinearLayout>
|
||||
201
app/src/main/res/layout/fault/layout/fragment_fault.xml
Normal file
201
app/src/main/res/layout/fault/layout/fragment_fault.xml
Normal file
@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/bg_main_gray">
|
||||
<LinearLayout
|
||||
android:orientation="horizontal" android:layout_width="match_parent"
|
||||
android:background="@drawable/bg_title"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:id="@+id/moudle_back_title_tv_title"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="15sp"
|
||||
android:gravity="center"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:layout_height="50dp"
|
||||
android:text="事项处理"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:id="@+id/moudle_fault_tv_backlog"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:text="待办事项"
|
||||
android:textColor="@color/text_blue"
|
||||
android:gravity="center_vertical"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_fault_tv_fault_list"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:text="异常列表"
|
||||
android:textColor="@color/gray03"
|
||||
android:gravity="center_vertical"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_fault_tv_ww_list"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:text="委外工单"
|
||||
android:textColor="@color/gray03"
|
||||
android:gravity="center_vertical"/>
|
||||
</LinearLayout>
|
||||
<com.tencent.smtt.sdk.WebView
|
||||
android:id="@+id/moudle_backlog_webview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="16dp"
|
||||
android:orientation="horizontal">
|
||||
<RelativeLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginRight="28dp"
|
||||
android:background="@drawable/bg_white_all">
|
||||
<ImageView
|
||||
android:layout_marginLeft="12dp"
|
||||
android:layout_width="36dp"
|
||||
android:padding="8dp"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@mipmap/moudle_search"/>
|
||||
<EditText
|
||||
android:id="@+id/moudle_fg_fault_edt_search"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="45dp"
|
||||
android:paddingRight="8dp"
|
||||
android:background="@null"/>
|
||||
</RelativeLayout>
|
||||
<TextView
|
||||
android:id="@+id/moudle_fg_fault_tv_sub"
|
||||
android:layout_width="90dp"
|
||||
android:layout_height="32dp"
|
||||
android:gravity="center"
|
||||
android:textSize="12sp"
|
||||
android:textColor="#FF2748F1"
|
||||
android:background="@drawable/bg_little_blue_all"
|
||||
android:text="异常上报"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:background="#6179FF"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="32dp"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:orientation="horizontal">
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#6179FF"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_fg_fault_tv_all"
|
||||
android:background="@drawable/bg_blue_status_sel"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="32dp"
|
||||
android:text="全部"
|
||||
android:visibility="gone"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/white"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1"/>
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:visibility="gone"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#6179FF"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_fg_fault_tv_subed"
|
||||
android:background="@drawable/bg_blue_status_sel"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="32dp"
|
||||
android:text="已上报"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/white"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1"/>
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#6179FF"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_fg_fault_tv_doing"
|
||||
android:background="@drawable/bg_blue_status_unsel"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="32dp"
|
||||
android:text="进行中"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/text_blue"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1"/>
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#6179FF"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_fg_fault_tv_com"
|
||||
android:background="@drawable/bg_blue_status_unsel"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="32dp"
|
||||
android:text="已完成"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/text_blue"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1"/>
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#6179FF"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginRight="16dp"
|
||||
android:background="#6179FF"/>
|
||||
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
||||
android:id="@+id/moudle_fg_fault_refresh"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingLeft="9dp"
|
||||
android:paddingRight="9dp">
|
||||
<com.sipai.ui.EmptyLayout
|
||||
android:id="@+id/moudle_fg_fault_ui_empty"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
<com.superrecycleview.superlibrary.recycleview.SuperRecyclerView
|
||||
android:id="@+id/moudle_fg_fault_rc"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</LinearLayout>
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
134
app/src/main/res/layout/fault/layout/item_doing_fault.xml
Normal file
134
app/src/main/res/layout/fault/layout/item_doing_fault.xml
Normal file
@ -0,0 +1,134 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.mcxtzhang.swipemenulib.SwipeMenuLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginTop="3dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_marginBottom="3dp"
|
||||
android:clickable="true"
|
||||
app:ios="false"
|
||||
app:leftSwipe="true"
|
||||
app:swipeEnable="true">
|
||||
|
||||
<!-- <Button-->
|
||||
<!-- android:id="@+id/moudle_item_doing_fault_btn_make_fault"-->
|
||||
<!-- style="@style/wrap_layout_blue"-->
|
||||
<!-- android:layout_width="60dp"-->
|
||||
<!-- android:layout_height="match_parent"-->
|
||||
<!-- android:clickable="true"-->
|
||||
<!-- android:text="执行"-->
|
||||
<!-- android:textColor="@android:color/white"-->
|
||||
<!-- android:visibility="gone" />-->
|
||||
|
||||
|
||||
<!-- <Button-->
|
||||
<!-- android:id="@+id/moudle_item_doing_fault_btn_delete"-->
|
||||
<!-- style="@style/wrap_layout_red"-->
|
||||
<!-- android:layout_width="60dp"-->
|
||||
<!-- android:layout_height="match_parent"-->
|
||||
<!-- android:text="删除"-->
|
||||
<!-- android:textColor="@android:color/white" />-->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_item_doing_fault_ll_all"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_layout_shape_factory"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_item_doing_fault_ll_area"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_doing_fault_tv_area"
|
||||
android:textColor="@color/black"
|
||||
android:lines="1"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:layout_width="120dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_height="wrap_content" />
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_doing_fault_tv_todotask"
|
||||
android:textColor="@color/black"
|
||||
android:gravity="center_vertical|right"
|
||||
android:paddingLeft="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_doing_fault_tv_equ"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14sp" />
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_doing_fault_tv_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp" />
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_doing_fault_tv_remark"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14sp" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_layout_shape_gray_bottom"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_doing_fault_tv_date"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="15dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingTop="5dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#A6AAB0" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_doing_fault_tv_man"
|
||||
android:textColor="#2642EF"
|
||||
android:paddingRight="15dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingTop="5dp"
|
||||
android:gravity="center_vertical|right"
|
||||
android:layout_weight="3"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</com.mcxtzhang.swipemenulib.SwipeMenuLayout>
|
||||
94
app/src/main/res/layout/fault/layout/item_done_fault.xml
Normal file
94
app/src/main/res/layout/fault/layout/item_done_fault.xml
Normal file
@ -0,0 +1,94 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginTop="3dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_marginBottom="3dp">
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_item_done_fault_ll_all"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_layout_shape_factory"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_item_done_fault_ll_area"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_done_fault_tv_equ"
|
||||
android:textColor="@color/black"
|
||||
android:lines="1"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="10dp"
|
||||
android:layout_width="120dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:layout_height="wrap_content" />
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_done_fault_tv_area"
|
||||
android:textColor="@color/black"
|
||||
android:gravity="center_vertical|right"
|
||||
android:paddingLeft="5dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingRight="10dp"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_done_fault_tv_content"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_done_fault_tv_remark"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:paddingLeft="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14sp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_layout_shape_gray_bottom"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_done_fault_tv_date"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="5dp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="3"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingBottom="3dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#A6AAB0"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_done_fault_tv_man"
|
||||
android:textColor="#A6AAB0"
|
||||
android:paddingRight="5dp"
|
||||
android:gravity="center_vertical|right"
|
||||
android:layout_weight="3"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
199
app/src/main/res/layout/fault/layout/item_equ_single_choice.xml
Normal file
199
app/src/main/res/layout/fault/layout/item_equ_single_choice.xml
Normal file
@ -0,0 +1,199 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/moudle_item_equ_single_choice_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:elevation="2dp"
|
||||
android:layout_margin="5dp"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/bg_layout_shape_factory">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_equ_single_choice_tv_name"
|
||||
android:textColor="@color/black"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingLeft="14dp"
|
||||
android:paddingRight="14dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:textSize="17sp"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_equ_single_choice_tv_equipmentLevel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="25dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/bg_layout_shape_pink"
|
||||
android:textColor="@color/red"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_equ_single_choice_tv_equipmentStatusManagement"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="25dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:background="@drawable/bg_layout_shape_green"
|
||||
android:textColor="@color/green06"
|
||||
android:gravity="center"/>
|
||||
</LinearLayout>
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.2dp"
|
||||
android:background="@color/gray02"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="9dp"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:text="设备编号"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/gray"
|
||||
android:gravity="center_vertical"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:id="@+id/moudle_item_equ_single_choice_tv_cardid"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/black"
|
||||
android:gravity="center_vertical"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="9dp"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:text="设备类型"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/gray"
|
||||
android:gravity="center_vertical"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_equ_single_choice_tv_equipmentclass"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/black"
|
||||
android:gravity="center_vertical"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="9dp"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:text="工艺位置"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/gray"
|
||||
android:gravity="center_vertical"/>
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:id="@+id/moudle_item_equ_single_choice_tv_ps"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/black"
|
||||
android:gravity="center_vertical"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="9dp"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:text="规格型号"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/gray"
|
||||
android:gravity="center_vertical"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_equ_single_choice_tv_equipmentmodel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:ellipsize="end"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/black"
|
||||
android:gravity="center_vertical"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="9dp"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1">
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:text="制造厂家"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/gray"
|
||||
android:gravity="center_vertical"/>
|
||||
<TextView
|
||||
android:id="@+id/moudle_item_equ_single_choice_tv_equipmentmanufacturer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:text="厂商暂未录入"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/black"
|
||||
android:gravity="center_vertical"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user