main
parent
d82be8bc75
commit
f4314a8c30
28 changed files with 32221 additions and 58 deletions
@ -0,0 +1,28 @@ |
||||
package com.project.survey.util; |
||||
|
||||
import android.graphics.drawable.Drawable; |
||||
|
||||
import androidx.annotation.ColorRes; |
||||
import androidx.annotation.DrawableRes; |
||||
import androidx.annotation.StringRes; |
||||
import androidx.core.content.ContextCompat; |
||||
|
||||
import blankj.utilcode.util.Utils; |
||||
|
||||
public class Tools { |
||||
public static int getColor(@ColorRes int color) { |
||||
return ContextCompat.getColor(Utils.getApp(), color); |
||||
} |
||||
|
||||
public static Drawable getDrawable(@DrawableRes int res) { |
||||
return ContextCompat.getDrawable(Utils.getApp(), res); |
||||
} |
||||
|
||||
public static String getString(@StringRes int res) { |
||||
return Utils.getApp().getString(res); |
||||
} |
||||
|
||||
public static String getString(@StringRes int res, Object... formatArgs) { |
||||
return Utils.getApp().getString(res, formatArgs); |
||||
} |
||||
} |
@ -0,0 +1,5 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:shape="oval"> |
||||
<solid android:color="@color/red" /> |
||||
</shape> |
@ -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:endColor="#f8f8f8" |
||||
android:startColor="#1555d6" /> |
||||
</shape> |
@ -0,0 +1,9 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:shape="rectangle"> |
||||
|
||||
<corners android:radius="@dimen/sw_8dp" /> |
||||
|
||||
<solid android:color="@color/white" /> |
||||
|
||||
</shape> |
@ -0,0 +1,45 @@ |
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:aapt="http://schemas.android.com/aapt" |
||||
android:width="44dp" |
||||
android:height="44dp" |
||||
android:viewportWidth="44" |
||||
android:viewportHeight="44"> |
||||
<path |
||||
android:pathData="M16,0L28,0A16,16 0,0 1,44 16L44,28A16,16 0,0 1,28 44L16,44A16,16 0,0 1,0 28L0,16A16,16 0,0 1,16 0z" |
||||
android:fillColor="#DBDBDB" |
||||
android:fillAlpha="0"/> |
||||
<path |
||||
android:pathData="M19.629,3.579C20.967,2.807 22.615,2.807 23.953,3.579L36.753,10.969C38.092,11.741 38.916,13.169 38.916,14.714L38.916,29.494C38.916,31.039 38.092,32.467 36.754,33.24L23.953,40.629C22.615,41.402 20.967,41.402 19.629,40.629L6.829,33.24C5.491,32.467 4.667,31.039 4.667,29.494L4.667,14.714C4.667,13.169 5.491,11.741 6.829,10.969L19.629,3.579Z"> |
||||
<aapt:attr name="android:fillColor"> |
||||
<gradient |
||||
android:startX="7.389" |
||||
android:startY="4.65" |
||||
android:endX="33.519" |
||||
android:endY="38.927" |
||||
android:type="linear"> |
||||
<item android:offset="0" android:color="#FF308AF4"/> |
||||
<item android:offset="1" android:color="#FF003BF4"/> |
||||
</gradient> |
||||
</aapt:attr> |
||||
</path> |
||||
<path |
||||
android:pathData="M28.241,25.588L26.562,25.588L28.241,30.292L15.765,30.292L17.311,25.588L15.765,25.588L13.667,31.859L30.323,31.859L28.241,25.588ZM21.995,12C18.257,12 15.228,15.042 15.228,18.794Q15.228,22.545 21.995,29.246Q28.778,22.536 28.778,18.794C28.778,16.989 28.063,15.259 26.79,13.984C25.52,12.71 23.794,11.996 21.995,12ZM21.995,21.407C20.73,21.406 19.59,20.642 19.109,19.472C18.626,18.3 18.893,16.953 19.787,16.054C20.678,15.158 22.023,14.889 23.19,15.375C24.359,15.863 25.119,17.005 25.118,18.272C25.118,20.003 23.719,21.407 21.995,21.407Z"> |
||||
<aapt:attr name="android:fillColor"> |
||||
<gradient |
||||
android:startX="16.973" |
||||
android:startY="13.325" |
||||
android:endX="24.018" |
||||
android:endY="26.84" |
||||
android:type="linear"> |
||||
<item android:offset="0" android:color="#FF4AEAF4"/> |
||||
<item android:offset="1" android:color="#FF10C8F2"/> |
||||
</gradient> |
||||
</aapt:attr> |
||||
</path> |
||||
<path |
||||
android:pathData="M28.241,25.588L26.562,25.588L28.241,30.292L15.765,30.292L17.311,25.588L15.765,25.588L13.667,31.859L30.323,31.859L28.241,25.588Z" |
||||
android:fillColor="#FFFFFF"/> |
||||
<path |
||||
android:pathData="M31,30h10v10h-10z" |
||||
android:fillColor="#FFFFFF"/> |
||||
</vector> |
@ -0,0 +1,42 @@ |
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:aapt="http://schemas.android.com/aapt" |
||||
android:width="44dp" |
||||
android:height="44dp" |
||||
android:viewportWidth="44" |
||||
android:viewportHeight="44"> |
||||
<path |
||||
android:pathData="M16,0L28,0A16,16 0,0 1,44 16L44,28A16,16 0,0 1,28 44L16,44A16,16 0,0 1,0 28L0,16A16,16 0,0 1,16 0z" |
||||
android:fillColor="#DBDBDB" |
||||
android:fillAlpha="0"/> |
||||
<path |
||||
android:pathData="M19.629,3.579C20.967,2.807 22.615,2.807 23.953,3.579L36.753,10.969C38.092,11.741 38.916,13.169 38.916,14.714L38.916,29.494C38.916,31.039 38.092,32.467 36.754,33.24L23.953,40.629C22.615,41.402 20.967,41.402 19.629,40.629L6.829,33.24C5.491,32.467 4.667,31.039 4.667,29.494L4.667,14.714C4.667,13.169 5.491,11.741 6.829,10.969L19.629,3.579Z"> |
||||
<aapt:attr name="android:fillColor"> |
||||
<gradient |
||||
android:startX="7.389" |
||||
android:startY="4.65" |
||||
android:endX="33.519" |
||||
android:endY="38.927" |
||||
android:type="linear"> |
||||
<item android:offset="0" android:color="#FF308AF4"/> |
||||
<item android:offset="1" android:color="#FF003BF4"/> |
||||
</gradient> |
||||
</aapt:attr> |
||||
</path> |
||||
<path |
||||
android:pathData="M28.241,25.588L26.562,25.588L28.241,30.292L15.765,30.292L17.311,25.588L15.765,25.588L13.667,31.859L30.323,31.859L28.241,25.588ZM21.995,12C18.257,12 15.228,15.042 15.228,18.794Q15.228,22.545 21.995,29.246Q28.778,22.536 28.778,18.794C28.778,16.989 28.063,15.259 26.79,13.984C25.52,12.71 23.794,11.996 21.995,12ZM21.995,21.407C20.73,21.406 19.59,20.642 19.109,19.472C18.626,18.3 18.893,16.953 19.787,16.054C20.678,15.158 22.023,14.889 23.19,15.375C24.359,15.863 25.119,17.005 25.118,18.272C25.118,20.003 23.719,21.407 21.995,21.407Z"> |
||||
<aapt:attr name="android:fillColor"> |
||||
<gradient |
||||
android:startX="16.973" |
||||
android:startY="13.325" |
||||
android:endX="24.018" |
||||
android:endY="26.84" |
||||
android:type="linear"> |
||||
<item android:offset="0" android:color="#FF4AEAF4"/> |
||||
<item android:offset="1" android:color="#FF10C8F2"/> |
||||
</gradient> |
||||
</aapt:attr> |
||||
</path> |
||||
<path |
||||
android:pathData="M28.241,25.588L26.562,25.588L28.241,30.292L15.765,30.292L17.311,25.588L15.765,25.588L13.667,31.859L30.323,31.859L28.241,25.588Z" |
||||
android:fillColor="#FFFFFF"/> |
||||
</vector> |
@ -0,0 +1,42 @@ |
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:aapt="http://schemas.android.com/aapt" |
||||
android:width="44dp" |
||||
android:height="44dp" |
||||
android:viewportWidth="44" |
||||
android:viewportHeight="44"> |
||||
<path |
||||
android:pathData="M16,0L28,0A16,16 0,0 1,44 16L44,28A16,16 0,0 1,28 44L16,44A16,16 0,0 1,0 28L0,16A16,16 0,0 1,16 0z" |
||||
android:fillColor="#DBDBDB" |
||||
android:fillAlpha="0"/> |
||||
<path |
||||
android:pathData="M34.231,34.962Q34.231,35.061 34.216,35.16Q34.201,35.259 34.171,35.358Q34.141,35.457 34.095,35.555Q34.05,35.653 33.99,35.75Q33.93,35.847 33.855,35.943Q33.78,36.039 33.69,36.134Q33.601,36.229 33.497,36.322Q33.393,36.416 33.275,36.507Q33.157,36.599 33.025,36.689Q32.893,36.778 32.748,36.866Q32.602,36.953 32.444,37.038Q32.285,37.123 32.114,37.205Q31.942,37.288 31.759,37.368Q31.575,37.447 31.379,37.524Q31.184,37.6 30.976,37.674Q30.769,37.747 30.551,37.817Q30.333,37.887 30.105,37.954Q29.876,38.021 29.638,38.083Q29.399,38.146 29.151,38.205Q28.904,38.264 28.647,38.32Q28.391,38.375 28.126,38.426Q27.862,38.476 27.59,38.523Q27.318,38.57 27.039,38.612Q26.76,38.655 26.475,38.693Q26.19,38.731 25.9,38.764Q25.609,38.797 25.314,38.826Q25.019,38.855 24.72,38.879Q24.42,38.903 24.118,38.922Q23.815,38.942 23.51,38.956Q23.205,38.971 22.898,38.981Q22.591,38.99 22.283,38.995Q21.975,39 21.667,39Q21.358,39 21.05,38.995Q20.742,38.99 20.435,38.981Q20.128,38.971 19.823,38.956Q19.518,38.942 19.215,38.922Q18.913,38.903 18.614,38.879Q18.314,38.855 18.019,38.826Q17.724,38.797 17.434,38.764Q17.143,38.731 16.858,38.693Q16.573,38.655 16.295,38.612Q16.016,38.57 15.744,38.523Q15.472,38.476 15.207,38.426Q14.943,38.375 14.686,38.32Q14.43,38.264 14.182,38.205Q13.934,38.146 13.696,38.083Q13.457,38.021 13.229,37.954Q13,37.887 12.782,37.817Q12.564,37.747 12.357,37.674Q12.15,37.6 11.954,37.524Q11.758,37.447 11.575,37.368Q11.391,37.288 11.219,37.205Q11.048,37.123 10.89,37.038Q10.731,36.953 10.586,36.866Q10.44,36.778 10.308,36.689Q10.176,36.599 10.058,36.507Q9.94,36.416 9.836,36.322Q9.732,36.229 9.643,36.134Q9.553,36.039 9.478,35.943Q9.404,35.847 9.343,35.75Q9.283,35.653 9.238,35.555Q9.193,35.457 9.162,35.358Q9.132,35.259 9.117,35.16Q9.102,35.061 9.102,34.962Q9.102,34.863 9.117,34.764Q9.132,34.665 9.162,34.566Q9.193,34.468 9.238,34.37Q9.283,34.272 9.343,34.174Q9.404,34.077 9.478,33.981Q9.553,33.885 9.643,33.79Q9.732,33.695 9.836,33.602Q9.94,33.509 10.058,33.417Q10.176,33.325 10.308,33.236Q10.44,33.146 10.586,33.059Q10.731,32.971 10.89,32.886Q11.048,32.801 11.219,32.719Q11.391,32.636 11.575,32.557Q11.758,32.477 11.954,32.401Q12.15,32.324 12.357,32.251Q12.564,32.177 12.782,32.107Q13,32.037 13.229,31.97Q13.457,31.904 13.696,31.841Q13.934,31.778 14.182,31.719Q14.43,31.66 14.686,31.605Q14.943,31.55 15.207,31.499Q15.472,31.448 15.744,31.401Q16.016,31.354 16.295,31.312Q16.573,31.27 16.858,31.232Q17.143,31.194 17.434,31.16Q17.724,31.127 18.019,31.098Q18.314,31.069 18.614,31.045Q18.913,31.021 19.215,31.002Q19.518,30.983 19.823,30.968Q20.128,30.953 20.435,30.944Q20.742,30.934 21.05,30.929Q21.358,30.924 21.667,30.924Q21.975,30.924 22.283,30.929Q22.591,30.934 22.898,30.944Q23.205,30.953 23.51,30.968Q23.815,30.983 24.118,31.002Q24.42,31.021 24.72,31.045Q25.019,31.069 25.314,31.098Q25.609,31.127 25.9,31.16Q26.19,31.194 26.475,31.232Q26.76,31.27 27.039,31.312Q27.318,31.354 27.59,31.401Q27.862,31.448 28.126,31.499Q28.391,31.55 28.647,31.605Q28.904,31.66 29.151,31.719Q29.399,31.778 29.638,31.841Q29.876,31.904 30.105,31.97Q30.333,32.037 30.551,32.107Q30.769,32.177 30.976,32.251Q31.184,32.324 31.379,32.401Q31.575,32.477 31.759,32.557Q31.942,32.636 32.114,32.719Q32.285,32.801 32.444,32.886Q32.602,32.971 32.748,33.059Q32.893,33.146 33.025,33.236Q33.157,33.325 33.275,33.417Q33.393,33.509 33.497,33.602Q33.601,33.695 33.69,33.79Q33.78,33.885 33.855,33.981Q33.93,34.077 33.99,34.174Q34.05,34.272 34.095,34.37Q34.141,34.468 34.171,34.566Q34.201,34.665 34.216,34.764Q34.231,34.863 34.231,34.962Z"> |
||||
<aapt:attr name="android:fillColor"> |
||||
<gradient |
||||
android:startX="14.09" |
||||
android:startY="31.464" |
||||
android:endX="24.718" |
||||
android:endY="36.96" |
||||
android:type="linear"> |
||||
<item android:offset="0" android:color="#FF4AEAF4"/> |
||||
<item android:offset="1" android:color="#FF10C8F2"/> |
||||
</gradient> |
||||
</aapt:attr> |
||||
</path> |
||||
<path |
||||
android:pathData="M29.073,29.692C26.777,29.441 24.321,29.3 21.758,29.3C19.126,29.3 16.608,29.451 14.26,29.713Q18.421,33.937 21.758,36.593Q24.998,33.906 29.073,29.692Z" |
||||
android:fillColor="#FFFFFF"/> |
||||
<path |
||||
android:pathData="M21.667,3C14.487,3 8.667,8.422 8.667,15.109Q8.667,24.646 21.667,34.967Q34.667,24.207 34.667,15.109C34.661,8.422 28.846,3 21.667,3ZM21.667,21.713C17.71,21.713 14.499,18.722 14.499,15.036C14.499,11.35 17.705,8.359 21.667,8.359C25.623,8.359 28.835,11.35 28.835,15.036C28.829,18.728 25.623,21.713 21.667,21.713Z"> |
||||
<aapt:attr name="android:fillColor"> |
||||
<gradient |
||||
android:startX="18.658" |
||||
android:startY="9.498" |
||||
android:endX="27.992" |
||||
android:endY="34.967" |
||||
android:type="linear"> |
||||
<item android:offset="0" android:color="#FF308AF4"/> |
||||
<item android:offset="1" android:color="#FF1555D6"/> |
||||
</gradient> |
||||
</aapt:attr> |
||||
</path> |
||||
</vector> |
@ -0,0 +1,43 @@ |
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:aapt="http://schemas.android.com/aapt" |
||||
android:width="44dp" |
||||
android:height="44dp" |
||||
android:viewportWidth="44" |
||||
android:viewportHeight="44"> |
||||
<path |
||||
android:pathData="M16,0L28,0A16,16 0,0 1,44 16L44,28A16,16 0,0 1,28 44L16,44A16,16 0,0 1,0 28L0,16A16,16 0,0 1,16 0z" |
||||
android:fillColor="#DBDBDB" |
||||
android:fillAlpha="0"/> |
||||
<group> |
||||
<clip-path |
||||
android:pathData="M3.333,3h38v38h-38z"/> |
||||
<path |
||||
android:pathData="M40.705,5.374C40.84,5.647 40.884,5.957 40.83,6.258L35.948,33.228C35.796,34.075 34.933,34.594 34.114,34.333L19.774,29.769L35.158,11.075L16.448,28.71L4.973,25.058C4.235,24.823 3.713,24.163 3.655,23.39C3.596,22.617 4.014,21.886 4.709,21.543L38.797,4.726C39.502,4.378 40.357,4.668 40.705,5.374Z"> |
||||
<aapt:attr name="android:fillColor"> |
||||
<gradient |
||||
android:startX="6.56" |
||||
android:startY="5.821" |
||||
android:endX="35.008" |
||||
android:endY="32.656" |
||||
android:type="linear"> |
||||
<item android:offset="0" android:color="#FF308AF4"/> |
||||
<item android:offset="1" android:color="#FF003BF4"/> |
||||
</gradient> |
||||
</aapt:attr> |
||||
</path> |
||||
<path |
||||
android:pathData="M19.483,32.146L19.483,39.052C19.483,39.236 19.589,39.402 19.754,39.481C19.919,39.56 20.115,39.536 20.257,39.421L26.396,34.434C26.532,34.323 26.596,34.147 26.563,33.976C26.53,33.804 26.405,33.664 26.239,33.612L20.1,31.693C19.794,31.597 19.483,31.826 19.483,32.146Z"> |
||||
<aapt:attr name="android:fillColor"> |
||||
<gradient |
||||
android:startX="24.811" |
||||
android:startY="31.597" |
||||
android:endX="23.04" |
||||
android:endY="39.56" |
||||
android:type="linear"> |
||||
<item android:offset="0" android:color="#FF4AEAF4"/> |
||||
<item android:offset="1" android:color="#FF0EC6F2"/> |
||||
</gradient> |
||||
</aapt:attr> |
||||
</path> |
||||
</group> |
||||
</vector> |
@ -0,0 +1,55 @@ |
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:aapt="http://schemas.android.com/aapt" |
||||
android:width="44dp" |
||||
android:height="44dp" |
||||
android:viewportWidth="44" |
||||
android:viewportHeight="44"> |
||||
<path |
||||
android:pathData="M16,0L28,0A16,16 0,0 1,44 16L44,28A16,16 0,0 1,28 44L16,44A16,16 0,0 1,0 28L0,16A16,16 0,0 1,16 0z" |
||||
android:fillColor="#DBDBDB" |
||||
android:fillAlpha="0"/> |
||||
<path |
||||
android:pathData="M6,39L6,9Q6,8.902 6.019,8.805Q6.038,8.708 6.076,8.617Q6.114,8.526 6.169,8.444Q6.223,8.363 6.293,8.293Q6.363,8.223 6.444,8.169Q6.526,8.114 6.617,8.076Q6.708,8.038 6.805,8.019Q6.902,8 7,8L37,8Q37.098,8 37.195,8.019Q37.292,8.038 37.383,8.076Q37.474,8.114 37.556,8.169Q37.638,8.223 37.707,8.293Q37.777,8.363 37.832,8.444Q37.886,8.526 37.924,8.617Q37.962,8.708 37.981,8.805Q38,8.902 38,9L38,39Q38,39.098 37.981,39.195Q37.962,39.292 37.924,39.383Q37.886,39.474 37.832,39.556Q37.777,39.638 37.707,39.707Q37.638,39.777 37.556,39.832Q37.474,39.886 37.383,39.924Q37.292,39.962 37.195,39.981Q37.098,40 37,40L7,40Q6.902,40 6.805,39.981Q6.708,39.962 6.617,39.924Q6.526,39.886 6.444,39.832Q6.363,39.777 6.293,39.707Q6.223,39.638 6.169,39.556Q6.114,39.474 6.076,39.383Q6.038,39.292 6.019,39.195Q6,39.098 6,39Z"> |
||||
<aapt:attr name="android:fillColor"> |
||||
<gradient |
||||
android:startX="18.296" |
||||
android:startY="14.504" |
||||
android:endX="29.784" |
||||
android:endY="40" |
||||
android:type="linear"> |
||||
<item android:offset="0" android:color="#FF308AF4"/> |
||||
<item android:offset="1" android:color="#FF1555D6"/> |
||||
</gradient> |
||||
</aapt:attr> |
||||
</path> |
||||
<path |
||||
android:pathData="M11.009,19.622L11.827,18.666Q11.997,18.605 12.138,18.696L13.654,19.956Q13.852,20.069 14.021,19.926L16.865,17.082Q17.046,16.932 17.194,17.056L17.961,17.862Q18.048,17.995 17.942,18.113L14.166,21.906Q13.982,22.1 13.701,21.893L11.053,19.772Q10.979,19.693 11.009,19.622Z" |
||||
android:fillColor="#FFFFFF"/> |
||||
<path |
||||
android:pathData="M10.548,19.427Q10.391,19.798 10.689,20.114L10.713,20.14L13.396,22.289L13.404,22.295Q13.671,22.492 13.943,22.5Q14.28,22.51 14.524,22.256L18.306,18.457L18.315,18.446Q18.675,18.042 18.38,17.59L18.355,17.551L17.537,16.692L17.516,16.674Q17.05,16.281 16.547,16.696L16.528,16.711L13.807,19.432L12.435,18.292L12.41,18.276Q12.06,18.05 11.657,18.196L11.533,18.241L10.578,19.356L10.548,19.427ZM11.666,19.622L12.001,19.232L13.368,20.368L13.405,20.39Q13.907,20.677 14.344,20.307L14.36,20.294L17.037,17.617L17.376,17.973L13.93,21.435L11.666,19.622Z" |
||||
android:fillColor="#FFFFFF" |
||||
android:fillType="evenOdd"/> |
||||
<path |
||||
android:pathData="M10,4L34,4L34,8L10,8L10,4Z"> |
||||
<aapt:attr name="android:fillColor"> |
||||
<gradient |
||||
android:startX="32.936" |
||||
android:startY="8" |
||||
android:endX="11.013" |
||||
android:endY="4.908" |
||||
android:type="linear"> |
||||
<item android:offset="0" android:color="#FF0EC6F2"/> |
||||
<item android:offset="1" android:color="#FF4AEAF4"/> |
||||
</gradient> |
||||
</aapt:attr> |
||||
</path> |
||||
<path |
||||
android:pathData="M12,29.5a2.5,2.5 0,1 0,5 0a2.5,2.5 0,1 0,-5 0z" |
||||
android:fillColor="#FFFFFF"/> |
||||
<path |
||||
android:pathData="M22,28h11v3h-11z" |
||||
android:fillColor="#FFFFFF"/> |
||||
<path |
||||
android:pathData="M22,18h11v3h-11z" |
||||
android:fillColor="#FFFFFF"/> |
||||
</vector> |
@ -0,0 +1,53 @@ |
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:aapt="http://schemas.android.com/aapt" |
||||
android:width="44dp" |
||||
android:height="44dp" |
||||
android:viewportWidth="44" |
||||
android:viewportHeight="44"> |
||||
<path |
||||
android:pathData="M16,0L28,0A16,16 0,0 1,44 16L44,28A16,16 0,0 1,28 44L16,44A16,16 0,0 1,0 28L0,16A16,16 0,0 1,16 0z" |
||||
android:fillColor="#DBDBDB" |
||||
android:fillAlpha="0"/> |
||||
<path |
||||
android:pathData="M35.631,20C34.328,19.99 33.24,21.167 33.231,22.604C33.231,22.653 33.24,22.696 33.244,22.744L31.065,24.143L32.148,26.2L34.319,24.806C34.689,25.077 35.129,25.237 35.6,25.242C36.903,25.252 37.991,24.076 38,22.638C38.009,21.205 36.939,20.01 35.631,20ZM17.014,33.064L18.097,35.121L23.469,31.738L22.408,29.603L17.014,33.064ZM15.376,34.134L13.734,35.165C13.373,34.913 12.95,34.763 12.497,34.758C11.193,34.748 10.106,35.924 10.097,37.362C10.097,37.391 10.106,37.42 10.106,37.449L10,37.517L10.136,37.793C10.225,38.388 10.498,38.921 10.894,39.313L11.061,39.651L11.189,39.569C11.559,39.835 11.995,40 12.466,40C13.769,40.01 14.857,38.833 14.866,37.396C14.866,37.333 14.852,37.275 14.848,37.217L16.455,36.186L15.376,34.134ZM24.042,28.601L25.121,30.658L30.497,27.275L29.436,25.14L24.042,28.601Z"> |
||||
<aapt:attr name="android:fillColor"> |
||||
<gradient |
||||
android:startX="15.559" |
||||
android:startY="21.33" |
||||
android:endX="27.406" |
||||
android:endY="34.952" |
||||
android:type="linear"> |
||||
<item android:offset="0" android:color="#FF4AEAF4"/> |
||||
<item android:offset="1" android:color="#FF10C8F2"/> |
||||
</gradient> |
||||
</aapt:attr> |
||||
</path> |
||||
<path |
||||
android:pathData="M13,9C7.478,9 3,13.579 3,19.226Q3,27.28 13,36Q23,26.907 23,19.226C23,13.572 18.522,9 13,9ZM13,24.808C9.953,24.808 7.485,22.284 7.485,19.168C7.485,16.059 9.953,13.528 13,13.528C16.047,13.528 18.515,16.052 18.515,19.168C18.515,22.284 16.047,24.808 13,24.808Z"> |
||||
<aapt:attr name="android:fillColor"> |
||||
<gradient |
||||
android:startX="10.685" |
||||
android:startY="14.488" |
||||
android:endX="17.865" |
||||
android:endY="36" |
||||
android:type="linear"> |
||||
<item android:offset="0" android:color="#FF308AF4"/> |
||||
<item android:offset="1" android:color="#FF1555D6"/> |
||||
</gradient> |
||||
</aapt:attr> |
||||
</path> |
||||
<path |
||||
android:pathData="M35.5,4C31.91,4 29,6.883 29,10.44Q29,15.51 35.5,21Q42,15.28 42,10.44C41.994,6.883 39.09,4 35.5,4ZM35.5,13.95C33.519,13.95 31.916,12.362 31.916,10.399C31.916,8.443 33.519,6.849 35.5,6.849C37.481,6.849 39.084,8.437 39.084,10.399C39.078,12.362 37.475,13.95 35.5,13.95Z"> |
||||
<aapt:attr name="android:fillColor"> |
||||
<gradient |
||||
android:startX="33.995" |
||||
android:startY="7.455" |
||||
android:endX="38.662" |
||||
android:endY="21" |
||||
android:type="linear"> |
||||
<item android:offset="0" android:color="#FF308AF4"/> |
||||
<item android:offset="1" android:color="#FF1555D6"/> |
||||
</gradient> |
||||
</aapt:attr> |
||||
</path> |
||||
</vector> |
@ -1,11 +1,224 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
<androidx.constraintlayout.widget.ConstraintLayout 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"> |
||||
|
||||
<ImageView |
||||
android:layout_width="match_parent" |
||||
android:layout_height="@dimen/sw_160dp" |
||||
android:background="@drawable/bg_top_blue" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toTopOf="parent" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvProject" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:text="首页" /> |
||||
</LinearLayout> |
||||
android:layout_marginHorizontal="@dimen/sw_20dp" |
||||
android:layout_marginTop="@dimen/sw_20dp" |
||||
android:textColor="@color/white" |
||||
android:textSize="@dimen/sw_20sp" |
||||
android:textStyle="bold" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toTopOf="parent" |
||||
tools:text="某工程" /> |
||||
|
||||
<LinearLayout |
||||
android:id="@+id/llFirst" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginHorizontal="@dimen/sw_20dp" |
||||
android:layout_marginTop="@dimen/sw_16dp" |
||||
android:background="@drawable/bg_white_round_8" |
||||
android:orientation="vertical" |
||||
android:padding="@dimen/sw_18dp" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toBottomOf="@+id/tvProject"> |
||||
|
||||
<TextView |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:gravity="center" |
||||
android:text="@string/beidou_application" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_14sp" |
||||
android:textStyle="bold" /> |
||||
|
||||
<LinearLayout |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="@dimen/sw_12dp" |
||||
android:orientation="horizontal" |
||||
android:weightSum="3"> |
||||
|
||||
<TextView |
||||
android:layout_width="0dp" |
||||
android:layout_height="wrap_content" |
||||
android:layout_weight="1" |
||||
android:drawablePadding="@dimen/sw_8dp" |
||||
android:gravity="center" |
||||
android:text="@string/point_measurement" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_13sp" |
||||
app:drawableTopCompat="@drawable/ic_point_measurement" /> |
||||
|
||||
<TextView |
||||
android:layout_width="0dp" |
||||
android:layout_height="wrap_content" |
||||
android:layout_weight="1" |
||||
android:drawablePadding="@dimen/sw_8dp" |
||||
android:gravity="center" |
||||
android:text="@string/stakeout" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_13sp" |
||||
app:drawableTopCompat="@drawable/stakeout" /> |
||||
|
||||
</LinearLayout> |
||||
|
||||
</LinearLayout> |
||||
|
||||
<LinearLayout |
||||
android:id="@+id/llSecond" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginHorizontal="@dimen/sw_20dp" |
||||
android:layout_marginTop="@dimen/sw_16dp" |
||||
android:background="@drawable/bg_white_round_8" |
||||
android:orientation="vertical" |
||||
android:padding="@dimen/sw_18dp" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toBottomOf="@+id/llFirst"> |
||||
|
||||
<TextView |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:gravity="center" |
||||
android:text="@string/process_approval" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_14sp" |
||||
android:textStyle="bold" /> |
||||
|
||||
<LinearLayout |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="@dimen/sw_12dp" |
||||
android:orientation="horizontal" |
||||
android:weightSum="3"> |
||||
|
||||
<RelativeLayout |
||||
android:layout_width="0dp" |
||||
android:layout_height="wrap_content" |
||||
android:layout_weight="1" |
||||
android:gravity="center"> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvA" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:drawablePadding="@dimen/sw_8dp" |
||||
android:gravity="center" |
||||
android:text="@string/to_be_processed" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_13sp" |
||||
app:drawableTopCompat="@drawable/processed" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvWaitNum" |
||||
android:layout_width="@dimen/sw_16dp" |
||||
android:layout_height="@dimen/sw_16dp" |
||||
android:layout_alignTop="@+id/tvA" |
||||
android:layout_alignRight="@+id/tvA" |
||||
android:background="@drawable/bg_red_circle" |
||||
android:gravity="center" |
||||
android:text="1" |
||||
android:textColor="@color/white" |
||||
android:textSize="@dimen/sw_10dp" |
||||
android:visibility="visible" /> |
||||
|
||||
</RelativeLayout> |
||||
|
||||
<TextView |
||||
android:layout_width="0dp" |
||||
android:layout_height="wrap_content" |
||||
android:layout_weight="1" |
||||
android:drawablePadding="@dimen/sw_8dp" |
||||
android:gravity="center" |
||||
android:text="@string/processed" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_13sp" |
||||
app:drawableTopCompat="@drawable/processed" /> |
||||
|
||||
<TextView |
||||
android:layout_width="0dp" |
||||
android:layout_height="wrap_content" |
||||
android:layout_weight="1" |
||||
android:drawablePadding="@dimen/sw_8dp" |
||||
android:gravity="center" |
||||
android:text="@string/initiated" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_13sp" |
||||
app:drawableTopCompat="@drawable/initiated" /> |
||||
|
||||
</LinearLayout> |
||||
|
||||
|
||||
</LinearLayout> |
||||
|
||||
<LinearLayout |
||||
android:id="@+id/llThird" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginHorizontal="@dimen/sw_20dp" |
||||
android:layout_marginTop="@dimen/sw_16dp" |
||||
android:background="@drawable/bg_white_round_8" |
||||
android:orientation="vertical" |
||||
android:padding="@dimen/sw_18dp" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toBottomOf="@+id/llSecond"> |
||||
|
||||
<TextView |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:gravity="center" |
||||
android:text="@string/engineering_control_network" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_14sp" |
||||
android:textStyle="bold" /> |
||||
|
||||
<LinearLayout |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="@dimen/sw_12dp" |
||||
android:orientation="horizontal" |
||||
android:weightSum="3"> |
||||
|
||||
<TextView |
||||
android:layout_width="0dp" |
||||
android:layout_height="wrap_content" |
||||
android:layout_weight="1" |
||||
android:drawablePadding="@dimen/sw_8dp" |
||||
android:gravity="center" |
||||
android:text="@string/head_control_network" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_13sp" |
||||
app:drawableTopCompat="@drawable/head_control_network" /> |
||||
|
||||
<TextView |
||||
android:layout_width="0dp" |
||||
android:layout_height="wrap_content" |
||||
android:layout_weight="1" |
||||
android:drawablePadding="@dimen/sw_8dp" |
||||
android:gravity="center" |
||||
android:text="@string/dedicated_control_network" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_13sp" |
||||
app:drawableTopCompat="@drawable/dedicated_control_network" /> |
||||
|
||||
</LinearLayout> |
||||
|
||||
</LinearLayout> |
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout> |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,13 +1,17 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<resources> |
||||
<!--新增--> |
||||
<color name="bg_content_new">#f2f3f5</color> |
||||
<color name="hor_line">#f2f2f2</color> |
||||
<color name="text_color_1">#000</color> |
||||
<color name="bg_content">#f8f8f8</color> |
||||
<color name="text_color_1">#333333</color> |
||||
<color name="text_color_2">#999</color> |
||||
<color name="white">#ffffff</color> |
||||
|
||||
|
||||
<color name="hor_line">#f2f2f2</color> |
||||
<color name="text_color_desc">#F3AE42</color> |
||||
<color name="divide_line">#1A000000</color> |
||||
<color name="text_color_disable">#AAA</color> |
||||
<color name="green_gnss">#00B050</color> |
||||
<color name="yellow_gnss">#FFFF00</color> |
||||
<color name="red">#ff0000</color> |
||||
</resources> |
File diff suppressed because it is too large
Load Diff
@ -1,15 +1,17 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> |
||||
<string name="app_name">Control Network</string> |
||||
<string name="app_name">工程测量</string> |
||||
|
||||
<string name="beidou_application">北斗应用</string> |
||||
<string name="point_measurement">点测量</string> |
||||
<string name="stakeout">放样</string> |
||||
<string name="process_approval">流程审批</string> |
||||
<string name="to_be_processed">待办理</string> |
||||
<string name="processed">已办理</string> |
||||
<string name="initiated">已发起</string> |
||||
<string name="engineering_control_network">工程控制网</string> |
||||
<string name="head_control_network">首级控制网</string> |
||||
<string name="dedicated_control_network">专用控制网</string> |
||||
|
||||
<string name="temperature_hint">Please enter the temperature</string> |
||||
<string name="humidity_hint">Please enter humidity</string> |
||||
<string name="air_pressure_hint">Please enter air pressure</string> |
||||
<string name="addition_constant_hint">Please enter the addition constant</string> |
||||
<string name="multiply_constant_hint">Please enter the multiplication constant</string> |
||||
<string name="instrument_height_hint">Please enter the instrument height</string> |
||||
<string name="notice_list_left_swipe_delete">Note: Swipe left on the list to delete it</string> |
||||
<string name="create_i_angle_detection">NEW I CORNER DETECTION</string> |
||||
<string name="please_choose">Please choose</string> |
||||
|
||||
</resources> |
Loading…
Reference in new issue