1
0
Fork 0
mirror of https://github.com/nextcloud/android.git synced 2024-12-04 19:16:36 +01:00

add slides

This commit is contained in:
tobiaskaminsky 2017-08-10 15:26:38 +02:00 committed by AndyScherzinger
parent 71e16238e5
commit ae4ef70e36
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
14 changed files with 2976 additions and 41 deletions

View file

@ -0,0 +1,119 @@
<?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="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="svg2"
version="1.1"
inkscape:version="0.91 r13725"
width="646"
height="250"
viewBox="0 0 646 250"
sodipodi:docname="get it as apk.svg"
inkscape:export-filename="/home/tobi/Daten/projekt/nextcloud/graphic/get it as apk.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<metadata
id="metadata8">
<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>
<defs
id="defs6"/>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1600"
inkscape:window-height="835"
id="namedview4"
showgrid="false"
inkscape:zoom="0.70710678"
inkscape:cx="-365.55383"
inkscape:cy="112.63522"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer2"
showguides="true"
inkscape:guide-bbox="true">
<sodipodi:guide
position="195.16147,-94.752308"
orientation="0,1"
id="guide4794"/>
<sodipodi:guide
position="159.80613,-198.697"
orientation="0,1"
id="guide4796"/>
</sodipodi:namedview>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="apk"
style="display:inline">
<rect
style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;fill:#000000;fill-opacity:1;stroke:#a6a6a6;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker:none;enable-background:accumulate"
id="rect4142"
width="558.33984"
height="163.47433"
x="44.59919"
y="43.897827"
ry="20.533007"/>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.70548439px;line-height:125%;font-family:Helvetica;-inkscape-font-specification:Helvetica;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="222.50375"
y="90.160751"
id="text4163"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4165"
x="222.50375"
y="90.160751"
style="font-size:32.55822754px;fill:#ffffff">GET IT AS</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:35.25382233px;line-height:125%;font-family:Helvetica;-inkscape-font-specification:Helvetica;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="223.56383"
y="176.70526"
id="text4167"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan4169"
x="223.56383"
y="176.70526"
style="font-style:normal;font-variant:normal;font-weight:600;font-stretch:normal;font-size:88.134552px;font-family:'Open Sans';-inkscape-font-specification:'Open Sans Semi-Bold'">APK-File</tspan></text>
<g
style="fill:#000000"
id="g4784"
transform="matrix(1.0640299,0,0,1.0640299,-61.475209,-106.93774)">
<path
id="path4774"
d="m 126.7489,161.76071 110.43377,0 0,110.43377 -110.43377,0 z"
inkscape:connector-curvature="0"
style="fill:none"/>
<path
id="path4776"
d="m 154.35734,244.58604 c 0,2.53077 2.07064,4.60141 4.60141,4.60141 l 4.6014,0 0,16.10493 c 0,3.81916 3.08294,6.9021 6.90212,6.9021 3.81916,0 6.9021,-3.08294 6.9021,-6.9021 l 0,-16.10493 9.20283,0 0,16.10493 c 0,3.81916 3.08294,6.9021 6.9021,6.9021 3.81917,0 6.90212,-3.08294 6.90212,-6.9021 l 0,-16.10493 4.60139,0 c 2.53078,0 4.60141,-2.07064 4.60141,-4.60141 l 0,-46.01408 -55.21688,0 0,46.01408 z m -11.50351,-46.01408 c -3.81918,0 -6.90212,3.08295 -6.90212,6.90212 l 0,32.20986 c 0,3.81915 3.08294,6.9021 6.90212,6.9021 3.81916,0 6.9021,-3.08295 6.9021,-6.9021 l 0,-32.20986 c 0,-3.81917 -3.08294,-6.90212 -6.9021,-6.90212 z m 78.22391,0 c -3.81916,0 -6.9021,3.08295 -6.9021,6.90212 l 0,32.20986 c 0,3.81915 3.08294,6.9021 6.9021,6.9021 3.81917,0 6.90212,-3.08295 6.90212,-6.9021 l 0,-32.20986 c 0,-3.81917 -3.08295,-6.90212 -6.90212,-6.90212 z m -22.86899,-26.87221 5.98182,-5.98182 c 0.9203,-0.92028 0.9203,-2.34672 0,-3.26701 -0.92027,-0.92028 -2.34671,-0.92028 -3.26699,0 l -6.81008,6.81009 c -3.63512,-1.84057 -7.77637,-2.89888 -12.14772,-2.89888 -4.41735,0 -8.55862,1.05831 -12.23974,2.89888 l -6.8561,-6.81009 c -0.92027,-0.92028 -2.34671,-0.92028 -3.267,0 -0.92028,0.92029 -0.92028,2.34673 0,3.26701 l 6.02785,6.02783 c -6.81009,5.01554 -11.27345,13.06801 -11.27345,22.22481 l 55.21688,0 c 0,-9.1568 -4.46335,-17.25529 -11.36547,-22.27082 z m -25.44578,13.06799 -4.60141,0 0,-4.60139 4.60141,0 0,4.60139 z m 23.00703,0 -4.60141,0 0,-4.60139 4.60141,0 0,4.60139 z"
inkscape:connector-curvature="0"
style="fill:#ffffff"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.1 KiB

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 930 650" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
<svg width="100%" height="100%" viewBox="0 0 930 650" version="1.1" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">
<g transform="matrix(1,0,0,1,-75,-170)">
<g id="what_new_instant_upload">
<g id="_-Rectangle-" transform="matrix(1,0,0,3.20705,9,-1776.05)">

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -0,0 +1,598 @@
<?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="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="100%"
height="100%"
viewBox="0 0 930 650"
version="1.1"
xml:space="preserve"
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"
id="svg373"
sodipodi:docname="whats_new_fingerprint.svg"
inkscape:export-filename="/tmp/3.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96"
inkscape:version="0.92.1 r"><metadata
id="metadata377"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1600"
inkscape:window-height="871"
id="namedview375"
showgrid="false"
inkscape:zoom="0.36307692"
inkscape:cx="284.94007"
inkscape:cy="597.48553"
inkscape:window-x="1600"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg373" /><rect
style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.123106;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
id="rect4609"
width="272.66949"
height="481.99152"
x="134.95763"
y="66.101692" /><g
id="_-Rectangle-"
transform="matrix(1,0,0,3.20705,-66,-1946.05)"><rect
x="202.235"
y="761.35303"
width="291.229"
height="43.366001"
style="fill:url(#_Radial1)"
id="rect2" /></g><path
d="m 373.992,21.23 c 24.586,0.042 44.471,19.953 44.471,44.471 v 481.181 c 0,24.544 -19.927,44.471 -44.471,44.471 H 171.706 c -24.544,0 -44.471,-19.927 -44.471,-44.471 V 65.701 c 0,-24.518 19.884,-44.429 44.471,-44.471 z m 16.112,72.807 h -234.51 v 424.509 h 234.51 z"
id="path39"
inkscape:connector-curvature="0" /><defs
id="defs371"><radialGradient
id="_Radial1"
cx="0"
cy="0"
r="1"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-145.614,0,0,-15.8805,347.849,788.838)"><stop
offset="0%"
style="stop-color:rgb(0,16,43);stop-opacity:0.480776"
id="stop191" /><stop
offset="100%"
style="stop-color:black;stop-opacity:0"
id="stop193" /></radialGradient><linearGradient
id="_Linear2"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-42.6192,-320.496,320.496,-42.6192,347.849,572.965)"><stop
offset="0%"
style="stop-color:rgb(0,114,167);stop-opacity:1"
id="stop196" /><stop
offset="100%"
style="stop-color:rgb(8,0,101);stop-opacity:1"
id="stop198" /></linearGradient><radialGradient
id="_Radial3"
cx="0"
cy="0"
r="1"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(7.50764,112.339,-276.186,18.4576,292.027,425.187)"><stop
offset="0%"
style="stop-color:rgb(0,31,53);stop-opacity:1"
id="stop201" /><stop
offset="100%"
style="stop-color:rgb(52,52,92);stop-opacity:1"
id="stop203" /></radialGradient><linearGradient
id="_Linear4"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(4.36862,55.7957,-55.7957,4.36862,273.59,385.426)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop206" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop208" /></linearGradient><linearGradient
id="_Linear5"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop211" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop213" /></linearGradient><linearGradient
id="_Linear6"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop216" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop218" /></linearGradient><linearGradient
id="_Linear7"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop221" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop223" /></linearGradient><linearGradient
id="_Linear8"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop226" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop228" /></linearGradient><linearGradient
id="_Linear9"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop231" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop233" /></linearGradient><linearGradient
id="_Linear10"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop236" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop238" /></linearGradient><linearGradient
id="_Linear12"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-42.6192,-320.496,320.496,-42.6192,347.849,572.965)"><stop
offset="0%"
style="stop-color:rgb(0,114,167);stop-opacity:1"
id="stop241" /><stop
offset="100%"
style="stop-color:rgb(8,0,101);stop-opacity:1"
id="stop243" /></linearGradient><radialGradient
id="_Radial13"
cx="0"
cy="0"
r="1"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(7.50764,112.339,-276.186,18.4576,292.027,425.187)"><stop
offset="0%"
style="stop-color:rgb(0,31,53);stop-opacity:1"
id="stop246" /><stop
offset="100%"
style="stop-color:rgb(52,52,92);stop-opacity:1"
id="stop248" /></radialGradient><linearGradient
id="_Linear14"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(4.36862,55.7957,-55.7957,4.36862,273.59,385.426)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop251" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop253" /></linearGradient><linearGradient
id="_Linear15"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop256" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop258" /></linearGradient><linearGradient
id="_Linear16"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop261" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop263" /></linearGradient><linearGradient
id="_Linear17"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop266" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop268" /></linearGradient><linearGradient
id="_Linear18"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop271" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop273" /></linearGradient><linearGradient
id="_Linear19"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop276" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop278" /></linearGradient><linearGradient
id="_Linear21"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-42.6192,-320.496,320.496,-42.6192,347.849,572.965)"><stop
offset="0%"
style="stop-color:rgb(0,114,167);stop-opacity:1"
id="stop281" /><stop
offset="100%"
style="stop-color:rgb(8,0,101);stop-opacity:1"
id="stop283" /></linearGradient><radialGradient
id="_Radial22"
cx="0"
cy="0"
r="1"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(7.50764,112.339,-276.186,18.4576,292.027,425.187)"><stop
offset="0%"
style="stop-color:rgb(0,31,53);stop-opacity:1"
id="stop286" /><stop
offset="100%"
style="stop-color:rgb(52,52,92);stop-opacity:1"
id="stop288" /></radialGradient><linearGradient
id="_Linear23"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(4.36862,55.7957,-55.7957,4.36862,273.59,385.426)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop291" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop293" /></linearGradient><linearGradient
id="_Linear24"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop296" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop298" /></linearGradient><linearGradient
id="_Linear25"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop301" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop303" /></linearGradient><linearGradient
id="_Linear26"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop306" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop308" /></linearGradient><linearGradient
id="_Linear27"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop311" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop313" /></linearGradient><linearGradient
id="_Linear28"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop316" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop318" /></linearGradient><linearGradient
id="_Linear29"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop321" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop323" /></linearGradient><linearGradient
id="_Linear31"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-42.6192,-320.496,320.496,-42.6192,347.849,572.965)"><stop
offset="0%"
style="stop-color:rgb(0,114,167);stop-opacity:1"
id="stop326" /><stop
offset="100%"
style="stop-color:rgb(8,0,101);stop-opacity:1"
id="stop328" /></linearGradient><radialGradient
id="_Radial32"
cx="0"
cy="0"
r="1"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(7.50764,112.339,-276.186,18.4576,292.027,425.187)"><stop
offset="0%"
style="stop-color:rgb(0,31,53);stop-opacity:1"
id="stop331" /><stop
offset="100%"
style="stop-color:rgb(52,52,92);stop-opacity:1"
id="stop333" /></radialGradient><linearGradient
id="_Linear33"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(4.36862,55.7957,-55.7957,4.36862,273.59,385.426)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop336" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop338" /></linearGradient><linearGradient
id="_Linear34"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop341" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop343" /></linearGradient><linearGradient
id="_Linear35"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop346" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop348" /></linearGradient><linearGradient
id="_Linear36"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop351" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop353" /></linearGradient><linearGradient
id="_Linear37"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop356" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop358" /></linearGradient><linearGradient
id="_Linear38"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop361" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop363" /></linearGradient><linearGradient
id="_Linear39"
x1="0"
y1="0"
x2="1"
y2="0"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-13.3491,-55.4555,100.385,-7.37441,428.378,375.307)"><stop
offset="0%"
style="stop-color:rgb(220,234,255);stop-opacity:1"
id="stop366" /><stop
offset="100%"
style="stop-color:rgb(255,255,235);stop-opacity:1"
id="stop368" /></linearGradient></defs><path
inkscape:connector-curvature="0"
style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:24.14640236;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker:none;enable-background:accumulate"
id="path254"
d="m 302.81279,142.904 c -0.54484,0 -1.08968,-0.13623 -1.56643,-0.40864 -13.07634,-6.74248 -24.38194,-9.60293 -37.93503,-9.60293 -13.48498,0 -26.2889,3.20099 -37.93501,9.60293 -1.63455,0.88539 -3.67773,0.27243 -4.63121,-1.3621 -0.88538,-1.63456 -0.27242,-3.74583 1.36211,-4.63121 12.66771,-6.87871 26.56133,-10.42022 41.20411,-10.42022 14.50658,0 27.1743,3.20098 41.06791,10.3521 1.70265,0.88538 2.31561,2.92857 1.43023,4.56311 -0.61296,1.2259 -1.77076,1.90696 -2.99668,1.90696 z m -97.45963,35.75564 c -0.68106,0 -1.36212,-0.20431 -1.97508,-0.61294 -1.56644,-1.08971 -1.90697,-3.20099 -0.81727,-4.76742 6.74249,-9.53484 15.32385,-17.0265 25.53974,-22.27066 21.38527,-11.03317 48.76387,-11.10128 70.21726,-0.0681 10.21589,5.24416 18.79724,12.66771 25.53975,22.13445 1.08968,1.49832 0.74915,3.67771 -0.81729,4.76741 -1.56643,1.0897 -3.67771,0.74916 -4.76741,-0.81728 -6.12953,-8.58134 -13.89362,-15.32383 -23.08793,-20.02313 -19.54641,-10.01158 -44.54131,-10.01158 -64.01962,0.0681 -9.2624,4.76742 -17.02648,11.57802 -23.15602,20.15936 -0.54485,0.95349 -1.56644,1.43022 -2.65613,1.43022 z m 42.56622,82.2039 c -0.88537,0 -1.77074,-0.34051 -2.3837,-1.02158 -5.92522,-5.92523 -9.1262,-9.73915 -13.6893,-17.97997 -4.69932,-8.37704 -7.15114,-18.59294 -7.15114,-29.558 0,-20.22748 17.29892,-36.70911 38.548,-36.70911 21.24906,0 38.54798,16.48163 38.54798,36.70911 0,1.90697 -1.49834,3.40529 -3.40531,3.40529 -1.90697,0 -3.40529,-1.49832 -3.40529,-3.40529 0,-16.48165 -14.23414,-29.89853 -31.73738,-29.89853 -17.50325,0 -31.7374,13.41688 -31.7374,29.89853 0,9.80726 2.1794,18.86535 6.33387,26.2208 4.35878,7.83219 7.35543,11.16938 12.5996,16.48165 1.29401,1.36211 1.29401,3.4734 0,4.83552 -0.74917,0.68107 -1.63455,1.02158 -2.51993,1.02158 z m 48.832,-12.59959 c -8.10461,0 -15.25575,-2.04318 -21.11286,-6.06143 -10.1478,-6.87871 -16.20923,-18.04808 -16.20923,-29.89853 0,-1.90697 1.49833,-3.40529 3.40531,-3.40529 1.90697,0 3.40529,1.49832 3.40529,3.40529 0,9.60294 4.90363,18.66105 13.21257,24.24573 4.83552,3.26908 10.48832,4.83552 17.29892,4.83552 1.63453,0 4.35877,-0.20431 7.083,-0.68106 1.83888,-0.34053 3.60962,0.88539 3.95016,2.79235 0.34053,1.83886 -0.88538,3.60963 -2.79236,3.95014 -3.88203,0.74916 -7.28732,0.81728 -8.2408,0.81728 z m -13.68932,14.02982 c -0.27242,0 -0.61294,-0.0681 -0.88536,-0.13623 -10.82885,-2.99666 -17.91187,-7.01491 -25.33544,-14.30226 -9.53484,-9.46672 -14.77898,-22.06631 -14.77898,-35.5513 0,-11.03317 9.39862,-20.02316 20.97663,-20.02316 11.57801,0 20.97665,8.98999 20.97665,20.02316 0,7.28734 6.33385,13.21255 14.16604,13.21255 7.83217,0 14.16603,-5.92521 14.16603,-13.21255 0,-25.67596 -22.13443,-46.51638 -49.37682,-46.51638 -19.3421,0 -37.04965,10.76073 -45.01805,27.44669 -2.65613,5.51659 -4.01825,11.98666 -4.01825,19.06969 0,5.31226 0.47675,13.68929 4.56309,24.58626 0.68108,1.77074 -0.20431,3.74583 -1.97507,4.35877 -1.77076,0.68106 -3.74583,-0.27242 -4.35878,-1.97507 -3.3372,-8.92188 -4.97172,-17.77566 -4.97172,-26.96996 0,-8.17272 1.56643,-15.59628 4.63119,-22.06634 9.0581,-19.00156 29.14935,-31.32875 51.14759,-31.32875 30.98822,0 56.18742,23.9052 56.18742,53.32697 0,11.03318 -9.39863,20.02317 -20.97663,20.02317 -11.57802,0 -20.97664,-8.98999 -20.97664,-20.02317 0,-7.28733 -6.33386,-13.21255 -14.16605,-13.21255 -7.83218,0 -14.16603,5.92522 -14.16603,13.21255 0,11.64614 4.49498,22.54309 12.7358,30.7158 6.47007,6.40196 12.66771,9.94347 22.27066,12.59961 1.83886,0.47675 2.86046,2.3837 2.38371,4.15446 -0.34052,1.56643 -1.77075,2.58802 -3.20099,2.58802 z"
inkscape:transform-center-x="-37.037091"
inkscape:transform-center-y="18.86795" /><path
id="path340"
d="m 620.9661,194.82627 v 98.86017 h 125.82203 v -98.86017 m -116.83474,0 v -26.96186 c 0,-29.65805 24.26568,-53.92373 53.92373,-53.92373 29.65805,0 53.92373,24.26568 53.92373,53.92373 v 26.96186 h -17.97458 v -26.96186 c 0,-19.77204 -16.17712,-35.94915 -35.94915,-35.94915 -19.77204,0 -35.94916,16.17711 -35.94916,35.94915 v 26.96186"
inkscape:connector-curvature="0"
style="stroke-width:8.98728848" /><path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-opacity:1"
d="m 172.13983,360.80509 184.5339,-90.88983"
id="path351"
inkscape:connector-type="polyline"
inkscape:connector-curvature="0" /><path
style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-opacity:1"
d="m 170.83192,430.15036 h 43.37923"
id="path4830"
inkscape:connector-curvature="0" /><path
style="clip-rule:evenodd;fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-opacity:1"
d="M 224.22657,430.15036 H 267.6058"
id="path4830-3"
inkscape:connector-curvature="0" /><path
style="clip-rule:evenodd;fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-opacity:1"
d="m 277.62123,430.15036 h 43.37923"
id="path4830-6"
inkscape:connector-curvature="0" /><path
style="clip-rule:evenodd;fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-opacity:1"
d="m 331.01589,430.15036 h 43.37923"
id="path4830-7"
inkscape:connector-curvature="0" /><text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:44.45702362px;line-height:125%;font-family:Helvetica;-inkscape-font-specification:Helvetica;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:2.22285128px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="180.34032"
y="419.45868"
id="text4861"><tspan
sodipodi:role="line"
id="tspan4859"
x="180.34032"
y="419.45868"
style="stroke-width:2.22285128px">5</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:44.45702362px;line-height:125%;font-family:Helvetica;-inkscape-font-specification:Helvetica;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;clip-rule:evenodd;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.22285128px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-opacity:1"
x="289.33023"
y="419.96994"
id="text4861-5"><tspan
sodipodi:role="line"
id="tspan4859-3"
x="289.33023"
y="419.96994"
style="stroke-width:2.22285128px">1</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:44.45702362px;line-height:125%;font-family:Helvetica;-inkscape-font-specification:Helvetica;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;clip-rule:evenodd;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.22285128px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-opacity:1"
x="233.69051"
y="419.45868"
id="text4861-56"><tspan
sodipodi:role="line"
id="tspan4859-2"
x="233.69051"
y="419.45868"
style="stroke-width:2.22285128px">8</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:44.45702362px;line-height:125%;font-family:Helvetica;-inkscape-font-specification:Helvetica;text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;clip-rule:evenodd;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.22285128px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-opacity:1"
x="340.47983"
y="419.45868"
id="text4861-9"><tspan
sodipodi:role="line"
id="tspan4859-1"
x="340.47983"
y="419.45868"
style="stroke-width:2.22285128px">0</tspan></text>
</svg>

After

Width:  |  Height:  |  Size: 27 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 17 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 50 KiB

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 68 KiB

View file

@ -41,7 +41,7 @@ public class FeatureList {
private static final boolean SHOW_ON_UPGRADE = false;
private static final String VERSION_1_0_0 = "1.0.0";
private static final String VERSION_1_5_0 = "1.5.0";
private static final String VERSION_2_0_0 = "2.0.0";
private static final String BETA_VERSION_0 = "0";
static final private FeatureItem featuresList[] = {
@ -52,13 +52,20 @@ public class FeatureList {
new FeatureItem(R.drawable.whats_new_accounts,
R.string.welcome_feature_2_title, R.string.welcome_feature_2_text,
VERSION_1_0_0, BETA_VERSION_0, SHOW_ON_FIRST_RUN),
new FeatureItem(R.drawable.what_new_instant_upload,
new FeatureItem(R.drawable.whats_new_auto_upload,
R.string.welcome_feature_3_title, R.string.welcome_feature_3_text,
VERSION_1_0_0, BETA_VERSION_0, SHOW_ON_FIRST_RUN),
// Features introduced in certain point in time
new FeatureItem(R.drawable.what_new_instant_upload,
R.string.whats_new_auto_upload_title, R.string.whats_new_auto_upload_content,
VERSION_1_5_0, BETA_VERSION_0, SHOW_ON_UPGRADE)
// 2.0.0
new FeatureItem(R.drawable.whats_new_auto_upload, R.string.whats_new_auto_upload_title,
R.string.whats_new_auto_upload_content, VERSION_2_0_0, BETA_VERSION_0, SHOW_ON_UPGRADE, false),
new FeatureItem(R.drawable.whats_new_search, R.string.whats_new_search_title,
R.string.whats_new_search_content, VERSION_2_0_0, BETA_VERSION_0, SHOW_ON_UPGRADE, false),
new FeatureItem(R.drawable.whats_new_theming, R.string.whats_new_theming_title,
R.string.whats_new_theming_content, VERSION_2_0_0, BETA_VERSION_0, SHOW_ON_UPGRADE, false),
new FeatureItem(R.drawable.whats_new_notification, R.string.whats_new_notification_title,
R.string.whats_new_notification_content, VERSION_2_0_0, BETA_VERSION_0, SHOW_ON_UPGRADE, false),
new FeatureItem(R.drawable.whats_new_fingerprint, R.string.whats_new_fingerprint_title,
R.string.whats_new_fingerprint_content, VERSION_2_0_0, BETA_VERSION_0, SHOW_ON_UPGRADE, false)
};
static public FeatureItem[] get() {
@ -89,18 +96,26 @@ public class FeatureList {
private int versionNumber;
private int betaVersion;
private boolean showOnInitialRun;
private boolean contentCentered;
public FeatureItem(int image, int titleText, int contentText, String version, String betaVersion) {
this(image, titleText, contentText, version, betaVersion, false);
this(image, titleText, contentText, version, betaVersion, false, true);
}
public FeatureItem(int image, int titleText, int contentText, String version, String betaVersion, boolean showOnInitialRun) {
public FeatureItem(int image, int titleText, int contentText, String version, String betaVersion,
boolean showOnInitialRun) {
this(image, titleText, contentText, version, betaVersion, showOnInitialRun, true);
}
public FeatureItem(int image, int titleText, int contentText, String version, String betaVersion,
boolean showOnInitialRun, boolean contentCentered) {
this.image = image;
this.titleText = titleText;
this.contentText = contentText;
this.versionNumber = versionCodeFromString(version);
this.betaVersion = Integer.parseInt(betaVersion);
this.showOnInitialRun = showOnInitialRun;
this.contentCentered = contentCentered;
}
public boolean shouldShowImage() { return image != DO_NOT_SHOW; }
@ -116,6 +131,10 @@ public class FeatureList {
public int getBetaVersionNumber() { return betaVersion; }
public boolean shouldShowOnFirstRun() { return showOnInitialRun; }
public boolean shouldContentCentered() {
return contentCentered;
}
@Override
public int describeContents() {
return 0;
@ -129,6 +148,7 @@ public class FeatureList {
dest.writeInt(versionNumber);
dest.writeInt(betaVersion);
dest.writeByte((byte) (showOnInitialRun ? 1 : 0));
dest.writeByte((byte) (contentCentered ? 1 : 0));
}
private FeatureItem(Parcel p) {
@ -138,6 +158,7 @@ public class FeatureList {
versionNumber = p.readInt();
betaVersion = p.readInt();
showOnInitialRun = p.readByte() == 1;
contentCentered = p.readByte() == 1;
}
public static final Parcelable.Creator CREATOR =
new Parcelable.Creator() {

View file

@ -1,23 +1,23 @@
/**
* Nextcloud Android client application
* Nextcloud Android client application
*
* @author Bartosz Przybylski
* Copyright (C) 2015 Bartosz Przybylski
* Copyright (C) 2015 ownCloud Inc.
* Copyright (C) 2016 Nextcloud.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see <http://www.gnu.org/licenses/>.
* @author Bartosz Przybylski
* Copyright (C) 2015 Bartosz Przybylski
* Copyright (C) 2015 ownCloud Inc.
* Copyright (C) 2016 Nextcloud.
* <p>
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
* <p>
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.owncloud.android.ui.activity;
@ -36,6 +36,7 @@ import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
@ -77,7 +78,7 @@ public class WhatsNewActivity extends FragmentActivity implements ViewPager.OnPa
setContentView(R.layout.whats_new_activity);
mProgress = (ProgressIndicator) findViewById(R.id.progressIndicator);
mPager = (ViewPager)findViewById(R.id.contentPanel);
mPager = (ViewPager) findViewById(R.id.contentPanel);
final boolean isBeta = getResources().getBoolean(R.bool.is_beta);
String[] urls = getResources().getStringArray(R.array.whatsnew_urls);
@ -109,8 +110,8 @@ public class WhatsNewActivity extends FragmentActivity implements ViewPager.OnPa
@Override
public void onClick(View view) {
if (mProgress.hasNextStep()) {
mPager.setCurrentItem(mPager.getCurrentItem()+1, true);
mProgress.animateToStep(mPager.getCurrentItem()+1);
mPager.setCurrentItem(mPager.getCurrentItem() + 1, true);
mProgress.animateToStep(mPager.getCurrentItem() + 1);
} else {
onFinish();
finish();
@ -134,14 +135,14 @@ public class WhatsNewActivity extends FragmentActivity implements ViewPager.OnPa
}
});
TextView tv = (TextView)findViewById(R.id.welcomeText);
TextView tv = (TextView) findViewById(R.id.welcomeText);
if (showWebView) {
tv.setText(R.string.app_name);
} else if (isFirstRun()) {
tv.setText(R.string.empty);
} else {
tv.setText(String.format(getString(R.string.whats_new_title), MainApp.getVersionName()));
tv.setText(String.format(getString(R.string.whats_new_title), MainApp.getVersionName()));
}
updateNextButtonIfNeeded();
@ -205,8 +206,8 @@ public class WhatsNewActivity extends FragmentActivity implements ViewPager.OnPa
return (isFirstRun() && context instanceof AccountAuthenticatorActivity) ||
(
!(isFirstRun() && (context instanceof FileDisplayActivity)) &&
!(context instanceof PassCodeActivity) &&
(FeatureList.getFiltered(getLastSeenVersionCode(), isFirstRun(), isBeta).length > 0)
!(context instanceof PassCodeActivity) &&
(FeatureList.getFiltered(getLastSeenVersionCode(), isFirstRun(), isBeta).length > 0)
);
}
@ -217,7 +218,7 @@ public class WhatsNewActivity extends FragmentActivity implements ViewPager.OnPa
@Override
public void onPageSelected(int position) {
mProgress.animateToStep(position+1);
mProgress.animateToStep(position + 1);
updateNextButtonIfNeeded();
}
@ -284,7 +285,7 @@ public class WhatsNewActivity extends FragmentActivity implements ViewPager.OnPa
private FeatureItem[] mFeatures;
public FeaturesViewAdapter(FragmentManager fm, FeatureItem[]features) {
public FeaturesViewAdapter(FragmentManager fm, FeatureItem[] features) {
super(fm);
mFeatures = features;
}
@ -314,7 +315,7 @@ public class WhatsNewActivity extends FragmentActivity implements ViewPager.OnPa
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mItem = getArguments() != null ? (FeatureItem)getArguments().getParcelable("feature") : null;
mItem = getArguments() != null ? (FeatureItem) getArguments().getParcelable("feature") : null;
}
@Nullable
@ -324,19 +325,23 @@ public class WhatsNewActivity extends FragmentActivity implements ViewPager.OnPa
@Nullable Bundle savedInstanceState) {
View v = inflater.inflate(R.layout.whats_new_element, container, false);
ImageView iv = (ImageView)v.findViewById(R.id.whatsNewImage);
ImageView iv = (ImageView) v.findViewById(R.id.whatsNewImage);
if (mItem.shouldShowImage()) {
iv.setImageResource(mItem.getImage());
}
TextView tv2 = (TextView)v.findViewById(R.id.whatsNewTitle);
TextView tv2 = (TextView) v.findViewById(R.id.whatsNewTitle);
if (mItem.shouldShowTitleText()) {
tv2.setText(mItem.getTitleText());
}
tv2 = (TextView)v.findViewById(R.id.whatsNewText);
tv2 = (TextView) v.findViewById(R.id.whatsNewText);
if (mItem.shouldShowContentText()) {
tv2.setText(mItem.getContentText());
if (!mItem.shouldContentCentered()) {
tv2.setGravity(Gravity.START);
}
}
return v;

View file

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View file

@ -636,7 +636,16 @@
<string name="welcome_feature_3_text">Keep your photos safe</string>
<string name="whats_new_auto_upload_title">Enhanced auto upload</string>
<string name="whats_new_auto_upload_content">\u2022 for all android versions\n\u2022 less battery consumption\n\u2022 more reliable, but not instant</string>
<string name="whats_new_auto_upload_content">\u2022 for all android versions\n\u2022 less battery consumption\n\u2022 more reliable, but not instant\n\u2022 separation between image &amp; video</string>
<string name="whats_new_search_title">Full server search</string>
<string name="whats_new_search_content">\u2022 Not only in current folder\n\u2022 Returns results from complete server\n\u2022 Directly open files/folders\n\u2022 Supported in NC12 and above</string>
<string name="whats_new_theming_title">Theming support</string>
<string name="whats_new_theming_content">If enabled on server app will show\n\u2022 background image\n\u2022 server name\n\u2022 use color to distinguish accounts</string>
<string name="whats_new_notification_title">Notification support</string>
<string name="whats_new_notification_content">Get notifications like\n\u2022 new remote share\n\u2022 mentioned in a comment\n\u2022 announcements posted by an admin</string>
<string name="whats_new_skip">Skip</string>
@ -693,4 +702,6 @@
<string name="test_server_button">Test server connection</string>
<string name="info_separator" translatable="false">,</string>
<string name="resharing_is_not_allowed">Resharing is not allowed</string>
<string name="whats_new_fingerprint_title">Unlock with fingerprint</string>
<string name="whats_new_fingerprint_content">Use your fingerprint to unlock the app</string>
</resources>