Skip to content

Commit

Permalink
Merge pull request #356 from Reco1I/new-menu
Browse files Browse the repository at this point in the history
Redesign mod customization menu
  • Loading branch information
Rian8337 committed May 13, 2024
2 parents be1ae05 + 8980269 commit 1323527
Show file tree
Hide file tree
Showing 20 changed files with 488 additions and 587 deletions.
9 changes: 9 additions & 0 deletions res/color/checkbox.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">

<item android:color="#363653" android:state_checked="false" android:state_enabled="true" />
<item android:color="#80373754" android:state_checked="false" android:state_enabled="false" />
<item android:color="@color/colorAccent" android:state_checked="true" android:state_enabled="true" />
<item android:color="#80F27272" android:state_checked="true" android:state_enabled="false" />

</selector>
5 changes: 5 additions & 0 deletions res/color/seekbar_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="#363653" android:state_enabled="true"/>
<item android:color="#80363653" android:state_enabled="false"/>
</selector>
7 changes: 7 additions & 0 deletions res/color/seekbar_progress.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">

<item android:color="@color/colorAccent" android:state_enabled="true" />
<item android:color="#80F27272" android:state_enabled="false" />

</selector>
7 changes: 7 additions & 0 deletions res/color/textview.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">

<item android:color="#FFF" android:state_enabled="true"/>
<item android:color="#808080" android:state_enabled="false"/>

</selector>
11 changes: 11 additions & 0 deletions res/drawable/rounded_half_right.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">

<corners
android:topRightRadius="15dp"
android:bottomRightRadius="15dp" />

<solid android:color="#FFFFFF" />

</shape>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<item android:id="@android:id/background">
<shape>
<solid android:color="#363653" />
<solid android:color="@color/seekbar_background" />
<corners android:radius="12dp" />
</shape>
</item>
Expand All @@ -12,7 +12,7 @@

<clip>
<shape>
<solid android:color="#7474B3" />
<solid android:color="@color/seekbar_progress" />
<corners android:radius="12dp" />
</shape>
</clip>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">

<size android:height="16dp" android:width="24dp"/>
<size android:height="16dp" android:width="16dp"/>
<corners android:radius="12dp"/>
<solid android:color="#FFFFFF" />
<solid android:color="@color/textview" />

</shape>
10 changes: 10 additions & 0 deletions res/drawable/tune_24px.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960"
android:tint="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M479.99,830Q467.23,830 458.62,821.37Q450,812.75 450,800L450,640Q450,627.25 458.63,618.63Q467.26,610 480.01,610Q492.77,610 501.38,618.63Q510,627.25 510,640L510,690L800,690Q812.75,690 821.37,698.63Q830,707.26 830,720.01Q830,732.77 821.37,741.38Q812.75,750 800,750L510,750L510,800Q510,812.75 501.37,821.37Q492.74,830 479.99,830ZM160,750Q147.25,750 138.63,741.37Q130,732.74 130,719.99Q130,707.23 138.63,698.62Q147.25,690 160,690L320,690Q332.75,690 341.37,698.63Q350,707.26 350,720.01Q350,732.77 341.37,741.38Q332.75,750 320,750L160,750ZM319.99,590Q307.23,590 298.62,581.37Q290,572.75 290,560L290,510L160,510Q147.25,510 138.63,501.37Q130,492.74 130,479.99Q130,467.23 138.63,458.62Q147.25,450 160,450L290,450L290,400Q290,387.25 298.63,378.63Q307.26,370 320.01,370Q332.77,370 341.38,378.63Q350,387.25 350,400L350,560Q350,572.75 341.37,581.37Q332.74,590 319.99,590ZM480,510Q467.25,510 458.63,501.37Q450,492.74 450,479.99Q450,467.23 458.63,458.62Q467.25,450 480,450L800,450Q812.75,450 821.37,458.63Q830,467.26 830,480.01Q830,492.77 821.37,501.38Q812.75,510 800,510L480,510ZM639.99,350Q627.23,350 618.62,341.37Q610,332.75 610,320L610,160Q610,147.25 618.63,138.63Q627.26,130 640.01,130Q652.77,130 661.38,138.63Q670,147.25 670,160L670,210L800,210Q812.75,210 821.37,218.63Q830,227.26 830,240.01Q830,252.77 821.37,261.38Q812.75,270 800,270L670,270L670,320Q670,332.75 661.37,341.37Q652.74,350 639.99,350ZM160,270Q147.25,270 138.63,261.37Q130,252.74 130,239.99Q130,227.23 138.63,218.62Q147.25,210 160,210L480,210Q492.75,210 501.37,218.63Q510,227.26 510,240.01Q510,252.77 501.37,261.38Q492.75,270 480,270L160,270Z"/>
</vector>

0 comments on commit 1323527

Please sign in to comment.