Skip to content
Snippets Groups Projects
Commit 04a8ceb3 authored by mrsyaban's avatar mrsyaban
Browse files

style: edit navbar style

parent c0f4fb24
Branches
Tags
1 merge request!8Dev
Showing
with 116 additions and 57 deletions
PSI
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="17" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="deploymentTargetDropDown">
<value>
<entry key="app">
<State />
</entry>
</value>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
<option name="resolveExternalAnnotations" value="false" />
</GradleProjectSettings>
</option>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="KotlinJpsPluginSettings">
<option name="version" value="1.9.22" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectMigrations">
<option name="MigrateToGradleLocalJavaHome">
<set>
<option value="$PROJECT_DIR$" />
</set>
</option>
</component>
</project>
\ No newline at end of file
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
\ No newline at end of file
...@@ -15,6 +15,12 @@ import com.google.android.material.bottomnavigation.BottomNavigationView ...@@ -15,6 +15,12 @@ import com.google.android.material.bottomnavigation.BottomNavigationView
import com.pbd.psi.databinding.ActivityMainBinding import com.pbd.psi.databinding.ActivityMainBinding
import com.pbd.psi.databinding.FragmentSettingsBinding import com.pbd.psi.databinding.FragmentSettingsBinding
import com.pbd.psi.services.BackgroundService import com.pbd.psi.services.BackgroundService
import android.content.res.ColorStateList
import android.graphics.Color
class MainActivity : AppCompatActivity() { class MainActivity : AppCompatActivity() {
......
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@color/navbar_icon" android:state_checked="true"/>
<item android:color="@color/navbar_icon" android:state_checked="false"/>
</selector>
\ No newline at end of file
<vector android:height="24dp" android:tint="#000000"
android:viewportHeight="24" android:viewportWidth="24"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M9.4,10.5l4.77,-8.26C13.47,2.09 12.75,2 12,2c-2.4,0 -4.6,0.85 -6.32,2.25l3.66,6.35 0.06,-0.1zM21.54,9c-0.92,-2.92 -3.15,-5.26 -6,-6.34L11.88,9h9.66zM21.8,10h-7.49l0.29,0.5 4.76,8.25C21,16.97 22,14.61 22,12c0,-0.69 -0.07,-1.35 -0.2,-2zM8.54,12l-3.9,-6.75C3.01,7.03 2,9.39 2,12c0,0.69 0.07,1.35 0.2,2h7.49l-1.15,-2zM2.46,15c0.92,2.92 3.15,5.26 6,6.34L12.12,15L2.46,15zM13.73,15l-3.9,6.76c0.7,0.15 1.42,0.24 2.17,0.24 2.4,0 4.6,-0.85 6.32,-2.25l-3.66,-6.35 -0.93,1.6z"/>
</vector>
<vector
android:height="24dp"
android:tint="#000000"
android:viewportHeight="24"
android:viewportWidth="24"
android:width="24dp"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M7,3H4v3H2V1h5V3zM22,6V1h-5v2h3v3H22zM7,21H4v-3H2v5h5V21zM20,18v3h-3v2h5v-5H20zM19,18c0,1.1 -0.9,2 -2,2H7c-1.1,0 -2,-0.9 -2,-2V6c0,-1.1 0.9,-2 2,-2h10c1.1,0 2,0.9 2,2V18zM15,8H9v2h6V8zM15,11H9v2h6V11zM15,14H9v2h6V14z"/>
</vector>
<vector
android:height="24dp"
android:tint="#000000"
android:viewportHeight="24"
android:viewportWidth="24"
android:width="24dp"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M11,2v20c-5.07,-0.5 -9,-4.79 -9,-10s3.93,-9.5 9,-10zM13.03,2v8.99L22,10.99c-0.47,-4.74 -4.24,-8.52 -8.97,-8.99zM13.03,13.01L13.03,22c4.74,-0.47 8.5,-4.25 8.97,-8.99h-8.97z"/>
</vector>
<vector
android:height="24dp"
android:tint="#000000"
android:viewportHeight="24"
android:viewportWidth="24"
android:width="24dp"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M18,17L6,17v-2h12v2zM18,13L6,13v-2h12v2zM18,9L6,9L6,7h12v2zM3,22l1.5,-1.5L6,22l1.5,-1.5L9,22l1.5,-1.5L12,22l1.5,-1.5L15,22l1.5,-1.5L18,22l1.5,-1.5L21,22L21,2l-1.5,1.5L18,2l-1.5,1.5L15,2l-1.5,1.5L12,2l-1.5,1.5L9,2 7.5,3.5 6,2 4.5,3.5 3,2v20z"/>
</vector>
<vector
android:height="24dp"
android:tint="#000000"
android:viewportHeight="24"
android:viewportWidth="24"
android:width="24dp"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M19.14,12.94c0.04,-0.3 0.06,-0.61 0.06,-0.94c0,-0.32 -0.02,-0.64 -0.07,-0.94l2.03,-1.58c0.18,-0.14 0.23,-0.41 0.12,-0.61l-1.92,-3.32c-0.12,-0.22 -0.37,-0.29 -0.59,-0.22l-2.39,0.96c-0.5,-0.38 -1.03,-0.7 -1.62,-0.94L14.4,2.81c-0.04,-0.24 -0.24,-0.41 -0.48,-0.41h-3.84c-0.24,0 -0.43,0.17 -0.47,0.41L9.25,5.35C8.66,5.59 8.12,5.92 7.63,6.29L5.24,5.33c-0.22,-0.08 -0.47,0 -0.59,0.22L2.74,8.87C2.62,9.08 2.66,9.34 2.86,9.48l2.03,1.58C4.84,11.36 4.8,11.69 4.8,12s0.02,0.64 0.07,0.94l-2.03,1.58c-0.18,0.14 -0.23,0.41 -0.12,0.61l1.92,3.32c0.12,0.22 0.37,0.29 0.59,0.22l2.39,-0.96c0.5,0.38 1.03,0.7 1.62,0.94l0.36,2.54c0.05,0.24 0.24,0.41 0.48,0.41h3.84c0.24,0 0.44,-0.17 0.47,-0.41l0.36,-2.54c0.59,-0.24 1.13,-0.56 1.62,-0.94l2.39,0.96c0.22,0.08 0.47,0 0.59,-0.22l1.92,-3.32c0.12,-0.22 0.07,-0.47 -0.12,-0.61L19.14,12.94zM12,15.6c-1.98,0 -3.6,-1.62 -3.6,-3.6s1.62,-3.6 3.6,-3.6s3.6,1.62 3.6,3.6S13.98,15.6 12,15.6z"/>
</vector>
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"
android:drawable="@drawable/document_scanner_24_pressed" /> <!-- pressed -->
<item android:state_selected="true"
android:drawable="@drawable/document_scanner_24_pressed" /> <!-- checked -->
<item android:drawable="@drawable/baseline_document_scanner_24" /> <!-- default -->
</selector>
\ No newline at end of file
<vector
android:height="24dp"
android:viewportHeight="24"
android:viewportWidth="24"
android:width="24dp"
xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@color/colorPrimaryDark" android:pathData="M7,3H4v3H2V1h5V3zM22,6V1h-5v2h3v3H22zM7,21H4v-3H2v5h5V21zM20,18v3h-3v2h5v-5H20zM19,18c0,1.1 -0.9,2 -2,2H7c-1.1,0 -2,-0.9 -2,-2V6c0,-1.1 0.9,-2 2,-2h10c1.1,0 2,0.9 2,2V18zM15,8H9v2h6V8zM15,11H9v2h6V11zM15,14H9v2h6V14z"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="16dp"
android:height="21dp"
android:viewportWidth="16"
android:viewportHeight="21">
<path
android:pathData="M8.115,20.925C7.817,20.925 7.53,20.819 7.319,20.632C7.108,20.444 6.989,20.19 6.989,19.925L6.989,1.925C6.989,1.659 7.108,1.405 7.319,1.217C7.53,1.03 7.817,0.925 8.115,0.925C8.414,0.925 8.701,1.03 8.912,1.217C9.123,1.405 9.242,1.659 9.242,1.925L9.242,19.925C9.242,20.19 9.123,20.444 8.912,20.632C8.701,20.819 8.414,20.925 8.115,20.925Z"
android:fillColor="#12E400"
android:fillType="evenOdd"/>
<path
android:pathData="M8.913,20.669C8.808,20.774 8.684,20.857 8.547,20.914C8.41,20.971 8.264,21 8.115,21C7.967,21 7.821,20.971 7.684,20.914C7.547,20.857 7.423,20.774 7.318,20.669L0.561,13.912C0.35,13.701 0.231,13.414 0.231,13.115C0.231,12.816 0.35,12.529 0.561,12.318C0.773,12.106 1.06,11.987 1.359,11.987C1.658,11.987 1.944,12.106 2.156,12.318L8.115,18.279L14.075,12.318C14.287,12.106 14.573,11.987 14.872,11.987C15.172,11.987 15.458,12.106 15.67,12.318C15.881,12.529 16,12.816 16,13.115C16,13.414 15.881,13.701 15.67,13.912L8.913,20.669Z"
android:fillColor="#12E400"
android:fillType="evenOdd"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="512"
android:viewportHeight="512">
<path
android:pathData="M268.5,44.6c-4.7,2.6 -8.6,6.6 -10.6,10.9 -1.8,3.8 -1.9,8.5 -1.9,93 0,60.2 0.4,90.2 1.1,92.9 1.4,5 8.2,11.8 13.5,13.4 3.1,0.9 25.5,1.2 93,1.2 99.6,-0 93.3,0.4 100.1,-7.3 4.9,-5.6 5.7,-9.3 5,-24.6 -2.9,-67.7 -43.8,-130.2 -105.2,-160.8 -25.5,-12.8 -49.7,-19 -77,-19.9 -12.7,-0.4 -15.5,-0.2 -18,1.2zM310,89c29.5,7 51.3,19.2 72.6,40.4 21.2,21.3 33.4,43.1 40.4,72.6 1.1,4.7 2,9.1 2,9.7 0,1 -13.3,1.3 -63,1.3l-63,-0 0,-63c0,-49.7 0.3,-63 1.3,-63 0.6,-0 5,0.9 9.7,2z"
android:fillColor="#DADADA"
android:strokeColor="#00000000"/>
<path
android:pathData="M175.9,58.4c-72.7,29.7 -123.1,96.3 -132,174.6 -1.5,13.4 -0.6,45.3 1.6,57.5 8.4,46.5 27.8,84 59.9,116.1 34.9,34.9 79.3,56.1 128.7,61.5 14.9,1.6 44.5,0.6 58.9,-2.1 74,-13.6 134.1,-62.7 161.5,-131.9 3.2,-8.1 3.7,-10.2 3.3,-15.6 -0.4,-7.3 -3.1,-12 -9.1,-16.2 -4.5,-3.1 -13.4,-4.2 -19,-2.4 -5.5,1.8 -11.1,8.1 -13.7,15.3 -3.5,9.9 -11.6,25.4 -18.5,35.8 -25.5,38.4 -66.2,64.9 -112.4,73.2 -16.2,2.9 -42,2.9 -58.2,-0 -62.7,-11.3 -112.7,-54.4 -132.8,-114.8 -6.1,-18.2 -8.3,-32.4 -8.3,-53.4 0,-13.5 0.4,-20.2 2.1,-29.4 9.5,-53.4 43.9,-99.4 91.8,-123 6,-2.9 13.6,-6.3 17.1,-7.6 7.2,-2.6 13.5,-8.2 15.3,-13.7 0.6,-1.9 0.9,-6.2 0.7,-9.4 -0.8,-11.1 -9.3,-18.9 -20.7,-18.9 -4.3,-0 -8.1,1 -16.2,4.4z"
android:fillColor="#DADADA"
android:strokeColor="#00000000"/>
</vector>
<vector android:height="24dp" android:viewportHeight="512"
android:viewportWidth="512" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#DADADA"
android:pathData="M59.8,33.9c-3.1,1 -7.2,2.8 -9.2,4 -5.6,3.5 -13.3,12.6 -15.8,18.9 -2.3,5.7 -2.3,5.8 -2.3,54.2l0,48.5 2.3,4.3c4.7,8.8 16.1,13.7 26.6,11.3 6.9,-1.5 12.9,-5.8 15.8,-11.3 2.3,-4.2 2.3,-4.9 2.6,-44l0.3,-39.7 39.7,-0.3c39.1,-0.3 39.8,-0.3 44,-2.6 8.8,-4.7 13.7,-16.1 11.3,-26.6 -1.5,-6.9 -5.8,-12.9 -11.3,-15.8 -4.3,-2.3 -4.5,-2.3 -51.3,-2.5 -43.2,-0.2 -47.5,-0.1 -52.7,1.6z" android:strokeColor="#00000000"/>
<path android:fillColor="#DADADA"
android:pathData="M353,32.9c-8.6,2.7 -14.1,8.7 -16.1,17.7 -2.4,10.5 2.5,21.9 11.3,26.6 4.2,2.3 4.9,2.3 44,2.6l39.7,0.3 0.3,39.7c0.3,39.1 0.3,39.8 2.6,44 2.9,5.5 8.9,9.8 15.8,11.3 10.5,2.4 21.9,-2.5 26.6,-11.3l2.3,-4.3 0,-48.5 0,-48.5 -2.4,-6c-3.3,-8.3 -13.3,-18.3 -21.6,-21.6l-6,-2.4 -47,-0.2c-25.8,-0.1 -48.1,0.2 -49.5,0.6z" android:strokeColor="#00000000"/>
<path android:fillColor="#DADADA"
android:pathData="M49,232.9c-8.6,2.6 -14.1,8.7 -16.1,17.7 -2.4,10.5 2.5,21.9 11.3,26.6l4.3,2.3 207.5,-0 207.5,-0 4.3,-2.3c8.8,-4.7 13.7,-16.1 11.3,-26.6 -1.5,-6.9 -5.8,-12.9 -11.3,-15.8l-4.3,-2.3 -206,-0.2c-113.3,-0.1 -207.1,0.2 -208.5,0.6z" android:strokeColor="#00000000"/>
<path android:fillColor="#DADADA"
android:pathData="M48.2,337.5c-5.8,1.8 -10.8,5.8 -13.5,10.8 -2.2,4.2 -2.2,4.4 -2.2,52.7l0,48.5 2.4,6c3.3,8.3 13.3,18.3 21.6,21.6l6,2.4 48.5,-0 48.5,-0 4.3,-2.3c5.5,-2.9 9.8,-8.9 11.3,-15.8 2.4,-10.5 -2.5,-21.9 -11.3,-26.6 -4.2,-2.3 -4.9,-2.3 -44,-2.6l-39.7,-0.3 -0.3,-39.7c-0.3,-38.9 -0.3,-39.8 -2.5,-43.9 -2.8,-5.2 -7.7,-9 -13.9,-10.9 -5.7,-1.7 -9.5,-1.7 -15.2,0.1z" android:strokeColor="#00000000"/>
<path android:fillColor="#DADADA"
android:pathData="M448.2,337.5c-5.8,1.8 -10.8,5.8 -13.5,10.8 -2.2,4.1 -2.2,5 -2.5,43.9l-0.3,39.7 -39.7,0.3c-39.1,0.3 -39.8,0.3 -44,2.6 -8.8,4.7 -13.7,16.1 -11.3,26.6 1.5,6.9 5.8,12.9 11.3,15.8l4.3,2.3 48.5,-0 48.5,-0 6,-2.4c4.4,-1.8 7.8,-4.2 12.6,-9 4.8,-4.8 7.2,-8.2 9,-12.6l2.4,-6 0,-48.5c0,-48.3 0,-48.5 -2.2,-52.7 -2.8,-5.2 -7.7,-9 -13.9,-10.9 -5.7,-1.7 -9.5,-1.7 -15.2,0.1z" android:strokeColor="#00000000"/>
</vector>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment