Permalink
Browse files

Add speech bubble as status bar notification icon

The bubble was derived from the status icons.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
  • Loading branch information...
1 parent ceda075 commit b7028267dde6eb891ec48617bee498a417bd42ae @jan-kiszka jan-kiszka committed with Mar 24, 2012
@@ -0,0 +1,371 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<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:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.1"
+ x="0px"
+ y="0px"
+ width="256.53058"
+ height="405"
+ viewBox="0 0 256.53058 404.99999"
+ xml:space="preserve"
+ id="svg2"
+ inkscape:version="0.48.1 r9760"
+ sodipodi:docname="sb_message.svg"
+ inkscape:export-filename="/data/yaxim/res/drawable-hdpi/sb_message.png"
+ inkscape:export-xdpi="8.4444447"
+ inkscape:export-ydpi="8.4444447"><metadata
+ id="metadata11"><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="defs9"><linearGradient
+ id="linearGradient3836"><stop
+ id="stop3838"
+ offset="0"
+ style="stop-color:#828282;stop-opacity:1;" /><stop
+ id="stop3840"
+ offset="1"
+ style="stop-color:#919191;stop-opacity:1;" /></linearGradient><filter
+ id="filter5171"
+ inkscape:label="Specular light"
+ inkscape:menu="ABCs"
+ inkscape:menu-tooltip="Basic specular bevel to use for building textures"
+ color-interpolation-filters="sRGB"><feGaussianBlur
+ id="feGaussianBlur5173"
+ result="result0"
+ in="SourceAlpha"
+ stdDeviation="6" /><feSpecularLighting
+ id="feSpecularLighting5175"
+ specularExponent="25"
+ specularConstant="1"
+ surfaceScale="10"
+ lighting-color="#ffffff"
+ result="result1"
+ in="result0"><feDistantLight
+ id="feDistantLight5177"
+ azimuth="235"
+ elevation="45" /></feSpecularLighting><feComposite
+ k4="0"
+ k1="0"
+ id="feComposite5179"
+ in2="result1"
+ k3="1"
+ k2="1"
+ operator="arithmetic"
+ result="result4"
+ in="SourceGraphic" /><feComposite
+ id="feComposite5181"
+ in2="SourceAlpha"
+ operator="in"
+ result="result2"
+ in="result4" /></filter><filter
+ color-interpolation-filters="sRGB"
+ id="filter5439"
+ inkscape:label="Drop shadow"
+ width="1.5"
+ height="1.5"
+ x="-0.25"
+ y="-0.25"><feGaussianBlur
+ id="feGaussianBlur5441"
+ in="SourceAlpha"
+ stdDeviation="5"
+ result="blur" /><feColorMatrix
+ id="feColorMatrix5443"
+ result="bluralpha"
+ type="matrix"
+ values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.6 0 " /><feOffset
+ id="feOffset5445"
+ in="bluralpha"
+ dx="0"
+ dy="4"
+ result="offsetBlur" /><feMerge
+ id="feMerge5447"><feMergeNode
+ id="feMergeNode5449"
+ in="offsetBlur" /><feMergeNode
+ id="feMergeNode5451"
+ in="SourceGraphic" /></feMerge></filter><clipPath
+ clipPathUnits="userSpaceOnUse"
+ id="clipPath5372"><path
+ sodipodi:type="arc"
+ style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path5374"
+ sodipodi:cx="280.07578"
+ sodipodi:cy="779.51416"
+ sodipodi:rx="63.24292"
+ sodipodi:ry="63.24292"
+ d="m 343.3187,779.51416 a 63.24292,63.24292 0 1 1 -126.48584,0 63.24292,63.24292 0 1 1 126.48584,0 z"
+ transform="matrix(0.87727326,0,0,0.89258862,-5.3058282,167.15749)" /></clipPath><linearGradient
+ id="linearGradient5467"><stop
+ style="stop-color:#1a1a1a;stop-opacity:1;"
+ offset="0"
+ id="stop5469" /><stop
+ style="stop-color:#000000;stop-opacity:1;"
+ offset="1"
+ id="stop5471" /></linearGradient><radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient5467"
+ id="radialGradient4243"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.5669948,-0.00946795,0.00596864,0.98784039,-140.25196,12.878452)"
+ cx="238.38947"
+ cy="879.16357"
+ fx="238.38947"
+ fy="879.16357"
+ r="64.877129" /><linearGradient
+ id="linearGradient3892"><stop
+ style="stop-color:#1a1a1a;stop-opacity:1;"
+ offset="0"
+ id="stop3894" /><stop
+ style="stop-color:#000000;stop-opacity:1;"
+ offset="1"
+ id="stop3896" /></linearGradient><mask
+ maskUnits="userSpaceOnUse"
+ id="mask4163"><g
+ id="g4165"><path
+ style="fill:url(#linearGradient4173);fill-opacity:1;stroke:none"
+ d="m 238.08477,888.17661 0,39.56144 c 5.4682,-8.60936 11.21021,-17.52954 13.94028,-27.69301 -2.18244,-3.64532 -7.10302,-7.91229 -13.94028,-11.86843 z"
+ id="path4167"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cccc" /><path
+ style="fill:none;stroke:url(#linearGradient4175);stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 238.08477,885.53484 0,46.60614"
+ id="path4169"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cc"
+ clip-path="url(#clipPath4051)" /><path
+ sodipodi:nodetypes="cccc"
+ inkscape:connector-curvature="0"
+ id="path4171"
+ d="m 238.08477,888.17661 0,39.56144 c -5.4682,-8.60936 -11.21021,-17.52954 -13.94028,-27.69301 2.18244,-3.64532 7.10302,-7.91229 13.94028,-11.86843 z"
+ style="fill:url(#linearGradient4177);fill-opacity:1;stroke:none" /></g></mask><linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4114"
+ id="linearGradient4173"
+ gradientUnits="userSpaceOnUse"
+ x1="243.36093"
+ y1="900.04309"
+ x2="247.62825"
+ y2="893.63629" /><linearGradient
+ id="linearGradient4114"><stop
+ style="stop-color:#000000;stop-opacity:1;"
+ offset="0"
+ id="stop4116" /><stop
+ id="stop4199"
+ offset="0.5"
+ style="stop-color:#b67800;stop-opacity:1;" /><stop
+ style="stop-color:#fcaf1c;stop-opacity:1;"
+ offset="1"
+ id="stop4118" /></linearGradient><linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4059"
+ id="linearGradient4175"
+ gradientUnits="userSpaceOnUse"
+ x1="237.83601"
+ y1="888.36017"
+ x2="237.95665"
+ y2="927.42889" /><linearGradient
+ id="linearGradient4059"><stop
+ style="stop-color:#feb82c;stop-opacity:1;"
+ offset="0"
+ id="stop4061" /><stop
+ style="stop-color:#f3b417;stop-opacity:1;"
+ offset="1"
+ id="stop4063" /></linearGradient><clipPath
+ clipPathUnits="userSpaceOnUse"
+ id="clipPath4051"><g
+ id="g4053"
+ style="fill:none;stroke:#ffffff"><path
+ style="fill:none;stroke:#ffffff;stroke-width:0.53272158;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 238.08477,888.17661 0,39.56144 c 5.4682,-8.60936 11.21021,-17.52954 13.94028,-27.69301 -2.18244,-3.64532 -7.10302,-7.91229 -13.94028,-11.86843 z"
+ id="path4055"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cccc" /><path
+ sodipodi:nodetypes="cccc"
+ inkscape:connector-curvature="0"
+ id="path4057"
+ d="m 238.08477,888.17661 0,39.56144 c -5.4682,-8.60936 -11.21021,-17.52954 -13.94028,-27.69301 2.18244,-3.64532 7.10302,-7.91229 13.94028,-11.86843 z"
+ style="fill:none;stroke:#ffffff;stroke-width:0.53272158;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /></g></clipPath><linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4122"
+ id="linearGradient4177"
+ gradientUnits="userSpaceOnUse"
+ x1="231.30499"
+ y1="899.91748"
+ x2="228.28616"
+ y2="892.88257" /><linearGradient
+ id="linearGradient4122"><stop
+ style="stop-color:#f3b417;stop-opacity:1;"
+ offset="0"
+ id="stop4124" /><stop
+ style="stop-color:#fcaf1c;stop-opacity:1;"
+ offset="1"
+ id="stop4126" /></linearGradient><linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4059"
+ id="linearGradient4239"
+ gradientUnits="userSpaceOnUse"
+ x1="237.83601"
+ y1="888.36017"
+ x2="237.95665"
+ y2="927.42889" /><linearGradient
+ id="linearGradient3921"><stop
+ style="stop-color:#feb82c;stop-opacity:1;"
+ offset="0"
+ id="stop3923" /><stop
+ style="stop-color:#f3b417;stop-opacity:1;"
+ offset="1"
+ id="stop3925" /></linearGradient><clipPath
+ clipPathUnits="userSpaceOnUse"
+ id="clipPath3927"><g
+ id="g3929"
+ style="fill:none;stroke:#ffffff"><path
+ style="fill:none;stroke:#ffffff;stroke-width:0.53272158;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 238.08477,888.17661 0,39.56144 c 5.4682,-8.60936 11.21021,-17.52954 13.94028,-27.69301 -2.18244,-3.64532 -7.10302,-7.91229 -13.94028,-11.86843 z"
+ id="path3931"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cccc" /><path
+ sodipodi:nodetypes="cccc"
+ inkscape:connector-curvature="0"
+ id="path3933"
+ d="m 238.08477,888.17661 0,39.56144 c -5.4682,-8.60936 -11.21021,-17.52954 -13.94028,-27.69301 2.18244,-3.64532 7.10302,-7.91229 13.94028,-11.86843 z"
+ style="fill:none;stroke:#ffffff;stroke-width:0.53272158;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /></g></clipPath><linearGradient
+ id="linearGradient4201"><stop
+ id="stop4203"
+ offset="0"
+ style="stop-color:#986400;stop-opacity:1;" /><stop
+ style="stop-color:#b67800;stop-opacity:1;"
+ offset="0.74023157"
+ id="stop4205" /><stop
+ id="stop4207"
+ offset="1"
+ style="stop-color:#fcaf1c;stop-opacity:1;" /></linearGradient><linearGradient
+ id="linearGradient3941"><stop
+ style="stop-color:#f3b417;stop-opacity:1;"
+ offset="0"
+ id="stop3943" /><stop
+ style="stop-color:#fcaf1c;stop-opacity:1;"
+ offset="1"
+ id="stop3945" /></linearGradient><linearGradient
+ id="linearGradient4293"><stop
+ style="stop-color:#e4310d;stop-opacity:1;"
+ offset="0"
+ id="stop4295" /><stop
+ style="stop-color:#c0290b;stop-opacity:0;"
+ offset="1"
+ id="stop4297" /></linearGradient><linearGradient
+ id="linearGradient3952"><stop
+ style="stop-color:#e4310d;stop-opacity:1;"
+ offset="0"
+ id="stop3954" /><stop
+ style="stop-color:#c0290b;stop-opacity:0;"
+ offset="1"
+ id="stop3956" /></linearGradient><radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4293"
+ id="radialGradient4127"
+ cx="254.4561"
+ cy="157.43228"
+ fx="254.4561"
+ fy="157.43228"
+ r="13.967531"
+ gradientTransform="matrix(1.4766783,0.05396358,-0.03075353,0.84155025,-116.4521,13.097993)"
+ gradientUnits="userSpaceOnUse" /><linearGradient
+ id="linearGradient3959"><stop
+ style="stop-color:#e4310d;stop-opacity:1;"
+ offset="0"
+ id="stop3961" /><stop
+ style="stop-color:#c0290b;stop-opacity:0;"
+ offset="1"
+ id="stop3963" /></linearGradient>
+
+
+
+ <mask
+ maskUnits="userSpaceOnUse"
+ id="mask7707"><g
+ id="g7709"
+ transform="matrix(0.30853169,0,0,0.30853174,196.07788,61.165181)"><g
+ id="g7711"><rect
+ y="72.887817"
+ x="0.25384328"
+ height="256"
+ width="261"
+ id="rect7713"
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none" /><text
+ sodipodi:linespacing="125%"
+ id="text7715"
+ y="187"
+ x="129.10904"
+ style="font-size:72px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:0.94117647;stroke:#000000;stroke-opacity:1;font-family:FifthLeg;-inkscape-font-specification:FifthLeg"
+ xml:space="preserve"><tspan
+ style="font-size:84px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#000000;fill-opacity:0.94117647;stroke:#000000;stroke-opacity:1;font-family:Droid Sans;-inkscape-font-specification:Droid Sans"
+ y="187"
+ x="129.10904"
+ id="tspan7717"
+ sodipodi:role="line">yaxim</tspan></text>
+</g></g></mask><linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3836"
+ id="linearGradient7733"
+ x1="197.62054"
+ y1="122.14509"
+ x2="273.68304"
+ y2="122.14509"
+ gradientUnits="userSpaceOnUse" /></defs><sodipodi:namedview
+ pagecolor="#3d3d3d"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="1"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1920"
+ inkscape:window-height="1026"
+ id="namedview7"
+ showgrid="false"
+ inkscape:zoom="1"
+ inkscape:cx="-148.28377"
+ inkscape:cy="293.37984"
+ inkscape:window-x="0"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="g4234"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ fit-margin-top="0"
+ fit-margin-left="-6.3837824e-16"
+ fit-margin-right="0"
+ fit-margin-bottom="85"><sodipodi:guide
+ orientation="1,0"
+ position="0.25383585,332.11218"
+ id="guide2983" /><sodipodi:guide
+ orientation="0,1"
+ position="21.105036,332.11218"
+ id="guide2985" /><sodipodi:guide
+ orientation="1,0"
+ position="307.88904,465.75052"
+ id="guide2987" /><sodipodi:guide
+ orientation="0,1"
+ position="-112.11096,45.75052"
+ id="guide2989" /></sodipodi:namedview>
+
+<g
+ inkscape:export-filename="/home/dd/src/android/yaxim/res/drawable-hdpi/available.png"
+ inkscape:export-ydpi="38.889999"
+ inkscape:export-xdpi="38.889999"
+ id="g4234"
+ transform="matrix(3.2411581,0,0,3.2411576,-635.51941,-198.24599)"
+ mask="url(#mask7707)"
+ style="fill-opacity:1.0;fill:url(#linearGradient7733)"><path
+ inkscape:connector-curvature="0"
+ style="fill:url(#linearGradient7733);fill-opacity:1;stroke:none"
+ d="m 259.74554,85.9375 c 7.71643,0 13.9375,6.543803 13.9375,14.66054 l 0,24.02882 c 0,8.11674 -6.22107,14.66054 -13.9375,14.66054 l -32.1751,0 -28.32893,21.84207 12.32943,-21.84207 -0.0442,0 c -7.71643,0 -13.90625,-6.5438 -13.90625,-14.66054 l 0,-24.02882 c 0,-8.116737 6.18982,-14.66054 13.90625,-14.66054 z"
+ id="rect4220"
+ sodipodi:nodetypes="sssscccsssss" /></g></svg>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -141,7 +141,7 @@ private void setNotification(String fromJid, String fromUserId, String message)
author = fromUserId;
}
String title = getString(R.string.notification_message, author);
- mNotification = new Notification(R.drawable.icon, title,
+ mNotification = new Notification(R.drawable.sb_message, title,
System.currentTimeMillis());
Uri userNameUri = Uri.parse(fromJid);
mNotificationIntent.setData(userNameUri);

0 comments on commit b702826

Please sign in to comment.