Первая
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:viewportHeight="108"
|
||||
android:viewportWidth="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:strokeColor="#00000000"
|
||||
android:strokeWidth="1">
|
||||
<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:strokeColor="#00000000"
|
||||
android:strokeWidth="1" />
|
||||
</vector>
|
||||
10
app/src/main/res/drawable/button.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Определение списка состояний -->
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Задаем элемент списка и описываем состояние при помощи атрибутов. -->
|
||||
<!-- android:drawable - позволяет указать на XML-файл, который определяет фигуру -->
|
||||
<!-- android:state_focused="true" - указывает использовать данное состояние, когда объект в фокусе -->
|
||||
<item android:drawable="@drawable/button_focused" android:state_focused="true"/>
|
||||
<item android:drawable="@drawable/button_presed" android:state_pressed="true"/>
|
||||
<item android:drawable="@drawable/button_normal"/>
|
||||
</selector>
|
||||
27
app/src/main/res/drawable/button_focused.xml
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Корневым элементом должен быть объект share (холс) -->
|
||||
<!-- android:shape - задает форму кнопки. В нашем случаем форма кнопки - прямоугольник -->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<stroke
|
||||
android:width="1px"
|
||||
android:color="#BB000000" />
|
||||
|
||||
<!-- Устанавливаем значение радиуса скругления для всех углов прямоугольника -->
|
||||
<corners android:radius="12px" />
|
||||
<!-- Задаем линейный градиент для заливки прямоугольника -->
|
||||
<gradient
|
||||
android:angle="90"
|
||||
android:endColor="@color/button_focused_color_end"
|
||||
android:startColor="@color/button_focused_color_start"
|
||||
android:type="linear" />
|
||||
<!-- Задаем отступы текста кнопки относительно краев прямоугольника -->
|
||||
<padding
|
||||
android:bottom="9px"
|
||||
android:left="6px"
|
||||
android:right="6px"
|
||||
android:top="9px" />
|
||||
|
||||
|
||||
</shape>
|
||||
49
app/src/main/res/drawable/button_normal.xml
Normal file
@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<stroke
|
||||
android:width="1px"
|
||||
android:color="#BB000000" />
|
||||
|
||||
<corners android:radius="12px" />
|
||||
|
||||
<gradient
|
||||
android:angle="90"
|
||||
android:endColor="@color/button_normal_color_end"
|
||||
android:startColor="@color/button_normal_color_start"
|
||||
android:type="linear" />
|
||||
|
||||
<padding
|
||||
android:bottom="9px"
|
||||
android:left="6px"
|
||||
android:right="6px"
|
||||
android:top="9px" />
|
||||
|
||||
<!--
|
||||
<solid android:color="#F000" />
|
||||
|
||||
<stroke
|
||||
android:width="1px"
|
||||
android:color="#BB000000" />
|
||||
|
||||
<padding
|
||||
android:bottom="7dp"
|
||||
android:left="10dp"
|
||||
android:right="10dp"
|
||||
android:top="7dp" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="5dp"
|
||||
android:bottomRightRadius="5dp"
|
||||
android:topLeftRadius="5dp"
|
||||
android:topRightRadius="5dp" />
|
||||
|
||||
<gradient
|
||||
android:angle="90"
|
||||
android:centerColor="#5b5bcd"
|
||||
android:endColor="#6f6fcf"
|
||||
android:startColor="#4747e0"
|
||||
android:type="linear" />
|
||||
-->
|
||||
</shape>
|
||||
27
app/src/main/res/drawable/button_presed.xml
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
|
||||
<stroke
|
||||
android:width="1px"
|
||||
android:color="#BB000000" />
|
||||
|
||||
<corners android:radius="12px" />
|
||||
|
||||
<gradient
|
||||
android:angle="270"
|
||||
android:endColor="@color/button_pressed_color_end"
|
||||
android:startColor="@color/button_pressed_color_start"
|
||||
android:type="linear" />
|
||||
|
||||
<padding
|
||||
android:bottom="9px"
|
||||
android:left="6px"
|
||||
android:right="6px"
|
||||
android:top="9px" />
|
||||
<!-- Толщина рамки прямоугольника -->
|
||||
<stroke
|
||||
android:width="2px"
|
||||
android:color="#52B10C" />
|
||||
|
||||
</shape>
|
||||
13
app/src/main/res/drawable/gradient_example.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item>
|
||||
<shape>
|
||||
<gradient
|
||||
android:type="linear"
|
||||
android:useLevel="true"
|
||||
android:angle="45.0"
|
||||
android:startColor="#fffc95"
|
||||
android:endColor="#ffffff" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
5
app/src/main/res/drawable/ic_camera.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<vector android:height="24dp" android:viewportHeight="31.999998"
|
||||
android:viewportWidth="31.999998" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#ffffff" android:pathData="M29.4296,7.2035L21.0928,7.2035L19.4094,4.3754C19.2447,4.0989 18.9467,3.9295 18.6249,3.9295l-5.2947,0c-0.3218,0 -0.6198,0.1694 -0.7844,0.4459L10.8624,7.2035L8.1267,7.2035l0,-0.6233c0,-0.5041 -0.4087,-0.9128 -0.9128,-0.9128L3.8362,5.6674c-0.5042,0 -0.9128,0.4087 -0.9128,0.9128l0,0.6233l-0.3976,0C1.2578,7.2035 0.2302,8.2313 0.2302,9.4989l0,16.6199c0,1.2678 1.0276,2.2955 2.2954,2.2955l26.904,0c1.2678,0 2.2955,-1.0277 2.2955,-2.2955L31.7251,9.4989C31.7252,8.2313 30.6973,7.2035 29.4296,7.2035ZM15.9776,24.3427c-3.6086,0 -6.5338,-2.9253 -6.5338,-6.5339 0,-3.6085 2.9253,-6.5338 6.5338,-6.5338 3.6086,0 6.5338,2.9254 6.5338,6.5338 0,3.6087 -2.9253,6.5339 -6.5338,6.5339zM27.9974,11.936l-2.8604,0c-0.5041,0 -0.9128,-0.4087 -0.9128,-0.913 0,-0.5042 0.4087,-0.913 0.9128,-0.913l2.8604,0c0.5043,0 0.913,0.4087 0.913,0.913 0,0.5042 -0.4087,0.913 -0.913,0.913z"/>
|
||||
<path android:fillColor="#ffffff" android:pathData="M15.9776,17.8088m-4.5646,0a4.5646,4.5646 0,1 1,9.1291 0a4.5646,4.5646 0,1 1,-9.1291 0"/>
|
||||
</vector>
|
||||
10
app/src/main/res/drawable/ic_clock.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="32"
|
||||
android:viewportHeight="32">
|
||||
<path
|
||||
android:pathData="M15.959,0.7593A15.1197,15.1197 0,1 1,5.2724 5.1874,15.0631 15.0631,0 0,1 15.959,0.7593ZM16.7364,14.334a1.7344,1.7344 0,0 1,0.7159 0.6741h2.4355a0.6667,0.6667 0,0 1,0.0836 -0.6593,0.6593 0.6593,0 0,1 0.9201,-0.1181l1.449,1.1193a0.6495,0.6495 0,0 1,0.246 0.5117v0,0.0148 0a0.6519,0.6519 0,0 1,-0.246 0.5142l-1.449,1.1169A0.6544,0.6544 0,0 1,19.8878 16.7498h-2.4379a1.7221,1.7221 0,1 1,-2.4601 -2.3002l0.0197,-3.331a0.6544,0.6544 0,0 1,-0.7626 -1.0111l1.1489,-1.4219a0.6568,0.6568 0,0 1,0.492 -0.246h0.0148a0.6519,0.6519 0,0 1,0.5412 0.2657l1.0849,1.4761a0.6544,0.6544 0,0 1,-0.77 0.9963zM22.1486,25.1436a0.738,0.738 0,0 1,-1.2596 0.738l-0.5437,-0.9398a0.738,0.738 0,0 1,1.2596 -0.738l0.5437,0.9422zM9.767,6.602A0.738,0.738 0,0 1,11.0266 5.8787L11.5702,6.8185A0.738,0.738 0,1 1,10.3107 7.5417ZM25.9544,20.8065a0.738,0.738 0,1 1,-0.7233 1.2596l-0.9398,-0.5437a0.738,0.738 0,0 1,0.7233 -1.2596zM5.9612,10.9416A0.738,0.738 0,1 1,6.6993 9.682L7.6415,10.2257A0.738,0.738 0,0 1,6.9035 11.4853ZM27.0835,15.1434a0.738,0.738 0,0 1,0 1.4588h-1.0874a0.738,0.738 0,0 1,0 -1.4588zM4.8345,16.6047a0.738,0.738 0,1 1,0 -1.4588h1.0874a0.738,0.738 0,0 1,0 1.4588zM25.2311,9.682a0.738,0.738 0,0 1,0.7233 1.2596l-0.9398,0.5437A0.738,0.738 0,0 1,24.2913 10.2257ZM6.687,22.0661A0.738,0.738 0,1 1,5.9637 20.8065l0.9398,-0.5437a0.738,0.738 0,0 1,0.7233 1.2596zM20.8915,5.8787a0.738,0.738 0,0 1,1.2596 0.7233L21.6074,7.5417A0.738,0.738 0,1 1,20.3478 6.8185ZM11.0266,25.8718A0.738,0.738 0,0 1,9.767 25.1338l0.5437,-0.9422a0.738,0.738 0,0 1,1.2596 0.738l-0.5437,0.9398zM15.2284,4.7495a0.738,0.738 0,0 1,1.4588 0v1.0874a0.738,0.738 0,0 1,-1.4588 0zM16.6872,26.9985a0.738,0.738 0,1 1,-1.4588 0L15.2284,25.9112a0.738,0.738 0,0 1,1.4588 0zM25.4451,6.3904a13.4099,13.4099 0,1 0,3.9361 9.4836,13.3755 13.3755,0 0,0 -3.9361,-9.4836z"
|
||||
android:strokeWidth="0.24600846"
|
||||
android:fillColor="#ffffff"/>
|
||||
</vector>
|
||||
12
app/src/main/res/drawable/ic_delete.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="32"
|
||||
android:viewportHeight="32">
|
||||
<path
|
||||
android:pathData="m7.231,30.6091c0,0.3724 0.3019,0.6742 0.6742,0.6742l17.1145,0c0.3724,0 0.6742,-0.3019 0.6742,-0.6742L25.694,8.7633L7.231,8.7633ZM20.2551,12.481l2.5284,0l0,14.6994l-2.5284,0zM15.1983,12.481l2.5284,0l0,14.6994l-2.5284,0zM10.1415,12.481l2.5284,0l0,14.6994l-2.5284,0z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M22.1455,4.0242L22.1455,1.6c0,-0.3724 -0.3019,-0.6742 -0.6742,-0.6742l-10.0175,0c-0.3724,0 -0.6742,0.3019 -0.6742,0.6742l0,2.4243 0,0.4214 0,0.4214L6.0666,4.867c-0.3724,0 -0.6742,0.3019 -0.6742,0.6742l0,1.705c0,0.3723 0.3019,0.6742 0.6742,0.6742l1.1644,0 18.463,0 1.1644,0c0.3724,0 0.6742,-0.3019 0.6742,-0.6742l0,-1.705c0,-0.3724 -0.3019,-0.6742 -0.6742,-0.6742L22.1455,4.867l0,-0.4214zM19.6171,4.7284L13.3079,4.7284L13.3079,4.4456 13.3079,4.0242 13.3079,3.4541l6.3092,0l0,0.5701 0,0.4214z"
|
||||
android:fillColor="#ffffff"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_exit.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="32"
|
||||
android:viewportHeight="32">
|
||||
<path
|
||||
android:pathData="m31.0136,15.0505c-0.0624,-0.1505 -0.1517,-0.2851 -0.2655,-0.3989l-3.6698,-3.6698c-0.4784,-0.4784 -1.2518,-0.4784 -1.7302,0 -0.4784,0.4784 -0.4784,1.2518 0,1.7302l1.5822,1.5822l-3.1644,0l0,-11.013C23.7658,2.6058 23.2188,2.0576 22.5421,2.0576L2.9635,2.0576C2.9194,2.0576 2.8802,2.076 2.8374,2.0809 2.7787,2.087 2.7273,2.0968 2.6711,2.1114 2.5438,2.1433 2.4276,2.1934 2.3198,2.262 2.2929,2.2791 2.2586,2.2803 2.2329,2.2999 2.2231,2.3073 2.2195,2.3208 2.2097,2.3281 2.0763,2.4333 1.965,2.5618 1.8842,2.7148c-0.0172,0.033 -0.0208,0.0685 -0.0342,0.1028 -0.0392,0.093 -0.082,0.1836 -0.0967,0.2863 -0.0061,0.0367 0.0049,0.071 0.0037,0.1065 -0.0012,0.0245 -0.0172,0.0465 -0.0172,0.071L1.7398,27.7547c0,0.5837 0.4124,1.0854 0.9838,1.1992l12.2367,2.4474c0.0796,0.0172 0.1603,0.0245 0.2398,0.0245 0.2802,0 0.5555,-0.0967 0.7758,-0.2778 0.2827,-0.2325 0.4479,-0.5788 0.4479,-0.9459L16.4238,28.9784L22.5421,28.9784c0.6767,0 1.2236,-0.5482 1.2236,-1.2236L23.7658,16.7417l3.1644,0l-1.5822,1.5822c-0.4784,0.4784 -0.4784,1.2518 0,1.7302 0.2386,0.2386 0.5519,0.3586 0.8652,0.3586 0.3133,0 0.6265,-0.1199 0.8652,-0.3586l3.6698,-3.6698c0.1138,-0.1138 0.2031,-0.2484 0.2655,-0.3989 0.1236,-0.2985 0.1236,-0.6362 0,-0.9348zM12.7161,20.71c-0.1395,0.5555 -0.6375,0.9263 -1.1857,0.9263 -0.0979,0 -0.1982,-0.011 -0.2974,-0.0367L8.7856,20.9877c-0.6559,-0.164 -1.0548,-0.8284 -0.8908,-1.4843 0.1627,-0.6546 0.8248,-1.0572 1.4831,-0.8896l2.4474,0.6119c0.6559,0.1639 1.0548,0.8284 0.8908,1.4843zM21.3185,26.531L16.4238,26.531L16.4238,6.9523c0,-0.5396 -0.3549,-1.0169 -0.8725,-1.1723L11.3015,4.505l10.017,0z"
|
||||
android:fillColor="#ffffff"/>
|
||||
</vector>
|
||||
7
app/src/main/res/drawable/ic_inspector.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<vector android:height="48dp" android:viewportHeight="128"
|
||||
android:viewportWidth="128" android:width="48dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#2d3e50"
|
||||
android:pathData="M64.002,3.367c-25.749,0 -43.05,14.759 -43.05,36.725 0,29.112 37.015,81.601 37.383,82.011a7.603,7.603 0,0 0,11.323 0.006c0.374,-0.416 37.389,-52.905 37.389,-82.017C107.048,18.125 89.749,3.367 64.002,3.367ZM64,74.739a28.296,28.296 0,1 1,28.296 -28.296A28.296,28.296 0,0 1,64 74.739Z"
|
||||
android:strokeColor="#ffc6ff" android:strokeWidth="3.8"/>
|
||||
<path android:fillColor="#2e79bd" android:pathData="M82.842,58.572c-0.155,0.246 -0.31,0.474 -0.474,0.711a22.399,22.399 0,0 1,-36.733 0.009c-0.173,-0.237 -0.337,-0.483 -0.483,-0.729 0.018,-0.128 0.036,-0.246 0.055,-0.365a4.036,4.036 0,0 1,2.161 -2.908c3.765,-1.878 12.007,-4.641 12.007,-4.641v-2.726l-0.228,-0.173a7.862,7.862 0,0 1,-2.99 -5.005l-0.046,-0.292h-0.219a3.025,3.025 0,0 1,-2.817 -1.887,3.275 3.275,0 0,1 -0.419,-1.614 3.137,3.137 0,0 1,0.21 -1.121,1.584 1.584,0 0,1 0.611,-0.985l0.766,-0.456 -0.182,-0.821c-1.34,-5.862 3.045,-11.141 9.062,-11.515a0.519,0.519 0,0 1,0.119 -0.009c0.1,-0.009 0.201,-0.018 0.301,-0.018h0.912c0.1,0 0.201,0.009 0.301,0.018a0.519,0.519 0,0 1,0.119 0.009c6.026,0.374 10.412,5.653 9.071,11.515l-0.191,0.821 0.766,0.456a1.545,1.545 0,0 1,0.611 0.985,3.146 3.146,0 0,1 0.219,1.121 3.375,3.375 0,0 1,-0.419 1.614,3.025 3.025,0 0,1 -2.817,1.887h-0.219l-0.055,0.292a7.811,7.811 0,0 1,-2.981 5.005l-0.228,0.173v2.726s8.242,2.762 11.998,4.641a4.013,4.013 0,0 1,2.161 2.908C82.805,58.316 82.824,58.444 82.842,58.572Z"/>
|
||||
</vector>
|
||||
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:viewportHeight="108"
|
||||
android:viewportWidth="108">
|
||||
<path
|
||||
android:fillColor="#26A69A"
|
||||
android:pathData="M0,0h108v108h-108z" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M9,0L9,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,0L19,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,0L29,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,0L39,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,0L49,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,0L59,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,0L69,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,0L79,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M89,0L89,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M99,0L99,108"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,9L108,9"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,19L108,19"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,29L108,29"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,39L108,39"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,49L108,49"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,59L108,59"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,69L108,69"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,79L108,79"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,89L108,89"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M0,99L108,99"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,29L89,29"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,39L89,39"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,49L89,49"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,59L89,59"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,69L89,69"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M19,79L89,79"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M29,19L29,89"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M39,19L39,89"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M49,19L49,89"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M59,19L59,89"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M69,19L69,89"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
<path
|
||||
android:fillColor="#00000000"
|
||||
android:pathData="M79,19L79,89"
|
||||
android:strokeColor="#33FFFFFF"
|
||||
android:strokeWidth="0.8" />
|
||||
</vector>
|
||||
159
app/src/main/res/drawable/ic_launcher_foreground.xml
Normal file
@ -0,0 +1,159 @@
|
||||
<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="785.3449"
|
||||
android:viewportHeight="785.3449">
|
||||
<group android:translateX="20.625214"
|
||||
android:translateY="-133.50864">
|
||||
<path
|
||||
android:pathData="m257.1,546.34c-3.28,15.34 -15.81,13.02 -26.88,5.45 -16.35,-14.29 -28.58,-39.03 -24.55,-55.27 3.14,-11.3 9.79,-23.69 30.36,-26.43 20.57,-2.74 27.38,3.48 47.32,16.79 75.83,-9.19 113.49,-5.37 159.82,3.04 46.33,8.41 98.43,18.37 138.21,53.93 -45.64,27.9 -95.41,34.09 -148.57,32.86 -53.16,-1.23 -93.35,-10.59 -130.71,-13.93 -25.58,8.98 -40,13.52 -59.29,20.54 -16.02,21.8 -41.43,21.07 -41.43,21.07"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00f700"
|
||||
android:strokeColor="#00f500"
|
||||
android:fillAlpha="1"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="m182.96,573.68c23.86,-0.63 34.35,-6.44 47.22,-21.21"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00f700"
|
||||
android:strokeColor="#00f500"
|
||||
android:fillAlpha="1"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="m177.85,405.55c25.32,22.16 42.3,41.73 53.6,65.6"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00f700"
|
||||
android:strokeColor="#00f500"
|
||||
android:fillAlpha="1"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="M234.67,498.86a6.94,4.92 90,1 0,9.85 0a6.94,4.92 90,1 0,-9.85 0z"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeWidth="8.98230648"
|
||||
android:fillColor="#00f700"
|
||||
android:strokeColor="#00f500"
|
||||
android:fillAlpha="1"/>
|
||||
<path
|
||||
android:pathData="m339.68,567.15c-9.47,6.94 -21.99,14.23 -30.45,21.18 20.2,14.35 8.08,26.64 -8.08,36.62"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00f700"
|
||||
android:strokeColor="#00f500"
|
||||
android:fillAlpha="1"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="m379.95,542.77c41.97,-39.14 93.07,-64.18 120.71,-72.86 5.56,41.41 7.25,105.83 6.07,136.07 -12.92,-7.77 -25.36,12.14 -39.82,13.93"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00f700"
|
||||
android:strokeColor="#00f500"
|
||||
android:fillAlpha="1"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="m410.27,485.23c19.01,-13.97 37.12,-21.06 50.02,-25.87 4.2,5.02 10.53,15.82 12.94,21.05"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00f700"
|
||||
android:strokeColor="#00f500"
|
||||
android:fillAlpha="1"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="m441.92,552.95c46.54,5.13 102.5,9.02 134.29,-5.98"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00f700"
|
||||
android:strokeColor="#00f500"
|
||||
android:fillAlpha="1"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="m513.7,571.16c10.54,10.18 23.11,27.08 30.89,38.21 11.43,-2.32 20.54,1.61 24.64,7.68"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00f700"
|
||||
android:strokeColor="#00f500"
|
||||
android:fillAlpha="1"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="m257.1,546.34c-3.28,15.34 -15.81,13.02 -26.88,5.45 -16.35,-14.29 -28.58,-39.03 -24.55,-55.27 3.14,-11.3 9.79,-23.69 30.36,-26.43 20.57,-2.74 27.38,3.48 47.32,16.79 75.83,-9.19 113.49,-5.37 159.82,3.04 46.33,8.41 98.43,18.37 138.21,53.93 -45.64,27.9 -95.41,34.09 -148.57,32.86 -53.16,-1.23 -93.35,-10.59 -130.71,-13.93 -25.58,8.98 -40,13.52 -59.29,20.54 -16.02,21.8 -41.43,21.07 -41.43,21.07"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="m182.96,573.68c23.86,-0.63 34.35,-6.44 47.22,-21.21"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="m177.85,405.55c25.32,22.16 42.3,41.73 53.6,65.6"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M234.67,498.86a6.94,4.92 90,1 0,9.85 0a6.94,4.92 90,1 0,-9.85 0z"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeWidth="8.98230648"
|
||||
android:strokeColor="#000000"/>
|
||||
<path
|
||||
android:pathData="m339.68,567.15c-9.47,6.94 -21.99,14.23 -30.45,21.18 20.2,14.35 8.08,26.64 -8.08,36.62"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="m379.95,542.77c41.97,-39.14 93.07,-64.18 120.71,-72.86 5.56,41.41 7.25,105.83 6.07,136.07 -12.92,-7.77 -25.36,12.14 -39.82,13.93"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="m410.27,485.23c19.01,-13.97 37.12,-21.06 50.02,-25.87 4.2,5.02 10.53,15.82 12.94,21.05"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="m441.92,552.95c46.54,5.13 102.5,9.02 134.29,-5.98"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"
|
||||
android:strokeLineCap="butt"/>
|
||||
<path
|
||||
android:pathData="m513.7,571.16c10.54,10.18 23.11,27.08 30.89,38.21 11.43,-2.32 20.54,1.61 24.64,7.68"
|
||||
android:strokeAlpha="1"
|
||||
android:strokeLineJoin="miter"
|
||||
android:strokeWidth="10"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000000"
|
||||
android:strokeLineCap="butt"/>
|
||||
</group>
|
||||
</vector>
|
||||
14
app/src/main/res/drawable/ic_location.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="32"
|
||||
android:viewportHeight="32">
|
||||
<path
|
||||
android:pathData="M16.1186,15.8814m-5.6475,0a5.6475,5.6475 0,1 1,11.2949 0a5.6475,5.6475 0,1 1,-11.2949 0"
|
||||
android:strokeWidth="1.4118644"
|
||||
android:fillColor="#fffffd"/>
|
||||
<path
|
||||
android:pathData="M17.5305,4.6839V1.7627H14.7068V4.6839C9.6085,5.3234 5.5621,9.3712 4.9211,14.4695H2v2.8237h2.9211c0.641,5.0982 4.686,9.1461 9.7856,9.7856V30h2.8237v-2.9211c5.0982,-0.6396 9.1461,-4.686 9.7856,-9.7856h2.9211V14.4695H27.3161C26.6766,9.3712 22.6288,5.3234 17.5305,4.6839ZM16.1186,24.3525c-4.6719,0 -8.4712,-3.7993 -8.4712,-8.4712 0,-4.6719 3.7993,-8.4712 8.4712,-8.4712 4.6719,0 8.4712,3.7993 8.4712,8.4712 0,4.6719 -3.7993,8.4712 -8.4712,8.4712z"
|
||||
android:strokeWidth="1.4118644"
|
||||
android:fillColor="#fffffd"/>
|
||||
</vector>
|
||||
10
app/src/main/res/drawable/ic_map.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="32"
|
||||
android:viewportHeight="32">
|
||||
<path
|
||||
android:pathData="m24.9492,4.6447c-2.4773,0 -4.485,2.0078 -4.485,4.485 0,0.6693 0.1472,1.3052 0.41,1.8746l4.075,7.9924 4.0751,-7.9925c0.2628,-0.5694 0.4099,-1.2053 0.4099,-1.8746 0,-2.4772 -2.0077,-4.485 -4.485,-4.485zM24.9492,11.8207c-1.4857,0 -2.691,-1.2053 -2.691,-2.691 0,-1.4857 1.2053,-2.691 2.691,-2.691 1.4857,0 2.691,1.2053 2.691,2.691 0,1.4857 -1.2053,2.691 -2.691,2.691zM26.2912,20.3124 L27.924,23.5763 23.7841,25.6454 22.3966,18.7041 22.6296,18.4711 22.6541,18.4465 21.7992,16.7647 21.3611,17.2027 15.9791,13.6147 10.5971,17.2027 7.0091,13.6147 1.6271,24.3787 8.8031,27.9667 15.9791,24.3787 23.1552,27.9667 30.3312,24.3787 27.3038,18.3257zM8.1724,25.6454 L4.0343,23.5763 7.4997,16.6421l1.829,1.829 0.233,0.233zM15.0821,22.8212 L10.0645,25.33 11.361,18.8495 11.5922,18.6953 15.0821,16.3687zM16.8761,22.8212v-6.4525l3.4899,2.3266 0.2295,0.1542 1.2964,6.4805z"
|
||||
android:strokeWidth="0.05606258"
|
||||
android:fillColor="#ffffff"/>
|
||||
</vector>
|
||||
12
app/src/main/res/drawable/ic_photo.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="32"
|
||||
android:viewportHeight="32">
|
||||
<path
|
||||
android:pathData="M29.7165,4.6196L2.3364,4.6196C1.2564,4.6196 0.3807,5.4952 0.3807,6.5753l0,19.5572c0,1.08 0.8757,1.9557 1.9557,1.9557l27.3801,0c1.08,0 1.9557,-0.8757 1.9557,-1.9557L31.6723,6.5753C31.6723,5.4952 30.7966,4.6196 29.7165,4.6196ZM27.7608,8.531L27.7608,20.1665L22.6576,13.7875c-0.1824,-0.2282 -0.4574,-0.3629 -0.7497,-0.3672 -0.2903,-0.0062 -0.5711,0.1217 -0.7592,0.3448l-5.4088,6.3633 -2.989,-2.5611c-0.3457,-0.2956 -0.848,-0.3146 -1.2147,-0.0463L4.2921,22.8335L4.2921,8.531Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M10.1593,12.4425m-1.9557,0a1.9557,1.9557 0,1 1,3.9114 0a1.9557,1.9557 0,1 1,-3.9114 0"
|
||||
android:fillColor="#ffffff"/>
|
||||
</vector>
|
||||
21
app/src/main/res/drawable/ic_save.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="32"
|
||||
android:viewportHeight="32">
|
||||
<path
|
||||
android:pathData="M18.0222,4.6525l3.5593,0l0,5.9322l-3.5593,0z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M25.3865,1.6864L2.0053,1.6864l0,29.0678l28.4746,0L30.4799,6.7798ZM7.9375,2.8729l15.4237,0l0,9.4915l-15.4237,0zM25.1409,29.5678L6.7511,29.5678L6.7511,17.1102l18.3898,0z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="m9.7172,20.6695l4.1525,0c0.3281,0 0.5932,-0.2652 0.5932,-0.5932 0,-0.3281 -0.2652,-0.5932 -0.5932,-0.5932l-4.1525,0c-0.3281,0 -0.5932,0.2652 -0.5932,0.5932 0,0.3281 0.2652,0.5932 0.5932,0.5932z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="m9.7172,23.0424l5.9322,0c0.3281,0 0.5932,-0.2652 0.5932,-0.5932 0,-0.3281 -0.2652,-0.5932 -0.5932,-0.5932l-5.9322,0c-0.3281,0 -0.5932,0.2652 -0.5932,0.5932 0,0.3281 0.2652,0.5932 0.5932,0.5932z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="m17.429,23.0424c0.1602,0 0.3085,-0.0653 0.4212,-0.172 0.1068,-0.1127 0.172,-0.2669 0.172,-0.4212 0,-0.1542 -0.0653,-0.3091 -0.172,-0.4212 -0.2195,-0.2195 -0.6169,-0.2195 -0.8364,0 -0.1127,0.1121 -0.178,0.2604 -0.178,0.4212 0,0.1602 0.0647,0.3085 0.172,0.4212 0.1121,0.1068 0.2604,0.172 0.4212,0.172z"
|
||||
android:fillColor="#ffffff"/>
|
||||
</vector>
|
||||
10
app/src/main/res/drawable/ic_star.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="10dp"
|
||||
android:height="10dp"
|
||||
android:viewportWidth="10"
|
||||
android:viewportHeight="10">
|
||||
<path
|
||||
android:pathData="M9.8912,3.5877A0.4107,0.4107 0,0 0,9.5117 3.3341H6.5107L5.3789,0.3149a0.4107,0.4107 0,0 0,-0.7692 0L3.4769,3.3341H0.4757A0.4107,0.4107 0,0 0,0.1854 4.0353L2.4853,6.3353 1.7208,9.3953A0.4109,0.4109 0,0 0,2.3575 9.8289L4.9938,7.9461 7.6301,9.8289A0.4109,0.4109 0,0 0,8.2668 9.3953L7.5023,6.3353 9.8022,4.0353a0.4107,0.4107 0,0 0,0.089 -0.4476z"
|
||||
android:strokeWidth="0.01925288"
|
||||
android:fillColor="#a60000"/>
|
||||
</vector>
|
||||
11
app/src/main/res/drawable/spacer_medium.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<size
|
||||
android:width="@dimen/spacing_medium"
|
||||
android:height="@dimen/spacing_medium" />
|
||||
|
||||
<solid android:color="@android:color/transparent" />
|
||||
|
||||
</shape>
|
||||
BIN
app/src/main/res/drawable/splash.png
Normal file
|
After Width: | Height: | Size: 228 KiB |
1887
app/src/main/res/layout-land/activity_locust.xml
Normal file
2530
app/src/main/res/layout-land/activity_locust_del.xml
Normal file
83
app/src/main/res/layout-land/list_lat_lon.xml
Normal file
@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout 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="wrap_content">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:baselineAligned="false"
|
||||
android:divider="@drawable/spacer_medium"
|
||||
android:showDividers="middle"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
>
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
app:boxBackgroundColor="@color/transparent"
|
||||
android:background="@color/transparent">
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/edtLat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/transparent"
|
||||
android:enabled="false"
|
||||
android:hint="@string/Lat"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"/>
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
app:boxBackgroundColor="@color/transparent"
|
||||
android:background="@color/transparent">
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/edtLon"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/transparent"
|
||||
android:enabled="false"
|
||||
android:hint="@string/Lon"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btnGetGPS"
|
||||
style="@style/Widget.MaterialComponents.Button.Icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:icon="@drawable/ic_location"
|
||||
app:iconSize="24dp"
|
||||
android:minWidth="40dp"
|
||||
app:iconPadding="0dp"
|
||||
android:insetLeft="0dp"
|
||||
android:insetTop="0dp"
|
||||
android:insetRight="0dp"
|
||||
android:insetBottom="0dp"
|
||||
app:iconGravity="textStart"
|
||||
/>
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btnDelGPS"
|
||||
style="@style/Widget.MaterialComponents.Button.Icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:icon="@drawable/ic_delete"
|
||||
app:iconSize="24dp"
|
||||
android:minWidth="40dp"
|
||||
app:iconPadding="0dp"
|
||||
android:insetLeft="0dp"
|
||||
android:insetTop="0dp"
|
||||
android:insetRight="0dp"
|
||||
android:insetBottom="0dp"
|
||||
app:iconGravity="textStart"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
1897
app/src/main/res/layout-large/activity_locust.xml
Normal file
2354
app/src/main/res/layout-large/activity_locust_del.xml
Normal file
78
app/src/main/res/layout-large/list_lat_lon.xml
Normal file
@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout 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="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:divider="@drawable/spacer_medium"
|
||||
android:showDividers="middle">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvLat"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/Lat"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/edtLat"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:ems="10"
|
||||
android:enabled="false"
|
||||
android:inputType="numberDecimal" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvLon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/Lon"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/edtLon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:ems="10"
|
||||
android:enabled="false"
|
||||
android:inputType="numberDecimal" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btnGetGPS"
|
||||
style="@style/Widget.MaterialComponents.Button.Icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:insetLeft="0dp"
|
||||
android:insetTop="0dp"
|
||||
android:insetRight="0dp"
|
||||
android:insetBottom="0dp"
|
||||
android:minWidth="40dp"
|
||||
app:icon="@drawable/ic_location"
|
||||
app:iconGravity="textStart"
|
||||
app:iconPadding="0dp"
|
||||
app:iconSize="24dp" />
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btnDelGPS"
|
||||
style="@style/Widget.MaterialComponents.Button.Icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:insetLeft="0dp"
|
||||
android:insetTop="0dp"
|
||||
android:insetRight="0dp"
|
||||
android:insetBottom="0dp"
|
||||
android:minWidth="40dp"
|
||||
app:icon="@drawable/ic_delete"
|
||||
app:iconGravity="textStart"
|
||||
app:iconPadding="0dp"
|
||||
app:iconSize="24dp" />
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
17
app/src/main/res/layout/activity_image_pick.xml
Normal file
@ -0,0 +1,17 @@
|
||||
<RelativeLayout 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:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:background="@drawable/gradient_example"
|
||||
tools:context=".ImagePickActivity" >
|
||||
|
||||
<!--TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/hello_world" /-->
|
||||
|
||||
</RelativeLayout>
|
||||
1883
app/src/main/res/layout/activity_locust.xml
Normal file
2521
app/src/main/res/layout/activity_locust_del.xml
Normal file
59
app/src/main/res/layout/activity_locust_del_list.xml
Normal file
@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout 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="@drawable/gradient_example"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context=".LocustDelListActivity" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/linearLayout1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/spiList"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/scrollView1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llList"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
<Button
|
||||
android:id="@+id/button1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/star" />
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/btnAdd"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_margin="@dimen/fab_margin"
|
||||
app:backgroundTint="@color/button_normal_color_start"
|
||||
app:srcCompat="@android:drawable/ic_input_add"
|
||||
app:tint="@android:color/white"
|
||||
/>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
59
app/src/main/res/layout/activity_locust_list.xml
Normal file
@ -0,0 +1,59 @@
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout 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="@drawable/gradient_example"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context=".LocustListActivity" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/linearLayout1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/spiList"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/scrollView1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llList"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/button1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/star" />
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/btnAdd"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_margin="@dimen/fab_margin"
|
||||
app:backgroundTint="@color/button_normal_color_start"
|
||||
app:srcCompat="@android:drawable/ic_input_add"
|
||||
app:tint="@android:color/white"
|
||||
/>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
178
app/src/main/res/layout/activity_main.xml
Normal file
@ -0,0 +1,178 @@
|
||||
<RelativeLayout 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:padding="10dp"
|
||||
android:background="@drawable/gradient_example"
|
||||
tools:context=".MainActivity" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/pBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
|
||||
android:orientation="vertical">
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvProgressInfo"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:gravity="center"
|
||||
android:text="Synchronize directories through the Internet!"
|
||||
android:textAlignment="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/progress"
|
||||
style="?android:attr/progressBarStyleLarge"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="8dp"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvCountTasks"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/action_synchronize"
|
||||
android:textAlignment="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/form"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:visibility="gone"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:gravity="center"
|
||||
android:text="@string/Fields_marked_are_mandatory"
|
||||
android:textAlignment="center"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnLocust"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="62dp"
|
||||
android:layout_marginLeft="62dp"
|
||||
android:layout_marginRight="62dp"
|
||||
android:minHeight="70dp"
|
||||
android:text="@string/title_activity_locust"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnLocustDel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="62dp"
|
||||
android:layout_marginRight="62dp"
|
||||
android:minHeight="70dp"
|
||||
android:text="@string/title_activity_locust_del"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnSetup"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="52dp"
|
||||
android:layout_marginLeft="62dp"
|
||||
android:layout_marginRight="62dp"
|
||||
android:minHeight="70dp"
|
||||
android:text="@string/title_activity_setup"/>
|
||||
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignRight="@+id/textView1"
|
||||
android:layout_marginBottom="46dp">
|
||||
|
||||
<Space
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvV"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Version: "
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvVersion"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/textView1"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignRight="@+id/textView1"
|
||||
android:layout_marginBottom="16dp">
|
||||
|
||||
<Space
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvID"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/Application_ID"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvAndroidID"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
9
app/src/main/res/layout/activity_maps.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:map="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/map"
|
||||
android:name="com.google.android.gms.maps.SupportMapFragment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".MapsActivity" />
|
||||
102
app/src/main/res/layout/activity_scan.xml
Normal file
@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout 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="@drawable/gradient_example"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context=".LocustDelListActivity" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/linearLayout1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<!--?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout 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:background="@drawable/gradient_example"
|
||||
android:padding="@dimen/activity_horizontal_margin"-->
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvUpdate"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:textAlignment="center"
|
||||
android:text="@string/Please_update_your_phone_tablet"
|
||||
android:textStyle="bold"
|
||||
android:textSize="@dimen/font_size"/>
|
||||
|
||||
<Space
|
||||
android:id="@+id/sUpdate"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp" />
|
||||
|
||||
<SurfaceView
|
||||
android:id="@+id/surfaceView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_centerVertical="true" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/Country"
|
||||
android:textStyle="bold"
|
||||
android:textSize="@dimen/font_size"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvCountry"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textSize="@dimen/font_size"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/Organization"
|
||||
android:textStyle="bold"
|
||||
android:textSize="@dimen/font_size"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvOrganization"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textSize="@dimen/font_size"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/Responsible_person_inspector"
|
||||
android:textStyle="bold"
|
||||
android:textSize="@dimen/font_size"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvName"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textSize="@dimen/font_size"/>
|
||||
</LinearLayout>
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/btnOpen"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_margin="@dimen/fab_margin"
|
||||
app:backgroundTint="@color/button_normal_color_start"
|
||||
app:srcCompat="@android:drawable/ic_menu_gallery"
|
||||
app:tint="@android:color/white"
|
||||
/>
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
225
app/src/main/res/layout/activity_setup.xml
Normal file
@ -0,0 +1,225 @@
|
||||
<RelativeLayout 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:background="@drawable/gradient_example"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:configChanges = "orientation|keyboard"
|
||||
tools:context=".SetupActivity" >
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/scrollView1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignLeft="@+id/scrollView1"
|
||||
android:layout_below="@+id/scrollView1"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnSynchronization"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:minHeight="40dp"
|
||||
android:minWidth="120dp"
|
||||
android:text="@string/action_synchronize" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSynchronization"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/action_synchronize"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/To_change_the_language_you_need_to_restart_the_application"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
<TableLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TableRow
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<Button
|
||||
android:id="@+id/btnAz"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:minWidth="190dp"
|
||||
android:minHeight="40dp"
|
||||
android:layout_margin="2dp"
|
||||
android:text="@string/Azerbaijani" />
|
||||
<Button
|
||||
android:id="@+id/btnAr"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:minWidth="190dp"
|
||||
android:minHeight="40dp"
|
||||
android:layout_margin="2dp"
|
||||
android:text="@string/Armenia" />
|
||||
</TableRow>
|
||||
<TableRow
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<Button
|
||||
android:id="@+id/btnEn"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:minWidth="190dp"
|
||||
android:minHeight="40dp"
|
||||
android:layout_margin="2dp"
|
||||
android:text="@string/English" />
|
||||
<Button
|
||||
android:id="@+id/btnGr"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:minWidth="190dp"
|
||||
android:minHeight="40dp"
|
||||
android:layout_margin="2dp"
|
||||
android:text="@string/Georgian" />
|
||||
</TableRow>
|
||||
<TableRow
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<Button
|
||||
android:id="@+id/btnKz"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:minWidth="190dp"
|
||||
android:minHeight="40dp"
|
||||
android:layout_margin="2dp"
|
||||
android:text="@string/Kazakh" />
|
||||
<Button
|
||||
android:id="@+id/btnKg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:minWidth="190dp"
|
||||
android:minHeight="40dp"
|
||||
android:layout_margin="2dp"
|
||||
android:text="@string/Kyrgyz" />
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<Button
|
||||
android:id="@+id/btnDr"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:minWidth="190dp"
|
||||
android:minHeight="40dp"
|
||||
android:layout_margin="2dp"
|
||||
android:text="@string/Afghan" />
|
||||
<Button
|
||||
android:id="@+id/btnRu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:minWidth="190dp"
|
||||
android:minHeight="40dp"
|
||||
android:layout_margin="2dp"
|
||||
android:text="@string/Russian" />
|
||||
</TableRow>
|
||||
<TableRow
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<Button
|
||||
android:id="@+id/btnTj"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:minWidth="190dp"
|
||||
android:minHeight="40dp"
|
||||
android:layout_margin="2dp"
|
||||
android:text="@string/Tajik" />
|
||||
<Button
|
||||
android:id="@+id/btnTm"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:minWidth="190dp"
|
||||
android:minHeight="40dp"
|
||||
android:layout_margin="2dp"
|
||||
android:text="@string/Turkman" />
|
||||
</TableRow>
|
||||
</TableLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.05"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnUz"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:minWidth="190dp"
|
||||
android:minHeight="40dp"
|
||||
android:layout_margin="2dp"
|
||||
android:text="@string/Uzbek" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:minHeight="10dp"
|
||||
android:minWidth="10dp" />
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/cbIdentifyCountryRegion"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/Identify_country_region" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="0.05"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnQR"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:minWidth="190dp"
|
||||
android:minHeight="40dp"
|
||||
android:layout_margin="2dp"
|
||||
android:text="@string/Authorize_the_tablet_by_QR_code" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
</RelativeLayout>
|
||||
18
app/src/main/res/layout/dropdown_item.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<TextView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="14dp"
|
||||
android:text="TextView"
|
||||
android:textSize="16sp"
|
||||
android:textColor="#000000"
|
||||
/>
|
||||
|
||||
<!--androidx.constraintlayout.widget.ConstraintLayout
|
||||
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">
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout-->
|
||||
93
app/src/main/res/layout/list_lat_lon.xml
Normal file
@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout 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="wrap_content">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:baselineAligned="false"
|
||||
android:divider="@drawable/spacer_medium"
|
||||
android:showDividers="middle">
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
app:boxBackgroundColor="@color/transparent">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/edtLat"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/transparent"
|
||||
android:enabled="false"
|
||||
android:hint="@string/Lat"
|
||||
android:inputType="numberDecimal"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
app:boxBackgroundColor="@color/transparent">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/edtLon"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/transparent"
|
||||
android:enabled="false"
|
||||
android:hint="@string/Lon"
|
||||
android:inputType="numberDecimal"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btnGetGPS"
|
||||
style="@style/Widget.MaterialComponents.Button.Icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:insetLeft="0dp"
|
||||
android:insetTop="0dp"
|
||||
android:insetRight="0dp"
|
||||
android:insetBottom="0dp"
|
||||
android:minWidth="40dp"
|
||||
app:icon="@drawable/ic_location"
|
||||
app:iconGravity="textStart"
|
||||
app:iconPadding="0dp"
|
||||
app:iconSize="24dp" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btnDelGPS"
|
||||
style="@style/Widget.MaterialComponents.Button.Icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:insetLeft="0dp"
|
||||
android:insetTop="0dp"
|
||||
android:insetRight="0dp"
|
||||
android:insetBottom="0dp"
|
||||
android:minWidth="40dp"
|
||||
app:icon="@drawable/ic_delete"
|
||||
app:iconGravity="textStart"
|
||||
app:iconPadding="0dp"
|
||||
app:iconSize="24dp" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
14
app/src/main/res/layout/splash.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?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="fill_parent"
|
||||
android:orientation="vertical"
|
||||
android:background="#000000" >
|
||||
|
||||
<ImageView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@drawable/splash" />
|
||||
|
||||
</LinearLayout>
|
||||
9
app/src/main/res/menu/geo_map.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_settings"/>
|
||||
|
||||
</menu>
|
||||
9
app/src/main/res/menu/image_pick.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_settings"/>
|
||||
|
||||
</menu>
|
||||
15
app/src/main/res/menu/locust.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<!-- item
|
||||
android:id="@+id/itemFoto"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_foto"/-->
|
||||
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_settings"/>
|
||||
|
||||
</menu>
|
||||
9
app/src/main/res/menu/locust_del.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_settings"/>
|
||||
|
||||
</menu>
|
||||
21
app/src/main/res/menu/locust_del_list.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:id="@+id/itemCreate"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_add"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/itemDelete"
|
||||
android:orderInCategory="101"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_delete"/>
|
||||
|
||||
<!-- item
|
||||
android:id="@+id/itemExport"
|
||||
android:orderInCategory="101"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_export"/-->
|
||||
|
||||
</menu>
|
||||
21
app/src/main/res/menu/locust_list.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:id="@+id/itemCreate"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_add"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/itemDelete"
|
||||
android:orderInCategory="101"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_delete"/>
|
||||
|
||||
<!--item
|
||||
android:id="@+id/itemExport"
|
||||
android:orderInCategory="102"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_export"/-->
|
||||
|
||||
</menu>
|
||||
9
app/src/main/res/menu/login.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:id="@+id/itemSettings"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_settings"/>
|
||||
|
||||
</menu>
|
||||
9
app/src/main/res/menu/main.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:id="@+id/itemSettings"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_settings"/>
|
||||
|
||||
</menu>
|
||||
9
app/src/main/res/menu/setup.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_settings"/>
|
||||
|
||||
</menu>
|
||||
5
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
||||
5
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/ic_launcher_background"/>
|
||||
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||
</adaptive-icon>
|
||||
BIN
app/src/main/res/mipmap-hdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 5.9 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 5.4 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 9.3 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
Normal file
|
After Width: | Height: | Size: 38 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Normal file
|
After Width: | Height: | Size: 27 KiB |