Skip to content

Commit c6cf66e

Browse files
committed
refactor: update missing UI icons to Material Design
Replaces old PNGs and updates vectors for consistent line weight and UI/UX.
1 parent d45ac54 commit c6cf66e

File tree

6 files changed

+23
-21
lines changed

6 files changed

+23
-21
lines changed

app/src/main/java/com/itsaky/androidide/actions/file/ShowTooltipAction.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class ShowTooltipAction(private val context: Context, override val order: Int) :
4242

4343
init {
4444
label = context.getString(R.string.title_show_tooltip)
45-
val drawable = ContextCompat.getDrawable(context, R.drawable.ic_action_help)
45+
val drawable = ContextCompat.getDrawable(context, R.drawable.ic_action_help_outlined)
4646
icon = drawable?.let { tintDrawable(context, it) }
4747
}
4848

app/src/main/java/com/itsaky/androidide/actions/filetree/HelpAction.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class HelpAction(context: Context, override val order: Int) :
1111
BaseFileTreeAction(
1212
context = context,
1313
labelRes = R.string.help,
14-
iconRes = R.drawable.ic_action_help
14+
iconRes = R.drawable.ic_action_help_outlined
1515
) {
1616
override val id: String = "ide.editor.fileTree.help"
1717
override fun retrieveTooltipTag(isReadOnlyContext: Boolean): String {
-1.72 KB
Binary file not shown.
-638 Bytes
Binary file not shown.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<vector xmlns:android="http://schemas.android.com/apk/res/android"
22
android:width="24dp"
33
android:height="24dp"
4-
android:viewportWidth="24"
5-
android:viewportHeight="24"
4+
android:viewportWidth="960"
5+
android:viewportHeight="960"
66
android:tint="?attr/colorControlNormal">
77
<path
88
android:fillColor="@android:color/white"
9-
android:pathData="M19,9h-4V3H9v6H5l7,7 7,-7zM5,18v2h14v-2H5z"/>
9+
android:pathData="M600,840L600,720L440,720L440,320L360,320L360,440L80,440L80,120L360,120L360,240L600,240L600,120L880,120L880,440L600,440L600,320L520,320L520,640L600,640L600,520L880,520L880,840L600,840ZM160,200L160,200L160,360L160,360L160,200ZM680,600L680,600L680,760L680,760L680,600ZM680,200L680,200L680,360L680,360L680,200ZM680,360L800,360L800,200L680,200L680,360ZM680,760L800,760L800,600L680,600L680,760ZM160,360L280,360L280,200L160,200L160,360Z"/>
1010
</vector>
Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
<vector xmlns:android="http://schemas.android.com/apk/res/android"
22
android:width="24dp"
33
android:height="24dp"
4-
android:viewportWidth="24"
5-
android:viewportHeight="24">
6-
7-
<path
8-
android:fillColor="#FF000000"
9-
android:pathData="M18.5,4.5 C17.8,3.8 16.7,3.8 16,4.5 L14,6.5 L17.5,10 L19.5,8 C20.2,7.3 20.2,6.2 19.5,5.5 L18.5,4.5 Z" />
10-
11-
<path
12-
android:fillColor="#FF000000"
13-
android:pathData="M13,7.5 L5,15.5 L4,19 L7.5,18 L15.5,10 L13,7.5 Z" />
14-
15-
<path
16-
android:fillColor="#FF000000"
17-
android:pathData="M18,7 C18.5,7 19,7.5 19,8 C19,9.5 18,11 16.5,11"
18-
android:strokeWidth="1"
19-
android:strokeColor="#FF000000"/>
4+
android:viewportWidth="1596"
5+
android:viewportHeight="1602">
6+
<path
7+
android:pathData="M1405,36.6c-15.2,1.9 -36.2,9.3 -49.7,17.5 -11.1,6.8 -22.5,17.1 -50.8,45.4 -32.6,32.7 -230.1,231.8 -243.5,245.5 -5.2,5.3 -41.7,42 -81,81.6 -58.3,58.6 -201.1,202.8 -235.5,237.8 -4.4,4.5 -21.5,21.9 -38,38.7 -44.1,44.9 -124.7,127 -150.5,153.4 -12.4,12.6 -25,25.5 -28,28.5 -6.7,6.9 -50.8,51.7 -83.9,85.5 -13.5,13.7 -36.9,37.6 -52.1,53 -56,57 -65,66.3 -65,67.9 0,0.9 19.9,21.4 44.3,45.7 24.3,24.2 65.4,65.2 91.3,91.1 51.5,51.3 48.5,49 54,42.5 1.4,-1.8 13.2,-14 26.2,-27.2 40.4,-41.2 56.5,-57.7 97.2,-99.5 21.7,-22.3 51.8,-53.1 67,-68.5 15.1,-15.4 37.6,-38.4 50,-51 12.4,-12.7 45,-45.9 72.5,-73.9 27.5,-27.9 50.2,-51.2 50.5,-51.6 0.6,-1 90.6,-92.6 111,-113 8,-8 30.2,-30.8 49.5,-50.5 19.2,-19.8 50.5,-51.6 69.4,-70.7 18.9,-19.1 34.7,-35.1 35,-35.6 0.5,-0.8 71.8,-72.9 183.1,-185.3 8.5,-8.6 45.6,-46.2 82.5,-83.5 36.8,-37.3 75,-76 85,-85.9 26.5,-26.6 31.9,-33.1 40.7,-49.5 19.2,-35.4 19.3,-83.8 0.2,-120 -7,-13.1 -13,-21.3 -23.1,-31.2 -11.1,-11 -21,-18.2 -33.7,-24.3 -20.4,-9.9 -31.1,-12.5 -54.1,-13 -9.3,-0.2 -18.6,-0.1 -20.5,0.1zM1323.6,165.6c4.9,2 9,5.8 11.5,10.6 2.3,4.6 2.5,13.7 0.4,18.1 -1.5,3.1 -17.3,19.7 -63.5,66.5 -12.4,12.5 -46.8,47.5 -76.5,77.7 -29.7,30.3 -58.7,59.7 -64.5,65.5 -11.2,11.3 -44.7,45.4 -112.5,114.5 -23.1,23.6 -53.5,54.5 -67.5,68.6 -80.2,80.8 -221.5,224.2 -300,304.4 -11.3,11.5 -23.6,24.1 -27.5,28 -20.6,20.8 -67.3,68.4 -83.5,85 -10.2,10.5 -31.5,32.3 -47.5,48.5 -15.9,16.3 -34.4,35.2 -41,42 -13.3,13.8 -18.3,17 -26,17 -6.1,-0 -10.4,-2.1 -15.4,-7.5 -3.9,-4.2 -6.1,-9.6 -6,-14.5 0.1,-7.7 4.1,-12.1 87.4,-96.6 21.4,-21.7 59.4,-60.4 100.5,-102.4 69,-70.5 83,-84.8 100,-102 8.5,-8.7 39.3,-40 68.5,-69.6 29.1,-29.7 68.7,-69.9 88,-89.4 19.3,-19.5 53.7,-54.4 76.4,-77.5 22.8,-23.1 57,-57.8 76,-77 19.1,-19.3 59.1,-60 89.1,-90.5 51,-52 68.4,-69.6 152.6,-155 18.2,-18.4 39.1,-39.7 46.5,-47.3 17.6,-18.1 24.2,-21.4 34.5,-17.1z"
8+
android:fillColor="#000000"
9+
android:strokeColor="#00000000"/>
10+
<path
11+
android:pathData="M359.7,91.7c-0.4,0.8 -5.5,16.9 -8.4,26.8 -11.6,39.7 -30.4,88.2 -46.2,118.8 -9.4,18.5 -8.7,17.2 -14.1,23.8 -10.7,13.1 -20.1,19.5 -49.5,33.9 -13.6,6.7 -38.6,17.3 -49.5,21 -1.4,0.5 -9,3.2 -17,6 -8,2.9 -15.8,5.6 -17.5,6 -1.6,0.4 -6.6,2 -11,3.4 -12.5,4.1 -16.5,5.3 -24,7.2 -3.8,0.9 -7.4,2.1 -7.9,2.6 -1.5,1.3 0.7,2.9 6.1,4.3 7.1,1.9 22.1,6.3 27.3,7.9 2.5,0.7 6.5,1.9 9,2.7 3.9,1.1 12.7,4.3 26,9.4 1.9,0.7 7.3,2.7 12,4.5 10.4,3.9 36.5,14.9 47.9,20.1 11.3,5.3 33.6,18.8 39.4,23.9 4.3,3.8 13.7,15 13.7,16.4 0,0.3 1.4,2.8 3,5.7 7.7,13 26.4,52.8 30,63.9 0.5,1.4 1.8,5 3,8 3.7,9.6 14,40 18.1,53.5 6.5,21.3 8.9,28.7 10,29.9 1.1,1.3 2.2,-1.6 6.9,-17.4 5.8,-19.5 14,-44.2 22.4,-67 2.4,-6.3 12.3,-30.4 15.6,-37.5 11.8,-26 21.5,-42.8 29.9,-51.8 12.7,-13.7 48.5,-32.1 96.1,-49.6 6.3,-2.3 12.5,-4.6 13.8,-5.1 2.1,-0.9 27.3,-9.2 37.2,-12.3 2.5,-0.8 8.3,-2.5 13,-3.8 8.7,-2.3 12.2,-4.2 10.5,-5.7 -0.6,-0.5 -3.7,-1.6 -7,-2.6 -16.9,-4.9 -32.3,-9.8 -49.5,-15.7 -39.3,-13.4 -78.7,-30.9 -96.8,-43 -2.4,-1.6 -4.6,-2.9 -4.9,-2.9 -1,-0 -9.6,-7.1 -13.2,-10.9 -11.5,-12.2 -30.1,-50 -45.6,-92.1 -3.1,-8.5 -6.3,-17.1 -7,-19 -0.8,-1.9 -2.8,-8 -4.5,-13.5 -1.7,-5.5 -3.7,-11.8 -4.5,-14 -0.7,-2.2 -2,-6.5 -2.9,-9.5 -6.6,-23.3 -8.6,-28.6 -9.9,-26.3z"
12+
android:fillColor="#000000"
13+
android:strokeColor="#00000000"/>
14+
<path
15+
android:pathData="M1241.2,1014.6c-0.5,1.1 -2.2,6.4 -3.7,11.9 -5.2,19.1 -17.1,55.5 -23.9,73.5 -7.9,20.8 -10.7,27.6 -16.8,40.5 -12.5,26.8 -17.4,35.6 -25.5,46.4 -3.4,4.6 -11.8,11.3 -20.9,16.8 -5.6,3.4 -41.1,21.1 -45.9,22.9 -1.6,0.6 -7,2.8 -12,4.9 -4.9,2.1 -11.2,4.7 -14,5.7 -5.8,2.2 -49.7,16.8 -57,19 -2.7,0.9 -8.4,2.5 -12.5,3.8 -9.8,2.9 -12,3.8 -12,4.9 0,0.5 1,1.2 2.3,1.6 9.5,2.5 32.9,9.6 48.2,14.5 29.8,9.6 41.2,14 57.5,21.7 49.9,23.8 60.1,30.6 71.1,47.2 8,12 25.9,49.2 33.4,69.1 0.7,1.9 2,5.3 2.8,7.5 6.2,16.3 16.1,46 23.9,71.5 5,16.5 6,19 7.2,17.2 0.3,-0.5 3.3,-10.1 6.6,-21.3 11.1,-37.6 24.4,-75.1 34.5,-97.4 12.8,-28.3 24.2,-48.6 31.7,-56.5 8.2,-8.7 27.7,-20.4 53.8,-32.3 3,-1.4 9.5,-4.4 14.3,-6.6 4.9,-2.3 9.4,-4.1 10.2,-4.1 0.8,-0 1.6,-0.4 2,-1 0.3,-0.5 2,-1.4 3.8,-1.9 1.8,-0.5 5.7,-1.9 8.7,-3.1 3,-1.1 10.7,-3.8 17.1,-6 6.4,-2.2 12.7,-4.3 14,-4.9 1.3,-0.5 4.9,-1.6 7.9,-2.5 3,-0.9 9.1,-2.8 13.5,-4.2 4.4,-1.4 12.1,-3.6 17,-4.9 10.6,-2.6 12.2,-4.7 5.3,-6.6 -33.3,-9.2 -72.6,-22.5 -95.8,-32.4 -30,-12.7 -59.4,-28.5 -69.1,-37.2 -8.3,-7.6 -19.6,-26 -28.7,-46.8 -1.7,-3.9 -5.3,-12.2 -8.2,-18.5 -2.8,-6.3 -6,-14 -7,-17 -2.3,-6.6 -4.2,-11.6 -7,-19 -1.2,-3 -3.2,-8.7 -4.5,-12.5 -1.3,-3.9 -2.8,-8.1 -3.3,-9.5 -1.6,-4.1 -8.7,-27.9 -11.7,-39 -2.2,-8.2 -4.6,-15.2 -5.6,-16.4 -0.4,-0.4 -1.1,-0 -1.7,1z"
16+
android:fillColor="#000000"
17+
android:strokeColor="#00000000"/>
18+
<path
19+
android:pathData="M288.4,1152.3c-19.3,19.7 -30.1,31.3 -39.4,42.3 -26,30.6 -36.1,43.1 -44.5,54.7 -1.6,2.3 -6.4,8.9 -10.5,14.7 -13.6,18.8 -17.5,24.4 -21.4,30.5 -2,3.3 -5.9,9.4 -8.7,13.5 -7.4,11.3 -23.4,38.1 -28.7,47.9 -2.5,4.7 -6.1,11.3 -7.9,14.6 -6.9,12.6 -25.3,50.5 -29.6,61 -2.5,6 -5.6,13.5 -7,16.5 -4.7,10 -4.7,9.7 3.7,18 4.2,4.1 7.6,8.2 7.6,9.3 0,1 -10.1,12.1 -24.1,26.5 -27.5,28.1 -31.4,32.7 -33,38.5 -3.4,12.7 7.9,26.7 21.4,26.7 9.2,-0.1 10.3,-1 51.5,-43.3 9,-9.2 16.8,-16.7 17.4,-16.7 0.6,-0 4.6,3.4 8.9,7.5 4.3,4.1 8.4,7.5 9,7.5 2.6,-0 67.9,-33.6 86.6,-44.6 18.7,-11 56.1,-34.9 67.1,-42.9 46.3,-33.7 65.3,-49 99.7,-80.5 12.3,-11.2 61.5,-60.6 62,-62.2 0.5,-1.4 -64.3,-66.8 -153.2,-154.8 -2.8,-2.7 -5.5,-5 -6,-5 -0.6,-0 -10,9.1 -20.9,20.3zM322.9,1207.8c7.2,7 13.1,13 13.1,13.5 0,0.4 -7.1,7.8 -15.7,16.5 -22.6,22.7 -33.6,34.1 -45.3,47.2 -5.7,6.3 -10.6,11.7 -10.9,12 -2.4,2 -26.4,30.1 -32.1,37.5 -1.4,1.7 -4.8,5.8 -7.7,9.1 -11.7,13.3 -54.9,70.5 -57.3,75.8 -1.3,3 -22.2,33.6 -22.9,33.6 -0.4,-0 -1.8,-1.1 -3.1,-2.5 -1.8,-1.9 -2.1,-3.1 -1.6,-5.5 0.6,-3.4 19.4,-41.9 27.5,-56.5 2.8,-5 5.3,-9.7 5.7,-10.5 0.8,-1.7 22.1,-37 24.4,-40.5 0.8,-1.3 2.8,-4.5 4.4,-7.2 9.3,-15.3 35.8,-51.9 55.7,-76.7 5.7,-7.1 12.2,-15.3 14.5,-18.2 5.1,-6.6 14,-16.8 22.2,-25.6 3.5,-3.7 7.8,-8.5 9.5,-10.7 1.7,-2.3 3.9,-4.1 4.9,-4.1 0.9,-0 7.6,5.7 14.7,12.8z"
20+
android:fillColor="#000000"
21+
android:strokeColor="#00000000"/>
2022
</vector>

0 commit comments

Comments
 (0)