소스 검색

Update library shortcut icon

arkon 5 년 전
부모
커밋
ea75f63dfb
2개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      app/shortcuts.xml
  2. 4 1
      app/src/main/res/drawable/sc_collections_bookmark_48dp.xml

+ 1 - 1
app/shortcuts.xml

@@ -2,7 +2,7 @@
 
     <shortcut
         android:enabled="true"
-        android:icon="@drawable/sc_book_48dp"
+        android:icon="@drawable/sc_collections_bookmark_48dp"
         android:shortcutDisabledMessage="@string/app_not_available"
         android:shortcutId="show_library"
         android:shortcutLongLabel="@string/label_library"

+ 4 - 1
app/src/main/res/drawable/sc_book_48dp.xml → app/src/main/res/drawable/sc_collections_bookmark_48dp.xml

@@ -14,6 +14,9 @@
         android:translateY="12">
         <path
             android:fillColor="@color/colorPrimary"
-            android:pathData="M18,2H6c-1.1,0 -2,0.9 -2,2v16c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2V4c0,-1.1 -0.9,-2 -2,-2zM6,4h5v8l-2.5,-1.5L6,12V4z" />
+            android:pathData="M4,6H2v14c0,1.1 0.9,2 2,2h14v-2H4V6z"/>
+        <path
+            android:fillColor="@color/colorPrimary"
+            android:pathData="M20,2L8,2c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM20,12l-2.5,-1.5L15,12L15,4h5v8z"/>
     </group>
 </vector>