[Cleanup] Added translations, made use of resources, etc
Some cleanup, added resources for dimensions, added translations.
This commit is contained in:
18
app/src/main/res/drawable/ic_flashlight.xml
Normal file
18
app/src/main/res/drawable/ic_flashlight.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="800dp"
|
||||
android:height="800dp"
|
||||
android:viewportWidth="512"
|
||||
android:viewportHeight="512">
|
||||
<path
|
||||
android:pathData="M450.49,202.25L308.92,60.67c-19.51,-19.51 -51.27,-19.51 -70.79,0l-32.9,32.9c-11.37,11.37 -19.51,26.11 -22.82,42.63l-18.64,93.21L14.64,378.55c-19.52,19.52 -19.52,51.27 0,70.79l47.19,47.19c19.51,19.51 51.27,19.52 70.79,0l149.13,-149.13l93.21,-18.64c16.13,-3.23 30.97,-11.16 42.63,-22.82l32.9,-32.9C470.06,253.48 470.06,221.81 450.49,202.25zM109.02,472.93c-6.51,6.51 -17.09,6.51 -23.6,0l-47.19,-47.19c-6.51,-6.51 -6.51,-17.09 0,-23.6l11.8,-11.8l70.79,70.79L109.02,472.93zM144.42,437.54l-70.79,-70.79l46.52,-46.52l23.6,23.6c6.51,6.52 17.08,6.52 23.6,0c6.52,-6.52 6.52,-17.08 0,-23.6l-23.6,-23.6l35.4,-35.4l70.79,70.79L144.42,437.54zM279.01,313.92l-81.76,-81.76l15.73,-78.65l144.68,144.68L279.01,313.92zM426.9,249.44c-35.83,35.83 -33.6,33.66 -35.49,35.31L226.42,119.75c1.67,-1.92 -0.43,0.25 35.31,-35.48c6.5,-6.51 17.09,-6.51 23.59,0l141.58,141.58C433.42,232.37 433.42,242.92 426.9,249.44z"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M473.8,36.79c-6.67,-6.36 -17.23,-6.1 -23.59,0.57L416.49,72.75c-6.36,6.67 -6.1,17.23 0.57,23.59c6.67,6.36 17.23,6.1 23.59,-0.57l33.72,-35.39C480.73,53.71 480.47,43.15 473.8,36.79z"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M361.49,0.83c-9.22,0 -16.68,7.47 -16.68,16.68v33.37c0,9.22 7.47,16.68 16.68,16.68c9.22,0 16.68,-7.47 16.68,-16.68v-33.37C378.17,8.31 370.7,0.83 361.49,0.83z"
|
||||
android:fillColor="#000000"/>
|
||||
<path
|
||||
android:pathData="M495.32,134.11h-33.37c-9.22,0 -16.68,7.47 -16.68,16.68s7.47,16.68 16.68,16.68h33.37c9.22,0 16.68,-7.47 16.68,-16.68S504.53,134.11 495.32,134.11z"
|
||||
android:fillColor="#000000"/>
|
||||
</vector>
|
||||
36
app/src/main/res/drawable/ic_flashlight_off.xml
Normal file
36
app/src/main/res/drawable/ic_flashlight_off.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="200dp"
|
||||
android:height="200dp"
|
||||
android:viewportWidth="200"
|
||||
android:viewportHeight="200">
|
||||
<path
|
||||
android:pathData="M37.87,83.58L163.58,83.58A7,7 0,0 1,170.58 90.58L170.58,115.56A7,7 0,0 1,163.58 122.56L37.87,122.56A7,7 0,0 1,30.87 115.56L30.87,90.58A7,7 0,0 1,37.87 83.58z"
|
||||
android:strokeWidth="3"
|
||||
android:fillColor="#fff"
|
||||
android:strokeColor="#000"/>
|
||||
<path
|
||||
android:pathData="M31.41,118.61L44.4,170.24"
|
||||
android:strokeWidth="3"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000"/>
|
||||
<path
|
||||
android:pathData="M31.41,118.61L44.4,170.24"
|
||||
android:strokeWidth="3"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000"/>
|
||||
<path
|
||||
android:pathData="M31.41,118.61L44.4,170.24"
|
||||
android:strokeWidth="3"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000"/>
|
||||
<path
|
||||
android:pathData="M169.72,118.58L156.72,170.58"
|
||||
android:strokeWidth="3"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000"/>
|
||||
<path
|
||||
android:pathData="M43.72,170.58L157.72,170.24"
|
||||
android:strokeWidth="3"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000"/>
|
||||
</vector>
|
||||
51
app/src/main/res/drawable/ic_flashlight_on.xml
Normal file
51
app/src/main/res/drawable/ic_flashlight_on.xml
Normal file
@@ -0,0 +1,51 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="200dp"
|
||||
android:height="200dp"
|
||||
android:viewportWidth="200"
|
||||
android:viewportHeight="200">
|
||||
<path
|
||||
android:pathData="M37.87,83.58L163.58,83.58A7,7 0,0 1,170.58 90.58L170.58,115.56A7,7 0,0 1,163.58 122.56L37.87,122.56A7,7 0,0 1,30.87 115.56L30.87,90.58A7,7 0,0 1,37.87 83.58z"
|
||||
android:strokeWidth="3"
|
||||
android:fillColor="#fff"
|
||||
android:strokeColor="#000"/>
|
||||
<path
|
||||
android:pathData="M31.41,118.61L44.4,170.24"
|
||||
android:strokeWidth="3"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000"/>
|
||||
<path
|
||||
android:pathData="M31.41,118.61L44.4,170.24"
|
||||
android:strokeWidth="3"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000"/>
|
||||
<path
|
||||
android:pathData="M31.41,118.61L44.4,170.24"
|
||||
android:strokeWidth="3"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000"/>
|
||||
<path
|
||||
android:pathData="M169.72,118.58L156.72,170.58"
|
||||
android:strokeWidth="3"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000"/>
|
||||
<path
|
||||
android:pathData="M43.72,170.58L157.72,170.24"
|
||||
android:strokeWidth="3"
|
||||
android:fillColor="#00000000"
|
||||
android:strokeColor="#000"/>
|
||||
<path
|
||||
android:pathData="M100,14.44L100,14.44A8.12,10 0,0 1,108.12 24.44L108.12,54.62A8.12,10 0,0 1,100 64.62L100,64.62A8.12,10 0,0 1,91.88 54.62L91.88,24.44A8.12,10 0,0 1,100 14.44z"
|
||||
android:strokeWidth="3"
|
||||
android:fillColor="#fff"
|
||||
android:strokeColor="#000"/>
|
||||
<path
|
||||
android:pathData="M44.47,19.7L44.47,19.7A10,8.12 58,0 1,56.65 23.87L72.65,49.47A10,8.12 58,0 1,71.06 62.25L71.06,62.25A10,8.12 58,0 1,58.87 58.08L42.88,32.48A10,8.12 58,0 1,44.47 19.7z"
|
||||
android:strokeWidth="3"
|
||||
android:fillColor="#fff"
|
||||
android:strokeColor="#000"/>
|
||||
<path
|
||||
android:pathData="M157.34,19.7L157.34,19.7A10,8.12 122,0 1,158.93 32.48L142.94,58.08A10,8.12 122,0 1,130.75 62.25L130.75,62.25A10,8.12 122,0 1,129.16 49.47L145.15,23.87A10,8.12 122,0 1,157.34 19.7z"
|
||||
android:strokeWidth="3"
|
||||
android:fillColor="#fff"
|
||||
android:strokeColor="#000"/>
|
||||
</vector>
|
||||
Reference in New Issue
Block a user