Commit 39500ee5 authored by Alexandre Perraud's avatar Alexandre Perraud

Fix and logically rename search icon

parent f842cca1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="24"
height="24"
id="svg4682"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="ic_menu_search_normal.svg"
inkscape:export-filename="/home/corbax/Dev/android/Icons/Test 1/ic_play_normal.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4684" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="32"
inkscape:cx="3.3638"
inkscape:cy="12.939953"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:window-width="1920"
inkscape:window-height="1056"
inkscape:window-x="0"
inkscape:window-y="24"
inkscape:window-maximized="1">
<inkscape:grid
type="xygrid"
id="grid2983" />
</sodipodi:namedview>
<metadata
id="metadata4687">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1028.3622)">
<path
style="color:#000000;fill:#212121;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m 10.000025,1032.3622 c -3.31371,0 -6,2.6863 -6,6 0,3.3137 2.68629,6 6,6 1.44975,0 2.77535,-0.5191 3.8125,-1.375 0.007,0.01 0.0262,-0.01 0.0312,0 0.0509,0.051 0.20536,0.2054 0.15625,0.1563 l 0.34375,0.3437 0,0.5625 4.25,4.3125 1.40625,-1.4687 -4.25,-4.25 -0.46875,0 -0.59375,-0.5625 c 0.81379,-1.0241 1.31255,-2.3092 1.31255,-3.7188 0,-3.3137 -2.68629,-6 -6,-6 z m 0,2 c 2.20914,0 4,1.7909 4,4 0,2.2091 -1.79086,4 -4,4 -2.20914,0 -4,-1.7909 -4,-4 0,-2.2091 1.79086,-4 4,-4 z"
id="path4951"
inkscape:connector-curvature="0" />
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="24"
height="24"
id="svg4682"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="ic_menu_search_pressed.svg"
inkscape:export-filename="/home/corbax/Dev/android/Icons/Test 1/ic_play_normal.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4684" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="32"
inkscape:cx="3.3638"
inkscape:cy="12.939953"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:window-width="1920"
inkscape:window-height="1056"
inkscape:window-x="0"
inkscape:window-y="24"
inkscape:window-maximized="1">
<inkscape:grid
type="xygrid"
id="grid2983" />
</sodipodi:namedview>
<metadata
id="metadata4687">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1028.3622)">
<path
style="color:#000000;fill:#ffb54c;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
d="m 10.000025,1032.3622 c -3.31371,0 -6,2.6863 -6,6 0,3.3137 2.68629,6 6,6 1.44975,0 2.77535,-0.5191 3.8125,-1.375 0.007,0.01 0.0262,-0.01 0.0312,0 0.0509,0.051 0.20536,0.2054 0.15625,0.1563 l 0.34375,0.3437 0,0.5625 4.25,4.3125 1.40625,-1.4687 -4.25,-4.25 -0.46875,0 -0.59375,-0.5625 c 0.81379,-1.0241 1.31255,-2.3092 1.31255,-3.7188 0,-3.3137 -2.68629,-6 -6,-6 z m 0,2 c 2.20914,0 4,1.7909 4,4 0,2.2091 -1.79086,4 -4,4 -2.20914,0 -4,-1.7909 -4,-4 0,-2.2091 1.79086,-4 4,-4 z"
id="path4951"
inkscape:connector-curvature="0" />
</g>
</svg>
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_menu_search_normal" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_menu_search_pressed" android:state_focused="true"/>
<item android:drawable="@drawable/ic_menu_search_pressed" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_menu_search_normal"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/ic_menu_search_normal_w" android:state_focused="true" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_menu_search_pressed" android:state_focused="true"/>
<item android:drawable="@drawable/ic_menu_search_pressed" android:state_pressed="true"/>
<item android:drawable="@drawable/ic_menu_search_normal_w"/>
</selector>
\ No newline at end of file
......@@ -94,7 +94,7 @@
android:scaleType="fitXY"
android:onClick="@{fragment::onSearchClick}"
android:contentDescription="@string/search"
android:src="@drawable/ic_search" />
android:src="?attr/ic_menu_search" />
<ImageButton
android:id="@+id/playlist_switch"
......
......@@ -15,7 +15,7 @@
vlc:showAsAction="ifRoom" />
<item
android:id="@+id/ml_menu_filter"
android:icon="@drawable/ic_menu_search"
android:icon="@drawable/ic_menu_search_normal_w"
vlc:actionViewClass="android.support.v7.widget.SearchView"
android:title="@string/searchable_hint"
vlc:showAsAction="always|collapseActionView"/>
......
......@@ -33,6 +33,7 @@
<attr name="ic_up_style" format="reference" />
<attr name="ic_playlist" format="reference" />
<attr name="ic_playlist_on" format="reference" />
<attr name="ic_menu_search" format="reference" />
<attr name="ic_repeat" format="reference" />
<attr name="ic_repeat_all" format="reference" />
<attr name="ic_repeat_one" format="reference" />
......
......@@ -50,6 +50,7 @@
<item name="ic_playlist">@drawable/ic_playlist</item>
<item name="ic_playlist_on">@drawable/ic_playlist_on</item>
<item name="ic_menu_search">@drawable/ic_menu_search</item>
<item name="ic_repeat">@drawable/ic_repeat</item>
<item name="ic_repeat_all">@drawable/ic_repeat_all</item>
<item name="ic_repeat_one">@drawable/ic_repeat_one</item>
......@@ -143,6 +144,7 @@
<item name="ic_playlist">@drawable/ic_playlist_w</item>
<item name="ic_playlist_on">@drawable/ic_playlist_on</item>
<item name="ic_menu_search">@drawable/ic_menu_search_w</item>
<item name="ic_repeat">@drawable/ic_repeat_w</item>
<item name="ic_repeat_all">@drawable/ic_repeat_all</item>
<item name="ic_repeat_one">@drawable/ic_repeat_one</item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment