1
0
Fork 0
mirror of https://github.com/MatomoCamp/matomocamp-companion-android.git synced 2024-09-19 16:13:46 +02:00

Extract identical vector paths to values/vector_paths.xml

This commit is contained in:
Christophe Beyls 2016-12-11 03:03:49 +01:00
parent 6c6bc28ad1
commit 84829c3345
6 changed files with 16 additions and 9 deletions

View file

@ -6,14 +6,14 @@
<path
android:name="bookmark_outline"
android:fillColor="#FFFFFFFF"
android:pathData="M17,18V5H7V18L12,15.82L17,18M17,3A2,2 0 0,1 19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17M11,7H13V9H15V11H13V13H11V11H9V9H11V7Z"/>
android:pathData="@string/path_ic_bookmark_outline"/>
<path
android:name="filler"
android:fillColor="#FFFFFFFF"
android:pathData="M6,4h12v14h-12z"/>
android:pathData="@string/path_ic_bookmark_filler"/>
<path
android:name="check"
android:pathData="M7.71,9.3L11,12.59L16.55,7.05"
android:pathData="@string/path_ic_bookmark_check"
android:strokeColor="?attr/colorPrimary"
android:strokeWidth="2"/>
</vector>

View file

@ -6,14 +6,14 @@
<path
android:name="bookmark_outline"
android:fillColor="#FFFFFFFF"
android:pathData="M17,18V5H7V18L12,15.82L17,18M17,3A2,2 0 0,1 19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17M11,7H13V9H15V11H13V13H11V11H9V9H11V7Z"/>
android:pathData="@string/path_ic_bookmark_outline"/>
<path
android:name="filler"
android:fillColor="#FFFFFFFF"
android:pathData="M6,4h12v14h-12z"/>
android:pathData="@string/path_ic_bookmark_filler"/>
<path
android:name="check"
android:pathData="M7.71,9.3L11,12.59L16.55,7.05"
android:pathData="@string/path_ic_bookmark_check"
android:strokeColor="?attr/colorAccent"
android:strokeWidth="2"/>
</vector>

View file

@ -5,5 +5,5 @@
android:viewportHeight="24.0">
<path
android:fillColor="#FF757575"
android:pathData="M17,3A2,2 0 0,1 19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17M11,14L17.25,7.76L15.84,6.34L11,11.18L8.41,8.59L7,10L11,14Z"/>
android:pathData="@string/path_ic_bookmark"/>
</vector>

View file

@ -5,5 +5,5 @@
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M17,18V5H7V18L12,15.82L17,18M17,3A2,2 0 0,1 19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17M11,7H13V9H15V11H13V13H11V11H9V9H11V7Z"/>
android:pathData="@string/path_ic_bookmark_outline"/>
</vector>

View file

@ -5,5 +5,5 @@
android:viewportHeight="24.0">
<path
android:fillColor="#FFFFFFFF"
android:pathData="M17,3A2,2 0 0,1 19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17M11,14L17.25,7.76L15.84,6.34L11,11.18L8.41,8.59L7,10L11,14Z"/>
android:pathData="@string/path_ic_bookmark"/>
</vector>

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="path_ic_bookmark" translatable="false">M17,3A2,2 0 0,1 19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17M11,14L17.25,7.76L15.84,6.34L11,11.18L8.41,8.59L7,10L11,14Z</string>
<string name="path_ic_bookmark_filler" translatable="false">M6,4h12v14h-12z</string>
<string name="path_ic_bookmark_check" translatable="false">M7.71,9.3L11,12.59L16.55,7.05</string>
<string name="path_ic_bookmark_outline" translatable="false">M17,18V5H7V18L12,15.82L17,18M17,3A2,2 0 0,1 19,5V21L12,18L5,21V5C5,3.89 5.9,3 7,3H17M11,7H13V9H15V11H13V13H11V11H9V9H11V7Z</string>
</resources>