diff options
author | Andrew Dolgov <[email protected]> | 2015-02-11 11:49:51 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-02-11 11:49:51 +0300 |
commit | 68ae4822e2777ef3d065c18b1c3964cc4d01b486 (patch) | |
tree | 77606adb89429c1ecd8756b3b403267a352e4069 /app/src/main/res | |
parent | 2dbc784804774f563601b7af4b2082be89c08cd3 (diff) |
rename main module
Diffstat (limited to 'app/src/main/res')
40 files changed, 1601 insertions, 0 deletions
diff --git a/app/src/main/res/anim/appear.xml b/app/src/main/res/anim/appear.xml new file mode 100644 index 0000000..9f44552 --- /dev/null +++ b/app/src/main/res/anim/appear.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator"> + <alpha + android:fromAlpha="0" + android:toAlpha="1" + android:duration="150" + /> +</set> + diff --git a/app/src/main/res/drawable-hdpi/badimage.png b/app/src/main/res/drawable-hdpi/badimage.png Binary files differnew file mode 100644 index 0000000..84facc9 --- /dev/null +++ b/app/src/main/res/drawable-hdpi/badimage.png diff --git a/app/src/main/res/drawable-hdpi/comic_grid_footer.png b/app/src/main/res/drawable-hdpi/comic_grid_footer.png Binary files differnew file mode 100755 index 0000000..c387044 --- /dev/null +++ b/app/src/main/res/drawable-hdpi/comic_grid_footer.png diff --git a/app/src/main/res/drawable-hdpi/ic_action_overflow.png b/app/src/main/res/drawable-hdpi/ic_action_overflow.png Binary files differnew file mode 100644 index 0000000..002fc4b --- /dev/null +++ b/app/src/main/res/drawable-hdpi/ic_action_overflow.png diff --git a/app/src/main/res/drawable-hdpi/ic_launcher.png b/app/src/main/res/drawable-hdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..e5a62ee --- /dev/null +++ b/app/src/main/res/drawable-hdpi/ic_launcher.png diff --git a/app/src/main/res/drawable-hdpi/ic_refresh_light.png b/app/src/main/res/drawable-hdpi/ic_refresh_light.png Binary files differnew file mode 100644 index 0000000..bb9d855 --- /dev/null +++ b/app/src/main/res/drawable-hdpi/ic_refresh_light.png diff --git a/app/src/main/res/drawable-hdpi/ic_settings.png b/app/src/main/res/drawable-hdpi/ic_settings.png Binary files differnew file mode 100644 index 0000000..3e4580e --- /dev/null +++ b/app/src/main/res/drawable-hdpi/ic_settings.png diff --git a/app/src/main/res/drawable-hdpi/ic_share_light.png b/app/src/main/res/drawable-hdpi/ic_share_light.png Binary files differnew file mode 100644 index 0000000..c329f58 --- /dev/null +++ b/app/src/main/res/drawable-hdpi/ic_share_light.png diff --git a/app/src/main/res/drawable-xhdpi/ic_action_good.png b/app/src/main/res/drawable-xhdpi/ic_action_good.png Binary files differnew file mode 100644 index 0000000..49b85ca --- /dev/null +++ b/app/src/main/res/drawable-xhdpi/ic_action_good.png diff --git a/app/src/main/res/drawable-xhdpi/ic_action_overflow.png b/app/src/main/res/drawable-xhdpi/ic_action_overflow.png Binary files differnew file mode 100644 index 0000000..cfe1287 --- /dev/null +++ b/app/src/main/res/drawable-xhdpi/ic_action_overflow.png diff --git a/app/src/main/res/drawable-xhdpi/ic_launcher.png b/app/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..6904f59 --- /dev/null +++ b/app/src/main/res/drawable-xhdpi/ic_launcher.png diff --git a/app/src/main/res/drawable-xhdpi/ic_refresh_light.png b/app/src/main/res/drawable-xhdpi/ic_refresh_light.png Binary files differnew file mode 100644 index 0000000..a7fdc0d --- /dev/null +++ b/app/src/main/res/drawable-xhdpi/ic_refresh_light.png diff --git a/app/src/main/res/drawable-xhdpi/ic_search_light.png b/app/src/main/res/drawable-xhdpi/ic_search_light.png Binary files differnew file mode 100644 index 0000000..3549f84 --- /dev/null +++ b/app/src/main/res/drawable-xhdpi/ic_search_light.png diff --git a/app/src/main/res/drawable-xhdpi/ic_settings.png b/app/src/main/res/drawable-xhdpi/ic_settings.png Binary files differnew file mode 100644 index 0000000..09b0148 --- /dev/null +++ b/app/src/main/res/drawable-xhdpi/ic_settings.png diff --git a/app/src/main/res/drawable-xhdpi/ic_share_light.png b/app/src/main/res/drawable-xhdpi/ic_share_light.png Binary files differnew file mode 100644 index 0000000..15549b0 --- /dev/null +++ b/app/src/main/res/drawable-xhdpi/ic_share_light.png diff --git a/app/src/main/res/drawable-xxhdpi/ic_launcher.png b/app/src/main/res/drawable-xxhdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..d5f05d2 --- /dev/null +++ b/app/src/main/res/drawable-xxhdpi/ic_launcher.png diff --git a/app/src/main/res/drawable/s_badimage.svg b/app/src/main/res/drawable/s_badimage.svg new file mode 100644 index 0000000..010d5d1 --- /dev/null +++ b/app/src/main/res/drawable/s_badimage.svg @@ -0,0 +1,519 @@ +<?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: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" + inkscape:export-ydpi="696" + inkscape:export-xdpi="696" + inkscape:export-filename="C:\Users\fox\Documents\Projects\Tiny-Comics-Reader\org.fox.ttcomics\src\main\res\drawable-hdpi\badimage.png" + sodipodi:docname="s_badimage.svg" + inkscape:version="0.91 r13725" + version="1.1" + id="svg2" + height="96" + width="96"> + <defs + id="defs4"> + <linearGradient + id="linearGradient3799"> + <stop + style="stop-color:#ff0000;stop-opacity:1" + offset="0" + id="stop3801" /> + <stop + style="stop-color:#ffdd00;stop-opacity:1" + offset="1" + id="stop3803" /> + </linearGradient> + <filter + id="filter3007" + inkscape:label="Drop shadow" + width="1.5" + height="1.5" + x="-.25" + y="-.25"> + <feGaussianBlur + id="feGaussianBlur3009" + in="SourceAlpha" + stdDeviation="2" + result="blur" /> + <feColorMatrix + id="feColorMatrix3011" + result="bluralpha" + type="matrix" + values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.75 0 " /> + <feOffset + id="feOffset3013" + in="bluralpha" + dx="1" + dy="1" + result="offsetBlur" /> + <feMerge + id="feMerge3015"> + <feMergeNode + id="feMergeNode3017" + in="offsetBlur" /> + <feMergeNode + id="feMergeNode3019" + in="SourceGraphic" /> + </feMerge> + </filter> + <filter + id="filter4167" + inkscape:label="Colorize" + inkscape:menu="Color" + inkscape:menu-tooltip="Blend image or object with a flood color and set lightness and contrast" + x="0" + y="0" + width="1" + height="1" + color-interpolation-filters="sRGB"> + <feColorMatrix + id="feColorMatrix4169" + values="1" + in="SourceGraphic" + type="saturate" + result="result2" /> + <feFlood + id="feFlood4171" + flood-color="rgb(254,102,0)" + flood-opacity="1" + result="result1" /> + <feBlend + id="feBlend4173" + in2="result2" + mode="multiply" + in="result1" + result="result3" /> + <feComposite + id="feComposite4175" + in2="SourceGraphic" + operator="in" + k2="1" + result="result4" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Drop Shadow" + id="filter4404"> + <feFlood + flood-opacity="0.498039" + flood-color="rgb(0,0,0)" + result="flood" + id="feFlood4406" /> + <feComposite + in="flood" + in2="SourceGraphic" + operator="in" + result="composite1" + id="feComposite4408" /> + <feGaussianBlur + in="composite1" + stdDeviation="0.5" + result="blur" + id="feGaussianBlur4410" /> + <feOffset + dx="1" + dy="1" + result="offset" + id="feOffset4412" /> + <feComposite + in="SourceGraphic" + in2="offset" + operator="over" + result="composite2" + id="feComposite4414" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Drop Shadow" + id="filter4416"> + <feFlood + flood-opacity="0.498039" + flood-color="rgb(0,0,0)" + result="flood" + id="feFlood4418" /> + <feComposite + in="flood" + in2="SourceGraphic" + operator="in" + result="composite1" + id="feComposite4420" /> + <feGaussianBlur + in="composite1" + stdDeviation="0.5" + result="blur" + id="feGaussianBlur4422" /> + <feOffset + dx="1" + dy="1" + result="offset" + id="feOffset4424" /> + <feComposite + in="SourceGraphic" + in2="offset" + operator="over" + result="fbSourceGraphic" + id="feComposite4426" /> + <feColorMatrix + result="fbSourceGraphicAlpha" + in="fbSourceGraphic" + values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0" + id="feColorMatrix4428" /> + <feFlood + id="feFlood4430" + flood-opacity="0.498039" + flood-color="rgb(0,0,0)" + result="flood" + in="fbSourceGraphic" /> + <feComposite + id="feComposite4432" + in2="fbSourceGraphic" + in="flood" + operator="in" + result="composite1" /> + <feGaussianBlur + id="feGaussianBlur4434" + in="composite1" + stdDeviation="0.5" + result="blur" /> + <feOffset + id="feOffset4436" + dx="1" + dy="1" + result="offset" /> + <feComposite + id="feComposite4438" + in2="offset" + in="fbSourceGraphic" + operator="over" + result="composite2" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Drop Shadow" + id="filter4440"> + <feFlood + flood-opacity="0.498039" + flood-color="rgb(0,0,0)" + result="flood" + id="feFlood4442" /> + <feComposite + in="flood" + in2="SourceGraphic" + operator="in" + result="composite1" + id="feComposite4444" /> + <feGaussianBlur + in="composite1" + stdDeviation="0.5" + result="blur" + id="feGaussianBlur4446" /> + <feOffset + dx="1" + dy="1" + result="offset" + id="feOffset4448" /> + <feComposite + in="SourceGraphic" + in2="offset" + operator="over" + result="composite2" + id="feComposite4450" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Drop Shadow" + id="filter4857"> + <feFlood + flood-opacity="0.498039" + flood-color="rgb(0,0,0)" + result="flood" + id="feFlood4859" /> + <feComposite + in="flood" + in2="SourceGraphic" + operator="in" + result="composite1" + id="feComposite4861" /> + <feGaussianBlur + in="composite1" + stdDeviation="3" + result="blur" + id="feGaussianBlur4863" /> + <feOffset + dx="1" + dy="1" + result="offset" + id="feOffset4865" /> + <feComposite + in="SourceGraphic" + in2="offset" + operator="over" + result="composite2" + id="feComposite4867" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Drop Shadow" + id="filter4869"> + <feFlood + flood-opacity="0.498039" + flood-color="rgb(0,0,0)" + result="flood" + id="feFlood4871" /> + <feComposite + in="flood" + in2="SourceGraphic" + operator="in" + result="composite1" + id="feComposite4873" /> + <feGaussianBlur + in="composite1" + stdDeviation="3" + result="blur" + id="feGaussianBlur4875" /> + <feOffset + dx="1" + dy="1" + result="offset" + id="feOffset4877" /> + <feComposite + in="SourceGraphic" + in2="offset" + operator="over" + result="composite2" + id="feComposite4879" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Drop Shadow" + id="filter4881"> + <feFlood + flood-opacity="0.498039" + flood-color="rgb(0,0,0)" + result="flood" + id="feFlood4883" /> + <feComposite + in="flood" + in2="SourceGraphic" + operator="in" + result="composite1" + id="feComposite4885" /> + <feGaussianBlur + in="composite1" + stdDeviation="3" + result="blur" + id="feGaussianBlur4887" /> + <feOffset + dx="1" + dy="1" + result="offset" + id="feOffset4889" /> + <feComposite + in="SourceGraphic" + in2="offset" + operator="over" + result="composite2" + id="feComposite4891" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Drop Shadow" + id="filter5007"> + <feFlood + flood-opacity="0.321569" + flood-color="rgb(0,0,0)" + result="flood" + id="feFlood5009" /> + <feComposite + in="flood" + in2="SourceGraphic" + operator="in" + result="composite1" + id="feComposite5011" /> + <feGaussianBlur + in="composite1" + stdDeviation="3" + result="blur" + id="feGaussianBlur5013" /> + <feOffset + dx="1" + dy="1" + result="offset" + id="feOffset5015" /> + <feComposite + in="offset" + in2="offset" + operator="atop" + result="composite2" + id="feComposite5017" /> + </filter> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3799" + id="linearGradient6959" + x1="-72.715965" + y1="990.30542" + x2="-71.995934" + y2="1013.8391" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3799" + id="linearGradient49795" + x1="-72.715965" + y1="990.30542" + x2="-71.995934" + y2="1013.8391" + gradientUnits="userSpaceOnUse" /> + </defs> + <sodipodi:namedview + inkscape:snap-global="false" + inkscape:snap-nodes="false" + inkscape:window-maximized="1" + inkscape:window-y="-8" + inkscape:window-x="-8" + inkscape:window-height="1137" + inkscape:window-width="1920" + inkscape:guide-bbox="true" + showguides="true" + showgrid="false" + inkscape:current-layer="svg2" + inkscape:document-units="px" + inkscape:cy="37.454658" + inkscape:cx="-18.732881" + inkscape:zoom="3.959798" + inkscape:pageshadow="2" + inkscape:pageopacity="0" + borderopacity="1.0" + bordercolor="#666666" + pagecolor="#ffffff" + id="base"> + <sodipodi:guide + orientation="1,0" + position="7.5761441,54.043161" + id="guide2993" /> + <sodipodi:guide + orientation="0,1" + position="54.548238,88.13581" + id="guide2995" /> + <sodipodi:guide + orientation="1,0" + position="88.388348,62.881996" + id="guide2997" /> + <sodipodi:guide + orientation="0,1" + position="59.599,8.0812204" + id="guide2999" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <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> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-956.36218)"> + <path + inkscape:transform-center-y="-0.78624016" + inkscape:transform-center-x="-0.38354235" + d="m 79.59389,1025.628 -14.797549,-0.5906 -1.802635,14.6992 -12.129199,-8.497 -9.463466,11.3912 -5.609914,-13.7056 -14.119712,4.4665 2.690479,-14.5629 -14.29305,-3.8762 10.136663,-10.7965 -9.928445,-10.98825 14.364529,-3.6023 -2.411629,-14.61165 14.031759,4.73561 5.870861,-13.59592 9.244004,11.56998 12.289396,-8.26359 1.521342,14.73098 14.806134,-0.30763 -6.684334,13.21499 12.622029,7.74598 -12.767782,7.5034 z" + inkscape:randomized="0" + inkscape:rounded="0" + inkscape:flatsided="false" + sodipodi:arg2="0.86635568" + sodipodi:arg1="0.58075635" + sodipodi:r2="27.064737" + sodipodi:r1="38.66391" + sodipodi:cy="1004.4148" + sodipodi:cx="47.269009" + sodipodi:sides="11" + id="path49973" + style="opacity:1;fill:#ff0000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + sodipodi:type="star" + transform="matrix(0.85439132,-0.05510671,0.05510671,0.85439132,-48.457117,148.91105)" /> + <path + sodipodi:type="star" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + id="path49971" + sodipodi:sides="11" + sodipodi:cx="47.269009" + sodipodi:cy="1004.4148" + sodipodi:r1="38.66391" + sodipodi:r2="27.064737" + sodipodi:arg1="0.58075635" + sodipodi:arg2="0.86635568" + inkscape:flatsided="false" + inkscape:rounded="0" + inkscape:randomized="0" + d="m 79.59389,1025.628 -14.797549,-0.5906 -1.802635,14.6992 -12.129199,-8.497 -9.463466,11.3912 -5.609914,-13.7056 -14.119712,4.4665 2.690479,-14.5629 -14.29305,-3.8762 10.136663,-10.7965 -9.928445,-10.98825 14.364529,-3.6023 -2.411629,-14.61165 14.031759,4.73561 5.870861,-13.59592 9.244004,11.56998 12.289396,-8.26359 1.521342,14.73098 14.806134,-0.30763 -6.684334,13.21499 12.622029,7.74598 -12.767782,7.5034 z" + inkscape:transform-center-x="0.14286093" + inkscape:transform-center-y="-0.18702017" + transform="matrix(0.84435138,-0.1417463,0.1417463,0.84435138,-135.0647,163.12814)" /> + <path + transform="matrix(0.67017835,-0.11250683,0.11250683,0.67017835,-97.447266,336.85142)" + inkscape:transform-center-y="-0.14843901" + inkscape:transform-center-x="0.1133964" + d="m 79.59389,1025.628 -14.797549,-0.5906 -1.802635,14.6992 -12.129199,-8.497 -9.463466,11.3912 -5.609914,-13.7056 -14.119712,4.4665 2.690479,-14.5629 -14.29305,-3.8762 10.136663,-10.7965 -9.928445,-10.98825 14.364529,-3.6023 -2.411629,-14.61165 14.031759,4.73561 5.870861,-13.59592 9.244004,11.56998 12.289396,-8.26359 1.521342,14.73098 14.806134,-0.30763 -6.684334,13.21499 12.622029,7.74598 -12.767782,7.5034 z" + inkscape:randomized="0" + inkscape:rounded="0" + inkscape:flatsided="false" + sodipodi:arg2="0.86635568" + sodipodi:arg1="0.58075635" + sodipodi:r2="27.064737" + sodipodi:r1="38.66391" + sodipodi:cy="1004.4148" + sodipodi:cx="47.269009" + sodipodi:sides="11" + id="path50018" + style="opacity:1;fill:#ffea92;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + sodipodi:type="star" /> + <g + id="g49985" + transform="translate(31.067894,-5.7610247)"> + <text + transform="matrix(0.99123282,-0.13212683,0.13212683,0.99123282,0,0)" + sodipodi:linespacing="127%" + id="text3801-2" + y="1016.485" + x="-126.51662" + style="font-style:normal;font-weight:normal;font-size:36.53679657px;line-height:126.99999809%;font-family:Sans;letter-spacing:0px;word-spacing:0px;opacity:1;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.5;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + xml:space="preserve"><tspan + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:28px;line-height:126.99999809%;font-family:'BD Cartoon Shout';-inkscape-font-specification:'BD Cartoon Shout';fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.5;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + y="1016.485" + x="-126.51662" + id="tspan3803-4" + sodipodi:role="line">?</tspan></text> + <text + transform="matrix(0.99123282,-0.13212683,0.13212683,0.99123282,0,0)" + sodipodi:linespacing="127%" + id="text3801" + y="1014.6411" + x="-128.74716" + style="font-style:normal;font-weight:normal;font-size:36.53679657px;line-height:126.99999809%;font-family:Sans;letter-spacing:0px;word-spacing:0px;opacity:1;fill:url(#linearGradient6959);fill-opacity:1;stroke:#000000;stroke-width:0.5;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + xml:space="preserve"><tspan + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:28px;line-height:126.99999809%;font-family:'BD Cartoon Shout';-inkscape-font-specification:'BD Cartoon Shout';fill:url(#linearGradient6959);fill-opacity:1;stroke:#000000;stroke-width:0.5;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + y="1014.6411" + x="-128.74716" + id="tspan3803" + sodipodi:role="line">?</tspan></text> + </g> + </g> +</svg> diff --git a/app/src/main/res/drawable/s_launcher.svg b/app/src/main/res/drawable/s_launcher.svg new file mode 100644 index 0000000..4b90414 --- /dev/null +++ b/app/src/main/res/drawable/s_launcher.svg @@ -0,0 +1,523 @@ +<?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: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" + width="96" + height="96" + id="svg2" + version="1.1" + inkscape:version="0.91 r13725" + sodipodi:docname="s_launcher.svg" + inkscape:export-filename="C:\Users\fox\Documents\Projects\Tiny-Comics-Reader\org.fox.ttcomics\src\main\res\drawable-xxhdpi\ic_launcher.png" + inkscape:export-xdpi="135" + inkscape:export-ydpi="135"> + <defs + id="defs4"> + <linearGradient + id="linearGradient3799"> + <stop + style="stop-color:#ff0000;stop-opacity:1" + offset="0" + id="stop3801" /> + <stop + style="stop-color:#ffdd00;stop-opacity:1" + offset="1" + id="stop3803" /> + </linearGradient> + <filter + id="filter3007" + inkscape:label="Drop shadow" + width="1.5" + height="1.5" + x="-.25" + y="-.25"> + <feGaussianBlur + id="feGaussianBlur3009" + in="SourceAlpha" + stdDeviation="2" + result="blur" /> + <feColorMatrix + id="feColorMatrix3011" + result="bluralpha" + type="matrix" + values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.75 0 " /> + <feOffset + id="feOffset3013" + in="bluralpha" + dx="1" + dy="1" + result="offsetBlur" /> + <feMerge + id="feMerge3015"> + <feMergeNode + id="feMergeNode3017" + in="offsetBlur" /> + <feMergeNode + id="feMergeNode3019" + in="SourceGraphic" /> + </feMerge> + </filter> + <filter + id="filter4167" + inkscape:label="Colorize" + inkscape:menu="Color" + inkscape:menu-tooltip="Blend image or object with a flood color and set lightness and contrast" + x="0" + y="0" + width="1" + height="1" + color-interpolation-filters="sRGB"> + <feColorMatrix + id="feColorMatrix4169" + values="1" + in="SourceGraphic" + type="saturate" + result="result2" /> + <feFlood + id="feFlood4171" + flood-color="rgb(254,102,0)" + flood-opacity="1" + result="result1" /> + <feBlend + id="feBlend4173" + in2="result2" + mode="multiply" + in="result1" + result="result3" /> + <feComposite + id="feComposite4175" + in2="SourceGraphic" + operator="in" + k2="1" + result="result4" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Drop Shadow" + id="filter4404"> + <feFlood + flood-opacity="0.498039" + flood-color="rgb(0,0,0)" + result="flood" + id="feFlood4406" /> + <feComposite + in="flood" + in2="SourceGraphic" + operator="in" + result="composite1" + id="feComposite4408" /> + <feGaussianBlur + in="composite1" + stdDeviation="0.5" + result="blur" + id="feGaussianBlur4410" /> + <feOffset + dx="1" + dy="1" + result="offset" + id="feOffset4412" /> + <feComposite + in="SourceGraphic" + in2="offset" + operator="over" + result="composite2" + id="feComposite4414" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Drop Shadow" + id="filter4416"> + <feFlood + flood-opacity="0.498039" + flood-color="rgb(0,0,0)" + result="flood" + id="feFlood4418" /> + <feComposite + in="flood" + in2="SourceGraphic" + operator="in" + result="composite1" + id="feComposite4420" /> + <feGaussianBlur + in="composite1" + stdDeviation="0.5" + result="blur" + id="feGaussianBlur4422" /> + <feOffset + dx="1" + dy="1" + result="offset" + id="feOffset4424" /> + <feComposite + in="SourceGraphic" + in2="offset" + operator="over" + result="fbSourceGraphic" + id="feComposite4426" /> + <feColorMatrix + result="fbSourceGraphicAlpha" + in="fbSourceGraphic" + values="0 0 0 -1 0 0 0 0 -1 0 0 0 0 -1 0 0 0 0 1 0" + id="feColorMatrix4428" /> + <feFlood + id="feFlood4430" + flood-opacity="0.498039" + flood-color="rgb(0,0,0)" + result="flood" + in="fbSourceGraphic" /> + <feComposite + id="feComposite4432" + in2="fbSourceGraphic" + in="flood" + operator="in" + result="composite1" /> + <feGaussianBlur + id="feGaussianBlur4434" + in="composite1" + stdDeviation="0.5" + result="blur" /> + <feOffset + id="feOffset4436" + dx="1" + dy="1" + result="offset" /> + <feComposite + id="feComposite4438" + in2="offset" + in="fbSourceGraphic" + operator="over" + result="composite2" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Drop Shadow" + id="filter4440"> + <feFlood + flood-opacity="0.498039" + flood-color="rgb(0,0,0)" + result="flood" + id="feFlood4442" /> + <feComposite + in="flood" + in2="SourceGraphic" + operator="in" + result="composite1" + id="feComposite4444" /> + <feGaussianBlur + in="composite1" + stdDeviation="0.5" + result="blur" + id="feGaussianBlur4446" /> + <feOffset + dx="1" + dy="1" + result="offset" + id="feOffset4448" /> + <feComposite + in="SourceGraphic" + in2="offset" + operator="over" + result="composite2" + id="feComposite4450" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Drop Shadow" + id="filter4857"> + <feFlood + flood-opacity="0.498039" + flood-color="rgb(0,0,0)" + result="flood" + id="feFlood4859" /> + <feComposite + in="flood" + in2="SourceGraphic" + operator="in" + result="composite1" + id="feComposite4861" /> + <feGaussianBlur + in="composite1" + stdDeviation="3" + result="blur" + id="feGaussianBlur4863" /> + <feOffset + dx="1" + dy="1" + result="offset" + id="feOffset4865" /> + <feComposite + in="SourceGraphic" + in2="offset" + operator="over" + result="composite2" + id="feComposite4867" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Drop Shadow" + id="filter4869"> + <feFlood + flood-opacity="0.498039" + flood-color="rgb(0,0,0)" + result="flood" + id="feFlood4871" /> + <feComposite + in="flood" + in2="SourceGraphic" + operator="in" + result="composite1" + id="feComposite4873" /> + <feGaussianBlur + in="composite1" + stdDeviation="3" + result="blur" + id="feGaussianBlur4875" /> + <feOffset + dx="1" + dy="1" + result="offset" + id="feOffset4877" /> + <feComposite + in="SourceGraphic" + in2="offset" + operator="over" + result="composite2" + id="feComposite4879" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Drop Shadow" + id="filter4881"> + <feFlood + flood-opacity="0.498039" + flood-color="rgb(0,0,0)" + result="flood" + id="feFlood4883" /> + <feComposite + in="flood" + in2="SourceGraphic" + operator="in" + result="composite1" + id="feComposite4885" /> + <feGaussianBlur + in="composite1" + stdDeviation="3" + result="blur" + id="feGaussianBlur4887" /> + <feOffset + dx="1" + dy="1" + result="offset" + id="feOffset4889" /> + <feComposite + in="SourceGraphic" + in2="offset" + operator="over" + result="composite2" + id="feComposite4891" /> + </filter> + <filter + style="color-interpolation-filters:sRGB;" + inkscape:label="Drop Shadow" + id="filter5007"> + <feFlood + flood-opacity="0.321569" + flood-color="rgb(0,0,0)" + result="flood" + id="feFlood5009" /> + <feComposite + in="flood" + in2="SourceGraphic" + operator="in" + result="composite1" + id="feComposite5011" /> + <feGaussianBlur + in="composite1" + stdDeviation="3" + result="blur" + id="feGaussianBlur5013" /> + <feOffset + dx="1" + dy="1" + result="offset" + id="feOffset5015" /> + <feComposite + in="offset" + in2="offset" + operator="atop" + result="composite2" + id="feComposite5017" /> + </filter> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3799" + id="linearGradient6959" + x1="-72.715965" + y1="990.30542" + x2="-71.995934" + y2="1013.8391" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3799" + id="linearGradient49795" + x1="-72.715965" + y1="990.30542" + x2="-71.995934" + y2="1013.8391" + gradientUnits="userSpaceOnUse" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:zoom="3.959798" + inkscape:cx="-18.732881" + inkscape:cy="37.454658" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + showguides="true" + inkscape:guide-bbox="true" + inkscape:window-width="1920" + inkscape:window-height="1137" + inkscape:window-x="-8" + inkscape:window-y="-8" + inkscape:window-maximized="1" + inkscape:snap-nodes="false" + inkscape:snap-global="false"> + <sodipodi:guide + orientation="1,0" + position="7.5761441,54.043161" + id="guide2993" /> + <sodipodi:guide + orientation="0,1" + position="54.548238,88.13581" + id="guide2995" /> + <sodipodi:guide + orientation="1,0" + position="88.388348,62.881996" + id="guide2997" /> + <sodipodi:guide + orientation="0,1" + position="59.599,8.0812204" + id="guide2999" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <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,-956.36218)"> + <g + id="g4210" + transform="matrix(1.0817445,0,0,1.0817445,-3.8552003,-82.146781)"> + <path + transform="matrix(0.88223715,-0.05690272,0.05690272,0.88223715,-51.64252,121.01245)" + sodipodi:type="star" + style="opacity:1;fill:#ff0000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + id="path49973" + sodipodi:sides="11" + sodipodi:cx="47.269009" + sodipodi:cy="1004.4148" + sodipodi:r1="38.66391" + sodipodi:r2="27.064737" + sodipodi:arg1="0.58075635" + sodipodi:arg2="0.86635568" + inkscape:flatsided="false" + inkscape:rounded="0" + inkscape:randomized="0" + d="m 79.59389,1025.628 -14.797549,-0.5906 -1.802635,14.6992 -12.129199,-8.497 -9.463466,11.3912 -5.609914,-13.7056 -14.119712,4.4665 2.690479,-14.5629 -14.29305,-3.8762 10.136663,-10.7965 -9.928445,-10.98825 14.364529,-3.6023 -2.411629,-14.61165 14.031759,4.73561 5.870861,-13.59592 9.244004,11.56998 12.289396,-8.26359 1.521342,14.73098 14.806134,-0.30763 -6.684334,13.21499 12.622029,7.74598 -12.767782,7.5034 z" + inkscape:transform-center-x="-0.39604598" + inkscape:transform-center-y="-0.81186163" /> + <path + transform="matrix(0.87186999,-0.14636601,0.14636601,0.87186999,-141.07277,135.69289)" + inkscape:transform-center-y="-0.19312114" + inkscape:transform-center-x="0.14752387" + d="m 79.59389,1025.628 -14.797549,-0.5906 -1.802635,14.6992 -12.129199,-8.497 -9.463466,11.3912 -5.609914,-13.7056 -14.119712,4.4665 2.690479,-14.5629 -14.29305,-3.8762 10.136663,-10.7965 -9.928445,-10.98825 14.364529,-3.6023 -2.411629,-14.61165 14.031759,4.73561 5.870861,-13.59592 9.244004,11.56998 12.289396,-8.26359 1.521342,14.73098 14.806134,-0.30763 -6.684334,13.21499 12.622029,7.74598 -12.767782,7.5034 z" + inkscape:randomized="0" + inkscape:rounded="0" + inkscape:flatsided="false" + sodipodi:arg2="0.86635568" + sodipodi:arg1="0.58075635" + sodipodi:r2="27.064737" + sodipodi:r1="38.66391" + sodipodi:cy="1004.4148" + sodipodi:cx="47.269009" + sodipodi:sides="11" + id="path49971" + style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + sodipodi:type="star" /> + <path + sodipodi:type="star" + style="opacity:1;fill:#ffea92;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + id="path50018" + sodipodi:sides="11" + sodipodi:cx="47.269009" + sodipodi:cy="1004.4148" + sodipodi:r1="38.66391" + sodipodi:r2="27.064737" + sodipodi:arg1="0.58075635" + sodipodi:arg2="0.86635568" + inkscape:flatsided="false" + inkscape:rounded="0" + inkscape:randomized="0" + d="m 79.59389,1025.628 -14.797549,-0.5906 -1.802635,14.6992 -12.129199,-8.497 -9.463466,11.3912 -5.609914,-13.7056 -14.119712,4.4665 2.690479,-14.5629 -14.29305,-3.8762 10.136663,-10.7965 -9.928445,-10.98825 14.364529,-3.6023 -2.411629,-14.61165 14.031759,4.73561 5.870861,-13.59592 9.244004,11.56998 12.289396,-8.26359 1.521342,14.73098 14.806134,-0.30763 -6.684334,13.21499 12.622029,7.74598 -12.767782,7.5034 z" + inkscape:transform-center-x="0.1170925" + inkscape:transform-center-y="-0.15327484" + transform="matrix(0.69202042,-0.11617359,0.11617359,0.69202042,-102.22933,315.07806)" /> + </g> + <g + id="g49985" + transform="matrix(1.0325914,0,0,1.0325914,-1.6061161,-32.751826)"> + <text + transform="matrix(0.99123282,-0.13212683,0.13212683,0.99123282,0,0)" + sodipodi:linespacing="127%" + id="text3801-2" + y="1016.485" + x="-126.51662" + style="font-style:normal;font-weight:normal;font-size:36.53679657px;line-height:126.99999809%;font-family:Sans;letter-spacing:0px;word-spacing:0px;opacity:1;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.5;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + xml:space="preserve"><tspan + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:28px;line-height:126.99999809%;font-family:'BD Cartoon Shout';-inkscape-font-specification:'BD Cartoon Shout';fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.5;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + y="1016.485" + x="-126.51662" + id="tspan3803-4" + sodipodi:role="line">POW!</tspan></text> + <text + transform="matrix(0.99123282,-0.13212683,0.13212683,0.99123282,0,0)" + sodipodi:linespacing="127%" + id="text3801" + y="1014.6411" + x="-128.74716" + style="font-style:normal;font-weight:normal;font-size:36.53679657px;line-height:126.99999809%;font-family:Sans;letter-spacing:0px;word-spacing:0px;opacity:1;fill:url(#linearGradient6959);fill-opacity:1;stroke:#000000;stroke-width:0.5;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + xml:space="preserve"><tspan + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:28px;line-height:126.99999809%;font-family:'BD Cartoon Shout';-inkscape-font-specification:'BD Cartoon Shout';fill:url(#linearGradient6959);fill-opacity:1;stroke:#000000;stroke-width:0.5;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + y="1014.6411" + x="-128.74716" + id="tspan3803" + sodipodi:role="line">POW!</tspan></text> + </g> + </g> +</svg> diff --git a/app/src/main/res/layout-sw600dp/activity_main.xml b/app/src/main/res/layout-sw600dp/activity_main.xml new file mode 100755 index 0000000..68170c5 --- /dev/null +++ b/app/src/main/res/layout-sw600dp/activity_main.xml @@ -0,0 +1,31 @@ +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/FrameLayout1" + android:fitsSystemWindows="true" + android:orientation="vertical" + android:layout_width="match_parent" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_height="match_parent"> + + <it.neokree.materialtabs.MaterialTabHost + android:id="@+id/materialTabHost" + android:layout_width="match_parent" + android:layout_height="48dp" + app:textColor="#FFFFFF" + app:primaryColor="#FF6F00" + app:accentColor="#F8CE00" /> + + <FrameLayout + android:id="@+id/comics_list" + android:layout_width="match_parent" + android:layout_height="match_parent" > + + </FrameLayout> + + <TextView + android:id="@+id/tablet_layout_hack" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:visibility="gone" + android:text="" /> + +</LinearLayout> diff --git a/app/src/main/res/layout-sw600dp/activity_view_comic.xml b/app/src/main/res/layout-sw600dp/activity_view_comic.xml new file mode 100644 index 0000000..01f320b --- /dev/null +++ b/app/src/main/res/layout-sw600dp/activity_view_comic.xml @@ -0,0 +1,20 @@ +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/FrameLayout2" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <FrameLayout + android:id="@+id/comics_pager_container" + android:layout_width="match_parent" + android:layout_height="match_parent" > + </FrameLayout> + + + <TextView + android:id="@+id/tablet_layout_hack" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:visibility="gone" + android:text="" /> + +</FrameLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml new file mode 100755 index 0000000..0a6ecd0 --- /dev/null +++ b/app/src/main/res/layout/activity_main.xml @@ -0,0 +1,24 @@ +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/FrameLayout1" + android:fitsSystemWindows="true" + android:orientation="vertical" + android:layout_width="match_parent" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_height="match_parent"> + + <it.neokree.materialtabs.MaterialTabHost + android:id="@+id/materialTabHost" + android:layout_width="match_parent" + android:layout_height="48dp" + app:textColor="#FFFFFF" + app:primaryColor="#FF6F00" + app:accentColor="#F8CE00" /> + + <FrameLayout + android:id="@+id/comics_list" + android:layout_width="match_parent" + android:layout_height="match_parent" > + + </FrameLayout> + +</LinearLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/activity_view_comic.xml b/app/src/main/res/layout/activity_view_comic.xml new file mode 100644 index 0000000..8016730 --- /dev/null +++ b/app/src/main/res/layout/activity_view_comic.xml @@ -0,0 +1,13 @@ +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/FrameLayout2" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <FrameLayout + android:id="@+id/comics_pager_container" + android:layout_width="match_parent" + android:layout_height="match_parent" > + + </FrameLayout> + +</FrameLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/chooser_list.xml b/app/src/main/res/layout/chooser_list.xml new file mode 100644 index 0000000..4200bc9 --- /dev/null +++ b/app/src/main/res/layout/chooser_list.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <ListView + android:id="@android:id/list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_weight="1" /> + + <LinearLayout + android:id="@+id/linearLayout2" + android:layout_width="fill_parent" + android:layout_height="wrap_content" > + + <Button + android:id="@+id/btnParent" + android:layout_width="fill_parent" + android:layout_weight="1" + android:layout_height="wrap_content" + android:text="@string/open_parent" /> + + <Button + android:id="@+id/btnChoose" + android:layout_weight="1" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="@string/choose" /> + </LinearLayout> + +</LinearLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/comics_grid_row.xml b/app/src/main/res/layout/comics_grid_row.xml new file mode 100755 index 0000000..10f1ed4 --- /dev/null +++ b/app/src/main/res/layout/comics_grid_row.xml @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="utf-8"?> +<android.support.v7.widget.CardView + xmlns:card_view="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/comics_list_row" + android:layout_width="160dp" + android:layout_height="210dp" + android:gravity="center_vertical" + card_view:cardUseCompatPadding="true" + card_view:cardElevation="2dp" + tools:ignore="HardcodedText" > + + <FrameLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="center_horizontal" + android:layout_weight="0" + android:padding="0dp" > + + <ImageView + android:layout_width="match_parent" + android:layout_height="200dp" + android:id="@+id/thumbnail" + android:scaleType="centerCrop" + android:src="@drawable/badimage" /> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_gravity="bottom|center_horizontal" + android:gravity="center_horizontal|bottom" + android:background="@drawable/comic_grid_footer" + android:padding="4dp" + android:orientation="vertical" > + + <TextView + android:id="@+id/file_name" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:ellipsize="middle" + android:singleLine="true" + android:text="Comic_1980.cbz" + android:textColor="@android:color/primary_text_dark" + android:textSize="11sp" /> + + <ProgressBar + android:id="@+id/file_progress_bar" + style="?android:attr/progressBarStyleHorizontal" + android:layout_width="96dp" + android:layout_height="wrap_content" + android:layout_weight="1" /> + + <TextView + android:id="@+id/file_progress_info" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="@android:color/primary_text_dark" + android:layout_weight="0" + android:gravity="right" + android:text="12 of 325" + android:textSize="8sp" /> + </LinearLayout> + + </FrameLayout> + </android.support.v7.widget.CardView>
\ No newline at end of file diff --git a/app/src/main/res/layout/dialog_location.xml b/app/src/main/res/layout/dialog_location.xml new file mode 100644 index 0000000..4b946d3 --- /dev/null +++ b/app/src/main/res/layout/dialog_location.xml @@ -0,0 +1,14 @@ +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/linearLayout1" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" > + + + + <NumberPicker + android:id="@+id/number_picker" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + +</LinearLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/fragment_comic.xml b/app/src/main/res/layout/fragment_comic.xml new file mode 100644 index 0000000..59103d4 --- /dev/null +++ b/app/src/main/res/layout/fragment_comic.xml @@ -0,0 +1,20 @@ +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/FrameLayout3" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <it.sephiroth.android.library.imagezoom.ImageViewTouch + android:id="@+id/comic_image" + android:layout_width="match_parent" + android:layout_height="match_parent" /> + + <!-- <TextView + android:id="@+id/comic_page" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="bottom|right" + android:layout_margin="4dp" + android:alpha="0.25" + android:text="25" /> --> + +</FrameLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/fragment_comics_list.xml b/app/src/main/res/layout/fragment_comics_list.xml new file mode 100644 index 0000000..5037747 --- /dev/null +++ b/app/src/main/res/layout/fragment_comics_list.xml @@ -0,0 +1,34 @@ +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/FrameLayout4" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + <android.support.v4.widget.SwipeRefreshLayout + android:id="@+id/comics_swipe_container" + android:layout_width="match_parent" + android:layout_height="match_parent" > + <GridView + android:id="@+id/comics_grid" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:columnWidth="160dp" + android:numColumns="auto_fit" > + </GridView> + </android.support.v4.widget.SwipeRefreshLayout> + + <LinearLayout + android:id="@+id/no_comics" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="center" + android:orientation="vertical" > + + <TextView + android:id="@+id/textView1" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:text="@string/error_no_comic_archives_found_" /> + </LinearLayout> + +</FrameLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/fragment_comics_pager.xml b/app/src/main/res/layout/fragment_comics_pager.xml new file mode 100755 index 0000000..fa5ebef --- /dev/null +++ b/app/src/main/res/layout/fragment_comics_pager.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" +android:id="@+id/comics_pager_container" +android:layout_width="fill_parent" +android:layout_height="fill_parent" > + + <org.fox.ttcomics2.ViewPager + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:id="@+id/comics_pager" + android:layout_above="@+id/comics_seek_bar" /> + + <SeekBar + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/comics_seek_bar" + android:layout_alignParentBottom="true" + android:layout_toRightOf="@+id/comics_page" + android:layout_toLeftOf="@+id/comics_total_pages" + android:layout_toStartOf="@+id/comics_total_pages" /> + + <TextView + android:layout_width="60dp" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceSmall" + android:text="1123" + android:id="@+id/comics_total_pages" + android:layout_alignParentBottom="true" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" + android:singleLine="true" + android:layout_alignTop="@+id/comics_seek_bar" + android:gravity="center" /> + + <TextView + android:layout_width="60dp" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceSmall" + android:text="1" + android:id="@+id/comics_page" + android:singleLine="true" + android:gravity="center" + android:layout_below="@+id/comics_pager" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" + android:layout_alignParentBottom="true" /> + + +</RelativeLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/list_item.xml b/app/src/main/res/layout/list_item.xml new file mode 100644 index 0000000..f0958d6 --- /dev/null +++ b/app/src/main/res/layout/list_item.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="utf-8"?> +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:padding="10dp" + android:textSize="16sp" > +</TextView>
\ No newline at end of file diff --git a/app/src/main/res/menu/activity_main.xml b/app/src/main/res/menu/activity_main.xml new file mode 100644 index 0000000..a7ca037 --- /dev/null +++ b/app/src/main/res/menu/activity_main.xml @@ -0,0 +1,15 @@ +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto"> + + <item android:id="@+id/menu_rescan" + android:title="@string/menu_rescan" + android:icon="@drawable/ic_refresh_light" + app:showAsAction="ifRoom" /> + + <item android:id="@+id/menu_settings" + android:title="@string/menu_settings" + android:icon="@drawable/ic_settings" + app:showAsAction="ifRoom" + android:orderInCategory="100" + /> +</menu> diff --git a/app/src/main/res/menu/activity_view_comic.xml b/app/src/main/res/menu/activity_view_comic.xml new file mode 100644 index 0000000..1e5fc29 --- /dev/null +++ b/app/src/main/res/menu/activity_view_comic.xml @@ -0,0 +1,27 @@ +<menu xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:ugh="http://schemas.android.com/apk/res-auto"> + <item android:id="@+id/menu_settings" + android:title="@string/menu_settings" + android:icon="@drawable/ic_settings" + android:fitsSystemWindows="true" + android:orderInCategory="100" + ugh:showAsAction="never" /> + + <item android:id="@+id/menu_share" + android:title="@string/menu_share" + android:icon="@drawable/ic_share_light" + ugh:showAsAction="ifRoom" /> + + <item android:id="@+id/menu_go_location" + android:title="@string/menu_go_location" + ugh:showAsAction="never" /> + + <item android:id="@+id/menu_sync_location" + android:title="@string/menu_sync_location" + ugh:showAsAction="never" /> + + <item android:id="@+id/menu_toggle_orientation_lock" + android:title="@string/menu_toggle_orientation_lock" + ugh:showAsAction="never" /> + +</menu> diff --git a/app/src/main/res/menu/comic_archive_context.xml b/app/src/main/res/menu/comic_archive_context.xml new file mode 100644 index 0000000..9a39898 --- /dev/null +++ b/app/src/main/res/menu/comic_archive_context.xml @@ -0,0 +1,8 @@ +<menu xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:id="@+id/menu_mark_as_read" + android:title="Mark as read" /> + + <item android:id="@+id/menu_reset_progress" + android:title="Reset progress" /> + +</menu> diff --git a/app/src/main/res/values-large/dimens.xml b/app/src/main/res/values-large/dimens.xml new file mode 100644 index 0000000..5c4a502 --- /dev/null +++ b/app/src/main/res/values-large/dimens.xml @@ -0,0 +1,7 @@ +<resources> + + <dimen name="padding_small">8dp</dimen> + <dimen name="padding_medium">16dp</dimen> + <dimen name="padding_large">16dp</dimen> + +</resources>
\ No newline at end of file diff --git a/app/src/main/res/values-v11/style.xml b/app/src/main/res/values-v11/style.xml new file mode 100644 index 0000000..54a7530 --- /dev/null +++ b/app/src/main/res/values-v11/style.xml @@ -0,0 +1,6 @@ +<resources xmlns:android="http://schemas.android.com/apk/res/android"> + + <style name="DarkDialogTheme" parent="android:Theme.Holo.Dialog"> + </style> + +</resources>
\ No newline at end of file diff --git a/app/src/main/res/values-v21/style.xml b/app/src/main/res/values-v21/style.xml new file mode 100644 index 0000000..c3ac29a --- /dev/null +++ b/app/src/main/res/values-v21/style.xml @@ -0,0 +1,6 @@ +<resources xmlns:android="http://schemas.android.com/apk/res/android"> + + <style name="DarkDialogTheme" parent="android:Theme.Material.Dialog"> + </style> + +</resources>
\ No newline at end of file diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml new file mode 100644 index 0000000..0d2c4cc --- /dev/null +++ b/app/src/main/res/values/attrs.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + +</resources>
\ No newline at end of file diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml new file mode 100644 index 0000000..ec96646 --- /dev/null +++ b/app/src/main/res/values/dimens.xml @@ -0,0 +1,7 @@ +<resources> + + <dimen name="padding_small">8dp</dimen> + <dimen name="padding_medium">8dp</dimen> + <dimen name="padding_large">16dp</dimen> + +</resources>
\ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml new file mode 100755 index 0000000..baf00e5 --- /dev/null +++ b/app/src/main/res/values/strings.xml @@ -0,0 +1,71 @@ +<resources> + + <string name="app_name">Pow! Comics Reader</string> + <string name="hello_world">Hello world!</string> + <string name="menu_settings">Settings</string> + <string name="menu_go_location">Go to</string> + <string name="title_activity_main">Comics Reader</string> + <string name="title_activity_preferences">Settings</string> + <string name="prefs_comics_directory">Comics directory</string> + <string name="prefs_general">General</string> + <!-- <string name="prefs_dim_status_bar">Dim status bar</string> --> + <string name="file_progress_info">%1$d of %2$d (%3$d%%)</string> + <string name="menu_rescan">Reload</string> + <string name="tab_all_comics">All comics</string> + <string name="tab_unread">Unread</string> + <string name="tab_read">Finished</string> + <string name="dialog_need_prefs_message">Please configure base directory for comics archives.</string> + <string name="dialog_need_prefs_preferences">Settings</string> + <string name="cancel">Cancel</string> + <string name="comics_directory_default">/mnt/sdcard/Comics</string> + <string name="prefs_reading">Reading</string> + <string name="prefs_dark_theme">Dark theme</string> + <string name="dialog_open_location">Open location</string> + <string name="dialog_location_beginning">Beginning</string> + <string name="dialog_location_furthest">Furthest read location</string> + <string name="dialog_location_location">Location…</string> + <string name="dialog_location_end">End</string> + <string name="tab_unfinished">Unfinished</string> + <string name="menu_share">Share</string> + <string name="prefs_use_full_screen">Fullscreen mode</string> + <string name="error_could_not_prepare_file_for_sharing">Could not prepare file for sharing</string> + <string name="error_could_not_open_comic_archive">Could not open comic archive.</string> + <string name="error_out_of_memory">Out of memory</string> + <string name="error_loading_image">Error loading image</string> + <string name="error_could_not_read_folder_contents_">Could not read folder contents.</string> + <string name="picker_choose">Choose %1$s</string> + <string name="sync_server_has_further_page">You are currently on page %1$d. Furthest read page stored on the server is %2$d. Open it instead?</string> + <string name="dialog_open_page">Open page</string> + <string name="menu_sync_location">Sync to last page read</string> + <string name="share_comic">Share comic</string> + <string name="choose">Choose</string> + <string name="error_no_comic_archives_found_">No comic archives found.</string> + <string name="prefs_use_position_sync">Sync last read pages</string> + <string name="prefs_use_position_sync_summary">Requires at least one Google account on the device. No personally identifiable information is sent.</string> + <string name="error_sync_no_account">No Google account found, sync disabled.</string> + <string name="sync_uploading">Uploading sync data…</string> + <string name="error_sync_no_data">No information stored or you are on the furthest read page.</string> + <string name="dialog_clear_data">Clear data</string> + <string name="dialog_clear_data_title">Clear all remotely stored sync data?</string> + <string name="prefs_sync">Sync</string> + <string name="prefs_clear_sync_data">Clear sync data</string> + <string name="prefs_clear_sync_data_summary">Removes all remotely stored sync data.</string> + <string name="open_parent">Open parent</string> + <string name="file_unread">Unread (%1$d pages)</string> + <string name="file_finished">Finished</string> + <string name="menu_toggle_orientation_lock">(Un)lock orientation</string> + <string name="prefs_comics_directory_summary">Base directory for comic archives.</string> + <string name="prefs_fit_to_width">Fit to width</string> + <string name="sync_running_in_test_mode">Sync running in test mode.</string> + <string name="reset_remove_synced_progress">Would you like to remove synced progress too?</string> + <string name="error_cant_open_file">Can\'t open file: %1$s</string> + <string name="prefs_prevent_screen_sleep">Keep screen awake</string> + <string name="error_other_error">Error: unknown error (see log)</string> + <string name="list_type_directory">Directory</string> + <string name="list_type_unknown">Unknown</string> + <string name="prefs_version">%1$s (%2$d)</string> + <string name="prefs_version_title">Version</string> + <string name="prefs_build_timestamp">%1$s</string> + <string name="prefs_build_timestamp_title">Build timestamp</string> + <string name="crash_dialog_text">Unfortunately, Pow! Comics Reader has stopped. Submit crash report to tt-rss.org?</string> +</resources>
\ No newline at end of file diff --git a/app/src/main/res/values/style.xml b/app/src/main/res/values/style.xml new file mode 100755 index 0000000..6852e4a --- /dev/null +++ b/app/src/main/res/values/style.xml @@ -0,0 +1,20 @@ +<resources> + + <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> + <item name="colorPrimary">#FF0000</item> + <item name="colorPrimaryDark">#990000</item> + <item name="colorAccent">#FF7500</item> + </style> + + <style name="ViewLightTheme" parent="AppTheme"> + + </style> + + <style name="ViewDarkTheme" parent="Theme.AppCompat"> + <item name="colorPrimary">#600000</item> + <item name="colorPrimaryDark">#300000</item> + <item name="colorAccent">#FF6600</item> + </style> + + <style name="DarkDialogTheme" parent="android:Theme"></style> +</resources>
\ No newline at end of file diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml new file mode 100644 index 0000000..7ed6cb2 --- /dev/null +++ b/app/src/main/res/xml/preferences.xml @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="utf-8"?> +<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" > + + <PreferenceCategory android:title="@string/prefs_general" > + <Preference + android:key="comics_directory" + android:hint="@string/comics_directory_default" + android:summary="@string/prefs_comics_directory_summary" + android:title="@string/prefs_comics_directory" > + </Preference> + </PreferenceCategory> + <PreferenceCategory android:title="@string/prefs_sync" > + <CheckBoxPreference + android:defaultValue="false" + android:key="use_position_sync" + android:title="@string/prefs_use_position_sync" + android:summary="@string/prefs_use_position_sync_summary" + /> + + <Preference + android:dependency="use_position_sync" + android:key="clear_sync_data" + android:title="@string/prefs_clear_sync_data" + android:summary="@string/prefs_clear_sync_data_summary" > + </Preference> + + </PreferenceCategory> + + <PreferenceCategory android:title="@string/prefs_reading" android:key="prefs_reading"> + <CheckBoxPreference + android:defaultValue="false" + android:key="use_dark_theme" + android:title="@string/prefs_dark_theme" /> + + <!-- <CheckBoxPreference + android:defaultValue="false" + android:key="dim_status_bar" + android:title="@string/prefs_dim_status_bar" /> --> + + <CheckBoxPreference + android:defaultValue="false" + android:key="use_full_screen" + android:title="@string/prefs_use_full_screen" /> + + <CheckBoxPreference + android:defaultValue="false" + android:key="fit_to_width" + android:title="@string/prefs_fit_to_width" /> + + <CheckBoxPreference + android:defaultValue="false" + android:key="prevent_screen_sleep" + android:title="@string/prefs_prevent_screen_sleep" /> + + </PreferenceCategory> + + <Preference + android:key="version" + android:enabled="false" + android:title="@string/prefs_version_title" /> + + <Preference + android:key="build_timestamp" + android:enabled="false" + android:title="@string/prefs_build_timestamp_title" /> +</PreferenceScreen>
\ No newline at end of file |