Эх сурвалжийг харах

Convert nav drawer icon to webp

arkon 5 жил өмнө
parent
commit
19adbeebd5

BIN
app/src/main/res/drawable-hdpi/tachiyomi_circle.png


BIN
app/src/main/res/drawable-hdpi/tachiyomi_circle.webp


BIN
app/src/main/res/drawable-mdpi/tachiyomi_circle.png


BIN
app/src/main/res/drawable-mdpi/tachiyomi_circle.webp


BIN
app/src/main/res/drawable-xhdpi/tachiyomi_circle.png


BIN
app/src/main/res/drawable-xhdpi/tachiyomi_circle.webp


BIN
app/src/main/res/drawable-xxhdpi/tachiyomi_circle.png


BIN
app/src/main/res/drawable-xxhdpi/tachiyomi_circle.webp


BIN
app/src/main/res/drawable-xxxhdpi/tachiyomi_circle.png


BIN
app/src/main/res/drawable-xxxhdpi/tachiyomi_circle.webp


+ 8 - 9
app/src/main/res/layout/navigation_header.xml

@@ -1,15 +1,14 @@
 <?xml version="1.0" encoding="utf-8"?>
 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
-             android:layout_width="match_parent"
-             android:layout_height="@dimen/navigation_drawer_header_height"
-             android:gravity="bottom"
-             android:theme="@style/ThemeOverlay.AppCompat.Dark">
+    android:layout_width="match_parent"
+    android:layout_height="@dimen/navigation_drawer_header_height"
+    android:gravity="bottom"
+    android:theme="@style/ThemeOverlay.AppCompat.Dark">
 
-    <ImageView
+    <FrameLayout
         android:layout_width="match_parent"
         android:layout_height="match_parent"
-        android:background="@color/colorPrimary"
-        android:scaleType="centerCrop"/>
+        android:background="@color/colorPrimary" />
 
     <ImageView
         android:layout_width="64dp"
@@ -17,6 +16,6 @@
         android:layout_marginLeft="16dp"
         android:layout_marginTop="@dimen/navigation_drawer_header_margin"
         android:scaleType="centerCrop"
-        android:src="@drawable/tachiyomi_circle"/>
+        android:src="@drawable/tachiyomi_circle" />
 
-</FrameLayout>
+</FrameLayout>