Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TouHou.FM
Client
fm.touhou.touhoufm
Commits
9c73fd88
Commit
9c73fd88
authored
Nov 01, 2017
by
Daniel Sonck
Browse files
Changed AppBar to be more conformant
- Added an Quit icon and removed the overflow menu
parent
b6861690
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/src/main/res/drawable/ic_quit.xml
0 → 100644
View file @
9c73fd88
<?xml version="1.0" encoding="utf-8"?>
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"128.06323dp"
android:height=
"128.06323dp"
android:viewportWidth=
"128.06323"
android:viewportHeight=
"128.06323"
>
<path
android:fillColor=
"#ffffff"
android:strokeWidth=
"2.5"
android:pathData=
"M 56 8.0625 L 56 48.0625 L 72 48.0625 L 72 8.0625 L 56 8.0625 z M 80 18.861328 L
80 36.384766 A 32 32 0 0 1 96 64.0625 A 32 32 0 0 1 64 96.0625 A 32 32 0 0 1 32
64.0625 A 32 32 0 0 1 48 36.394531 L 48 18.869141 A 48 48 0 0 0 16 64.0625 A 48
48 0 0 0 64 112.0625 A 48 48 0 0 0 112 64.0625 A 48 48 0 0 0 80 18.861328 z"
/>
</vector>
\ No newline at end of file
app/src/main/res/menu/menu_main.xml
View file @
9c73fd88
...
...
@@ -7,6 +7,7 @@
android:id=
"@+id/action_exit"
android:orderInCategory=
"100"
android:title=
"@string/action_exit"
app:showAsAction=
"never"
/>
android:icon=
"@drawable/ic_quit"
app:showAsAction=
"ifRoom"
/>
</menu>
app/src/main/svg/ic_quit.svg
0 → 100644
View file @
9c73fd88
<?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"
id=
"svg4270"
version=
"1.1"
inkscape:version=
"0.91 r13725"
width=
"128.06323"
height=
"128.06323"
viewBox=
"0 0 128.06323 128.06323"
sodipodi:docname=
"ic_quit.svg"
inkscape:export-filename=
"/home/dsonck/scm/fm.touhou.touhoufm/app/src/main/res/drawable-hdpi/ic_quit.png"
inkscape:export-xdpi=
"90"
inkscape:export-ydpi=
"90"
>
<metadata
id=
"metadata4276"
>
<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></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id=
"defs4274"
/>
<sodipodi:namedview
pagecolor=
"#ffffff"
bordercolor=
"#666666"
borderopacity=
"1"
objecttolerance=
"10"
gridtolerance=
"10"
guidetolerance=
"10"
inkscape:pageopacity=
"0"
inkscape:pageshadow=
"2"
inkscape:window-width=
"2560"
inkscape:window-height=
"991"
id=
"namedview4272"
showgrid=
"true"
inkscape:zoom=
"4.4061922"
inkscape:cx=
"83.451903"
inkscape:cy=
"78.654669"
inkscape:window-x=
"0"
inkscape:window-y=
"30"
inkscape:window-maximized=
"1"
inkscape:current-layer=
"svg4270"
>
<inkscape:grid
empspacing=
"8"
type=
"xygrid"
id=
"grid4282"
/>
</sodipodi:namedview>
<path
style=
"opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d=
"M 56 8.0625 L 56 48.0625 L 72 48.0625 L 72 8.0625 L 56 8.0625 z M 80 18.861328 L 80 36.384766 A 32 32 0 0 1 96 64.0625 A 32 32 0 0 1 64 96.0625 A 32 32 0 0 1 32 64.0625 A 32 32 0 0 1 48 36.394531 L 48 18.869141 A 48 48 0 0 0 16 64.0625 A 48 48 0 0 0 64 112.0625 A 48 48 0 0 0 112 64.0625 A 48 48 0 0 0 80 18.861328 z "
id=
"path4284"
/>
</svg>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment