Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logo for developer added & Removed background location access #2193

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@
<activity android:name=".sensors.SensorTSL2561" />
</application>

</manifest>
</manifest>
6 changes: 5 additions & 1 deletion app/src/main/java/io/pslab/fragment/AboutUsFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container,
.addItem(new Element(getString(R.string.version), R.drawable.ic_widgets_black_24dp))
.addItem(new Element(getString(R.string.flavor), R.drawable.ic_android_black_24dp))
.setDescription(getString(R.string.about_us_description))
.addGroup("Connect with us")
.addGroup("Connect With Us")
.addEmail("[email protected]")
.addWebsite("https://pslab.io/")
.addGitHub("fossasia?utf8=✓&q=pslab")
Expand Down Expand Up @@ -90,7 +90,11 @@ private void simulateDayNight(int currentSetting) {

private Element addDevelopers() {
Element developersElement = new Element();
// developersElement.addItem(new Element(getString(R.string.version), R.drawable.ic_widgets_black_24dp))
developersElement.setTitle(getString(R.string.developers));
developersElement.setIconDrawable(R.drawable.ic_developers_24dp);
//.addItem(new Element(getString(R.string.version), R.drawable.ic_widgets_black_24dp))
//new Element("Developer",R.drawable.ic_development).addItem(developersElement);
developersElement.setOnClickListener(v -> {
String url = getString(R.string.github_developers_link);
if (!url.startsWith("http://") && !url.startsWith("https://")) {
Expand Down
25 changes: 25 additions & 0 deletions app/src/main/res/drawable/ic_developers_24dp.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<vector android:autoMirrored="true" android:height="512dp"
android:viewportHeight="512" android:viewportWidth="512"
android:width="512dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#88dbfd" android:pathData="m475.734,44.789h-188.141c-15.648,0 -28.336,12.688 -28.336,28.336v106.422c0,15.648 12.688,28.336 28.336,28.336h66.926l-10.816,43.66c-1.41,5.688 5.137,9.969 9.785,6.398l65.168,-50.059h57.082c15.648,0 28.336,-12.684 28.336,-28.336v-106.422c-0.004,-15.648 -12.688,-28.336 -28.34,-28.336zM475.734,44.789"/>
<path android:fillColor="#5abfe9" android:pathData="m352.066,217.773 l-8.363,33.77c-1.41,5.688 5.137,9.969 9.785,6.398l65.168,-50.059h-53.715zM352.066,217.773"/>
<path android:fillColor="#5abfe9" android:pathData="m475.734,44.789h-53.715c15.652,0 28.336,12.688 28.336,28.336v106.422c0,15.648 -12.684,28.336 -28.336,28.336h53.715c15.652,0 28.336,-12.684 28.336,-28.336v-106.422c0,-15.648 -12.684,-28.336 -28.336,-28.336zM475.734,44.789"/>
<path android:fillColor="#fcc18b" android:pathData="m402.668,380.441c-1.41,-24.047 -16.676,-43.641 -39.395,-54.281 -27.809,-13.02 -103.539,-32.719 -103.539,-32.719 -7.32,-1.359 -12.629,-7.746 -12.629,-15.188v-43.289h-82.332v43.289c0,7.441 -5.309,13.828 -12.625,15.188 0,0 -75.73,19.699 -103.543,32.719 -22.719,10.641 -37.984,30.234 -39.395,54.281l-1.707,103.207c-0.141,11.473 9.125,20.852 20.602,20.852h355.668c11.477,0 20.742,-9.379 20.605,-20.852zM402.668,380.441"/>
<path android:fillColor="#eaab65" android:pathData="m402.668,380.441c-1.41,-24.047 -16.676,-43.641 -39.395,-54.281 -27.809,-13.02 -103.539,-32.719 -103.539,-32.719 -7.32,-1.359 -12.629,-7.746 -12.629,-15.188v-43.289h-53.715v69.254c0,7.441 5.309,13.828 12.625,15.184 0,0 75.734,19.703 103.543,32.723 22.719,10.637 37.984,30.234 39.395,54.277l1.625,98.098h33.195c11.477,0 20.742,-9.379 20.605,-20.852zM402.668,380.441"/>
<path android:fillColor="#eaab65" android:pathData="m120.586,125.367h-10.809c-3.914,0 -7.523,1.324 -10.398,3.547 -4.992,3.859 -7.184,10.352 -6.055,16.563l4.246,23.371c3.293,17.32 23.043,9.406 23.043,9.406zM120.586,125.367"/>
<path android:fillColor="#fcc18b" android:pathData="m291.293,125.367h10.809c3.914,0 7.523,1.324 10.398,3.547 4.992,3.859 7.184,10.352 6.055,16.563l-4.246,23.371c-3.293,17.32 -23.043,9.406 -23.043,9.406zM291.293,125.367"/>
<path android:fillColor="#fcc18b" android:pathData="m265.848,36.547c-14.055,-12.996 -33.813,-24.336 -59.906,-24.652 -26.098,0.316 -45.855,11.656 -59.91,24.652 -17.926,16.574 -27.637,41.191 -27.637,66.594l0.023,88.574c0,41.875 54.426,85.238 87.523,85.238 33.094,0 87.523,-43.363 87.523,-85.238l0.023,-88.574c-0.004,-25.402 -9.715,-50.02 -27.641,-66.594zM265.848,36.547"/>
<path android:fillColor="#eaab65" android:pathData="m265.848,36.547c-14.055,-12.996 -33.813,-24.336 -59.906,-24.652 -9.844,0.121 -18.785,1.809 -26.859,4.563 13.332,4.547 24.297,11.996 33.051,20.09 17.926,16.574 27.637,41.191 27.637,66.594l-0.023,88.574c0,31.684 -31.16,64.219 -60.664,78.176 9.488,4.488 18.805,7.063 26.855,7.063 33.098,0 87.523,-43.363 87.523,-85.238l0.023,-88.574c0,-25.402 -9.711,-50.02 -27.637,-66.594zM265.848,36.547"/>
<path android:fillColor="#426175" android:pathData="m260.098,7.5h-108.316c-27.871,0 -50.461,22.594 -50.461,50.461v69.633s13.895,-0.316 22.824,8.52c1.859,1.84 5.02,0.496 5.02,-2.121v-54.57c0,-12.32 9.988,-22.305 22.305,-22.305h20.27c5.316,0 10.469,1.836 14.582,5.203l1.988,1.625c4.973,4.066 11.203,6.289 17.629,6.289 6.43,0 12.656,-2.223 17.633,-6.289l1.988,-1.625c4.113,-3.367 9.266,-5.203 14.582,-5.203h20.266c12.32,0 22.309,9.984 22.309,22.305v54.574c0,2.613 3.16,3.961 5.02,2.121 8.926,-8.84 22.824,-8.523 22.824,-8.523v-69.629c0,-27.871 -22.594,-50.465 -50.461,-50.465zM260.098,7.5"/>
<path android:fillColor="#2c4456" android:pathData="m260.098,7.5h-18.734c9.426,11.098 15.34,27.766 15.488,49.617h3.559c12.316,0 22.305,9.984 22.305,22.305v54.574c0,2.613 3.16,3.961 5.02,2.121 8.93,-8.84 22.824,-8.523 22.824,-8.523v-69.629c0,-27.871 -22.594,-50.465 -50.461,-50.465zM260.098,7.5"/>
<path android:fillColor="#33bca5" android:pathData="m363.273,326.16c-16.184,-7.574 -48.59,-17.414 -72.863,-24.316l-5.25,1.992c-51.043,19.332 -107.398,19.332 -158.441,0l-5.25,-1.992c-24.273,6.902 -56.68,16.742 -72.863,24.316 -22.719,10.641 -37.984,30.234 -39.395,54.281l-1.707,103.207c-0.141,11.473 9.125,20.852 20.602,20.852h355.668c11.477,0 20.742,-9.379 20.605,-20.852l-1.711,-103.207c-1.41,-24.047 -16.676,-43.641 -39.395,-54.281zM363.273,326.16"/>
<path android:fillColor="#f2f2f2" android:pathData="m332.211,478.637h-256.305c-7.793,0 -14.266,-6.023 -14.82,-13.801l-10.48,-147.074c-0.613,-8.602 6.199,-15.918 14.82,-15.918h277.27c8.621,0 15.434,7.316 14.82,15.918l-10.484,147.074c-0.555,7.777 -7.023,13.801 -14.82,13.801zM332.211,478.637"/>
<path android:fillColor="#cdd6df" android:pathData="m342.695,301.844h-54.109c8.621,0 15.434,7.316 14.82,15.918l-11.465,160.875h40.27c7.797,0 14.27,-6.023 14.82,-13.801l10.484,-147.074c0.613,-8.602 -6.199,-15.918 -14.82,-15.918zM342.695,301.844"/>
<path android:fillColor="#cdd6df" android:pathData="m350.594,504.5h-289.309c-7.141,0 -12.93,-5.789 -12.93,-12.93 0,-7.145 5.789,-12.934 12.93,-12.934h289.309c7.141,0 12.93,5.789 12.93,12.934 0,7.141 -5.789,12.93 -12.93,12.93zM350.594,504.5"/>
<path android:fillColor="#fff" android:pathData="m226.633,396.172c0,11.43 -9.266,20.695 -20.695,20.695s-20.695,-9.266 -20.695,-20.695 9.266,-20.695 20.695,-20.695 20.695,9.266 20.695,20.695zM226.633,396.172"/>
<path android:fillColor="#FF000000" android:pathData="m370.836,117.043c0,-3.797 -3.523,-6.762 -6.301,-6.762 -0.648,0 -1.297,0.094 -1.758,0.465l-23.527,15.281c-2.129,1.391 -2.871,3.613 -2.871,5.188 0,1.574 0.742,3.797 2.871,5.188l23.527,15.281c0.461,0.371 1.109,0.465 1.758,0.465 2.777,0 6.301,-2.965 6.301,-6.762 0,-1.574 -0.648,-2.965 -1.668,-3.613l-16.305,-10.559 16.305,-10.559c1.016,-0.648 1.668,-2.039 1.668,-3.613zM370.836,117.043"/>
<path android:fillColor="#FF000000" android:pathData="m417.426,85.367c-1.668,0 -3.152,0.738 -3.891,2.316l-32.512,66.777c-0.277,0.555 -0.465,1.203 -0.465,1.762 0,2.313 2.039,4.906 5.191,4.906 1.758,0 3.52,-0.926 4.168,-2.313l32.602,-66.781c0.277,-0.555 0.371,-1.203 0.371,-1.762 -0.004,-2.961 -2.875,-4.906 -5.465,-4.906zM417.426,85.367"/>
<path android:fillColor="#FF000000" android:pathData="m464.199,126.027 l-23.523,-15.281c-0.465,-0.371 -1.113,-0.465 -1.762,-0.465 -2.777,0 -6.297,2.965 -6.297,6.762 0,1.574 0.648,2.965 1.668,3.613l16.301,10.559 -16.301,10.559c-1.02,0.648 -1.668,2.039 -1.668,3.613 0,3.797 3.52,6.762 6.297,6.762 0.648,0 1.297,-0.094 1.762,-0.465l23.523,-15.281c2.133,-1.391 2.871,-3.613 2.871,-5.188 0,-1.574 -0.738,-3.797 -2.871,-5.188zM464.199,126.027"/>
<path android:fillColor="#FF000000" android:pathData="m475.734,37.289h-161.484c-8.344,-21.781 -29.473,-37.289 -54.156,-37.289h-108.313c-31.957,0 -57.961,26.004 -57.961,57.961v65.816c-6.461,5.566 -9.465,14.273 -7.875,23.039l4.258,23.43c1.531,8.047 5.805,12.184 9.117,14.234 3.707,2.293 7.82,3.051 11.598,3.07v4.164c0,21.125 12.324,44.406 33.813,63.879 4.047,3.664 8.254,7.043 12.543,10.098v12.563c0,3.828 -2.73,7.113 -6.496,7.813 -0.176,0.031 -0.348,0.07 -0.52,0.113 -0.129,0.035 -13.004,3.391 -29.836,8.164h-54.996c-6.184,0 -12.148,2.598 -16.363,7.121 -4.215,4.523 -6.379,10.66 -5.938,16.828l0.148,2.117c-24.598,12.336 -40.074,34.453 -41.551,59.59 -0.004,0.105 -0.008,0.211 -0.012,0.316l-1.707,103.238c-0.094,7.57 2.789,14.707 8.105,20.094 5.324,5.387 12.422,8.352 19.996,8.352h355.668c7.57,0 14.672,-2.965 19.992,-8.352 5.32,-5.387 8.203,-12.52 8.109,-20.125l-1.707,-103.207c-0.004,-0.105 -0.008,-0.211 -0.016,-0.316 -1.516,-25.863 -17.852,-48.527 -43.703,-60.633 -0.473,-0.223 -0.969,-0.449 -1.48,-0.68l0.027,-0.395c0.438,-6.168 -1.727,-12.301 -5.938,-16.828 -4.215,-4.523 -10.18,-7.121 -16.363,-7.121h-51.238c-16.828,-4.773 -29.707,-8.129 -29.836,-8.16 -0.172,-0.047 -0.344,-0.086 -0.52,-0.117 -3.766,-0.699 -6.496,-3.984 -6.496,-7.813v-12.559c4.289,-3.059 8.496,-6.438 12.543,-10.102 13.656,-12.375 23.613,-26.289 29.055,-40.211h48.73l-8.512,34.355c-1.418,5.73 0.855,11.52 5.793,14.75 2.32,1.52 4.922,2.273 7.512,2.273 2.93,0 5.844,-0.961 8.328,-2.871l63.148,-48.508h54.531c19.762,0 35.836,-16.074 35.836,-35.836v-106.422c0,-19.758 -16.074,-35.836 -35.836,-35.836zM300.977,136.734c2.867,-0.977 5.582,-1.379 7.352,-1.539 2.355,2.09 3.465,5.531 2.848,8.938l-4.234,23.313c-0.617,3.254 -1.867,4.027 -2.277,4.281 -0.871,0.539 -2.156,0.816 -3.695,0.832zM108.82,57.961c0,-23.688 19.273,-42.961 42.961,-42.961h108.316c23.688,0 42.961,19.273 42.961,42.961v62.84c-3.711,0.656 -8.332,1.914 -12.844,4.32v-45.699c0,-16.434 -13.371,-29.805 -29.805,-29.805h-20.27c-7.027,0 -13.891,2.449 -19.332,6.895l-1.984,1.625c-3.625,2.965 -8.203,4.598 -12.887,4.598s-9.258,-1.633 -12.883,-4.594l-1.988,-1.629c-5.438,-4.445 -12.305,-6.895 -19.332,-6.895h-20.266c-16.434,0 -29.805,13.367 -29.805,29.805v45.695c-4.512,-2.402 -9.133,-3.664 -12.844,-4.316zM107.215,171.727c-0.41,-0.254 -1.66,-1.027 -2.266,-4.219l-4.246,-23.371c-0.617,-3.406 0.492,-6.844 2.84,-8.938 1.77,0.16 4.488,0.555 7.359,1.531l0.008,35.828c-1.535,-0.016 -2.82,-0.293 -3.695,-0.832zM40.855,491.566c0,1.883 0.258,3.703 0.734,5.434h-13.484c-3.531,0 -6.84,-1.383 -9.324,-3.895 -2.48,-2.512 -3.82,-5.84 -3.781,-9.336l1.707,-103.043c1.109,-18.008 11.09,-33.621 27.742,-43.832l9.156,128.473c0.168,2.359 0.707,4.613 1.551,6.711 -8.281,2.609 -14.301,10.359 -14.301,19.488zM354.512,465.367 L363.816,334.824c18.82,10.098 30.168,26.625 31.355,45.902l1.707,103.012c0.039,3.527 -1.305,6.855 -3.781,9.367 -2.484,2.512 -5.793,3.895 -9.324,3.895h-13.484c0.48,-1.73 0.734,-3.551 0.734,-5.434 0,-10.363 -7.754,-18.945 -17.766,-20.254 0.676,-1.879 1.109,-3.871 1.254,-5.945zM356.023,491.566c0,2.996 -2.438,5.434 -5.43,5.434h-289.309c-2.992,0 -5.43,-2.438 -5.43,-5.434 0,-2.992 2.438,-5.43 5.43,-5.43h289.309c2.992,0 5.43,2.438 5.43,5.43zM348.082,311.688c1.406,1.512 2.102,3.477 1.953,5.539l-10.484,147.078c-0.273,3.832 -3.496,6.832 -7.34,6.832h-256.305c-3.84,0 -7.063,-3 -7.34,-6.836l-10.48,-147.074c-0.148,-2.063 0.547,-4.027 1.953,-5.539 1.41,-1.512 3.32,-2.344 5.387,-2.344h277.27c2.063,0 3.977,0.832 5.387,2.344zM246.195,294.344h-80.512c4.102,-4.172 6.59,-9.883 6.59,-16.09v-3.355c11.824,6.121 23.574,9.555 33.664,9.555s21.84,-3.434 33.668,-9.555v3.355c0,6.207 2.488,11.918 6.59,16.09zM257.074,244.477c-16.746,15.172 -36.816,24.977 -51.137,24.977 -14.316,0 -34.387,-9.805 -51.133,-24.977 -18.359,-16.629 -28.887,-35.863 -28.887,-52.766l-0.016,-47.25c0.098,0 0.195,0.004 0.293,0.004 1.355,0 2.723,-0.266 4.031,-0.813 3.91,-1.633 6.438,-5.426 6.438,-9.66v-54.57c0,-8.164 6.641,-14.805 14.805,-14.805h20.27c3.574,0 7.066,1.246 9.832,3.508l1.992,1.629c6.297,5.145 14.242,7.98 22.375,7.98s16.082,-2.836 22.379,-7.984l1.988,-1.625c2.766,-2.262 6.262,-3.508 9.836,-3.508h20.266c8.164,0 14.809,6.641 14.809,14.805v54.57c0,4.238 2.523,8.027 6.438,9.66 1.398,0.586 2.871,0.848 4.32,0.809l-0.012,47.254c0.004,16.898 -10.527,36.133 -28.887,52.762zM496.57,179.547c0,11.488 -9.344,20.836 -20.836,20.836h-57.078c-1.652,0 -3.258,0.547 -4.566,1.555l-62.211,47.785 9.918,-40.035c0.555,-2.238 0.051,-4.609 -1.371,-6.426 -1.422,-1.816 -3.602,-2.879 -5.906,-2.879h-54.223c0.441,-2.918 0.668,-5.813 0.668,-8.668v-4.164c3.773,-0.02 7.887,-0.777 11.594,-3.07 3.316,-2.051 7.59,-6.188 9.129,-14.293l4.246,-23.371c1.594,-8.766 -1.418,-17.477 -7.875,-23.039v-65.816c0,-1.91 -0.094,-3.805 -0.277,-5.672h157.953c11.492,0 20.836,9.348 20.836,20.836zM496.57,179.547"/>
<path android:fillColor="#FF000000" android:pathData="m205.938,424.367c15.547,0 28.195,-12.648 28.195,-28.195s-12.648,-28.195 -28.195,-28.195 -28.195,12.648 -28.195,28.195 12.648,28.195 28.195,28.195zM205.938,382.977c7.277,0 13.195,5.922 13.195,13.195 0,7.277 -5.918,13.195 -13.195,13.195 -7.273,0 -13.195,-5.918 -13.195,-13.195 0,-7.273 5.922,-13.195 13.195,-13.195zM205.938,382.977"/>
</vector>