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:
parent
6c6bc28ad1
commit
84829c3345
6 changed files with 16 additions and 9 deletions
|
@ -6,14 +6,14 @@
|
||||||
<path
|
<path
|
||||||
android:name="bookmark_outline"
|
android:name="bookmark_outline"
|
||||||
android:fillColor="#FFFFFFFF"
|
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
|
<path
|
||||||
android:name="filler"
|
android:name="filler"
|
||||||
android:fillColor="#FFFFFFFF"
|
android:fillColor="#FFFFFFFF"
|
||||||
android:pathData="M6,4h12v14h-12z"/>
|
android:pathData="@string/path_ic_bookmark_filler"/>
|
||||||
<path
|
<path
|
||||||
android:name="check"
|
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:strokeColor="?attr/colorPrimary"
|
||||||
android:strokeWidth="2"/>
|
android:strokeWidth="2"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -6,14 +6,14 @@
|
||||||
<path
|
<path
|
||||||
android:name="bookmark_outline"
|
android:name="bookmark_outline"
|
||||||
android:fillColor="#FFFFFFFF"
|
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
|
<path
|
||||||
android:name="filler"
|
android:name="filler"
|
||||||
android:fillColor="#FFFFFFFF"
|
android:fillColor="#FFFFFFFF"
|
||||||
android:pathData="M6,4h12v14h-12z"/>
|
android:pathData="@string/path_ic_bookmark_filler"/>
|
||||||
<path
|
<path
|
||||||
android:name="check"
|
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:strokeColor="?attr/colorAccent"
|
||||||
android:strokeWidth="2"/>
|
android:strokeWidth="2"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -5,5 +5,5 @@
|
||||||
android:viewportHeight="24.0">
|
android:viewportHeight="24.0">
|
||||||
<path
|
<path
|
||||||
android:fillColor="#FF757575"
|
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>
|
</vector>
|
||||||
|
|
|
@ -5,5 +5,5 @@
|
||||||
android:viewportHeight="24.0">
|
android:viewportHeight="24.0">
|
||||||
<path
|
<path
|
||||||
android:fillColor="#FFFFFFFF"
|
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>
|
</vector>
|
||||||
|
|
|
@ -5,5 +5,5 @@
|
||||||
android:viewportHeight="24.0">
|
android:viewportHeight="24.0">
|
||||||
<path
|
<path
|
||||||
android:fillColor="#FFFFFFFF"
|
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>
|
</vector>
|
||||||
|
|
7
app/src/main/res/values/vector_paths.xml
Normal file
7
app/src/main/res/values/vector_paths.xml
Normal 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>
|
Loading…
Reference in a new issue