mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-22 16:10:31 +00:00
Use material icon
This commit is contained in:
parent
7de17ad949
commit
bd6fdd625a
@ -31,7 +31,7 @@ public final class ServiceHelper {
|
||||
public static int getIcon(final int serviceId) {
|
||||
switch (serviceId) {
|
||||
case 0:
|
||||
return R.drawable.ic_placeholder_yt;
|
||||
return R.drawable.ic_smart_display;
|
||||
case 1:
|
||||
return R.drawable.ic_placeholder_cloud;
|
||||
case 2:
|
||||
|
@ -1,10 +0,0 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportHeight="512"
|
||||
android:viewportWidth="512"
|
||||
android:tint="@color/defaultIconTint">
|
||||
<path
|
||||
android:pathData="M156.5,88.1c-56.6,1.8 -79.9,3.7 -91.4,7.5 -9.8,3.3 -15.2,6.6 -23.4,14.3 -8.6,8.1 -14.4,19.5 -18.7,36.3 -8.5,33.7 -10.7,128 -4.5,191.8 5.4,54.7 22.2,75.5 65.6,81.4 57.2,7.8 314,7 354.9,-1 11,-2.2 22.7,-8.2 31.1,-16.2 8.7,-8.1 14.4,-19.2 18.8,-36.2 10.8,-42.1 10.8,-177.1 0.1,-219.8 -4.3,-16.8 -10.1,-28.2 -18.7,-36.3C454.7,95.2 444.6,92.3 401,90c-55,-2.9 -182,-3.9 -244.5,-1.9zM242.5,168.8c24.8,14.5 56.5,33.2 70.5,41.4 76.7,45 75.2,44.2 73.3,45.5 -1.8,1.4 -32.1,19.5 -94.8,56.8 -19.2,11.5 -36.5,21.7 -38.2,22.8l-3.3,1.9v-44.7l32.1,-18.4c17.6,-10.1 32.2,-18.8 32.4,-19.2 0.3,-0.4 -19.6,-12.7 -44.3,-27.3L225.5,201l-0.6,48.8c-0.3,26.8 -0.7,60.5 -0.8,75l-0.1,26.3 -9.7,6.3c-5.4,3.5 -13.5,8.6 -18,11.5L188,374L188,136.8l4.8,2.8c2.6,1.5 25,14.6 49.7,29.2z"
|
||||
android:fillColor="#FF000000"/>
|
||||
</vector>
|
10
app/src/main/res/drawable/ic_smart_display.xml
Normal file
10
app/src/main/res/drawable/ic_smart_display.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportHeight="24"
|
||||
android:viewportWidth="24"
|
||||
android:tint="@color/defaultIconTint">
|
||||
<path
|
||||
android:pathData="M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM9.5 16.5v-9l7 4.5-7 4.5z"
|
||||
android:fillColor="#FF000000"/>
|
||||
</vector>
|
@ -86,7 +86,7 @@
|
||||
android:scaleType="fitCenter"
|
||||
app:tint="@color/drawer_header_font_color"
|
||||
tools:ignore="ContentDescription"
|
||||
tools:srcCompat="@drawable/ic_placeholder_yt" />
|
||||
tools:srcCompat="@drawable/ic_smart_display" />
|
||||
|
||||
<org.schabi.newpipe.views.NewPipeTextView
|
||||
android:id="@+id/drawer_header_service_view"
|
||||
|
Loading…
Reference in New Issue
Block a user