[Android] Add pressed checkbox false and true icons

Alexandre Perraud git at videolan.org
Tue Jun 20 17:14:00 CEST 2017


vlc-android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Tue Jun 20 17:10:09 2017 +0200| [6bf4ae5ac15f9be6588d1bf47a41b87c73e4978c] | committer: Alexandre Perraud

Add pressed checkbox false and true icons

> https://code.videolan.org/videolan/vlc-android/commit/6bf4ae5ac15f9be6588d1bf47a41b87c73e4978c
---

 ...e_disable.svg => ic_checkbox_false_pressed.svg} |  12 +++++------
 ...ue_disable.svg => ic_checkbox_true_pressed.svg} |  22 ++++++++++-----------
 .../drawable-hdpi/ic_checkbox_false_pressed.png    | Bin 0 -> 286 bytes
 .../res/drawable-hdpi/ic_checkbox_true_pressed.png | Bin 0 -> 404 bytes
 .../drawable-ldpi/ic_checkbox_false_pressed.png    | Bin 0 -> 243 bytes
 .../res/drawable-ldpi/ic_checkbox_true_pressed.png | Bin 0 -> 306 bytes
 .../drawable-mdpi/ic_checkbox_false_pressed.png    | Bin 0 -> 224 bytes
 .../res/drawable-mdpi/ic_checkbox_true_pressed.png | Bin 0 -> 307 bytes
 .../drawable-xhdpi/ic_checkbox_false_pressed.png   | Bin 0 -> 336 bytes
 .../drawable-xhdpi/ic_checkbox_true_pressed.png    | Bin 0 -> 488 bytes
 10 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/assets/images/svg/ic_checkbox_false_disable.svg b/assets/images/svg/ic_checkbox_false_pressed.svg
similarity index 89%
rename from assets/images/svg/ic_checkbox_false_disable.svg
rename to assets/images/svg/ic_checkbox_false_pressed.svg
index 4761503f0..5ddad4940 100644
--- a/assets/images/svg/ic_checkbox_false_disable.svg
+++ b/assets/images/svg/ic_checkbox_false_pressed.svg
@@ -13,8 +13,8 @@
    height="20"
    id="svg4682"
    version="1.1"
-   inkscape:version="0.91 r13725"
-   sodipodi:docname="ic_checkbox_false_disable.svg"
+   inkscape:version="0.92.1 r15371"
+   sodipodi:docname="ic_checkbox_false_pressed.svg"
    inkscape:export-filename="/home/corbax/Dev/android/Icons/Test 1/ic_play_normal.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90">
@@ -28,15 +28,15 @@
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
      inkscape:zoom="22.4"
-     inkscape:cx="-1.0098388"
+     inkscape:cx="13.878554"
      inkscape:cy="12.820263"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
      showgrid="true"
      inkscape:window-width="1920"
-     inkscape:window-height="1056"
+     inkscape:window-height="1054"
      inkscape:window-x="1920"
-     inkscape:window-y="24"
+     inkscape:window-y="0"
      inkscape:window-maximized="1">
     <inkscape:grid
        type="xygrid"
@@ -64,7 +64,7 @@
      id="layer1"
      transform="translate(0,-1032.3622)">
     <path
-       style="color:#000000;fill:#ffca7d;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       style="color:#000000;fill:#ffb54c;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
        d="m 6,1037.3622 c -0.554,0 -1,0.446 -1,1 l 0,8 c 0,0.554 0.446,1 1,1 l 8,0 c 0.554,0 1,-0.446 1,-1 l 0,-8 c 0,-0.554 -0.446,-1 -1,-1 l -8,0 z m 0,1 8,0 0,8 -8,0 0,-8 z"
        id="rect4929"
        inkscape:connector-curvature="0" />
diff --git a/assets/images/svg/ic_checkbox_true_disable.svg b/assets/images/svg/ic_checkbox_true_pressed.svg
similarity index 70%
rename from assets/images/svg/ic_checkbox_true_disable.svg
rename to assets/images/svg/ic_checkbox_true_pressed.svg
index 6099c60a7..70f2330ae 100644
--- a/assets/images/svg/ic_checkbox_true_disable.svg
+++ b/assets/images/svg/ic_checkbox_true_pressed.svg
@@ -13,8 +13,8 @@
    height="20"
    id="svg4682"
    version="1.1"
-   inkscape:version="0.91 r13725"
-   sodipodi:docname="ic_checkbox_true_disable.svg"
+   inkscape:version="0.92.1 r15371"
+   sodipodi:docname="ic_checkbox_true_pressed.svg"
    inkscape:export-filename="/home/corbax/Dev/android/Icons/Test 1/ic_play_normal.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90">
@@ -27,16 +27,16 @@
      borderopacity="1.0"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
-     inkscape:zoom="15.839192"
-     inkscape:cx="-13.039463"
-     inkscape:cy="17.490209"
+     inkscape:zoom="31.678384"
+     inkscape:cx="12.370688"
+     inkscape:cy="10.379553"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
      showgrid="true"
      inkscape:window-width="1920"
-     inkscape:window-height="1056"
+     inkscape:window-height="1054"
      inkscape:window-x="1920"
-     inkscape:window-y="24"
+     inkscape:window-y="0"
      inkscape:window-maximized="1">
     <inkscape:grid
        type="xygrid"
@@ -54,7 +54,7 @@
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
-        <dc:title></dc:title>
+        <dc:title />
       </cc:Work>
     </rdf:RDF>
   </metadata>
@@ -64,9 +64,9 @@
      id="layer1"
      transform="translate(0,-1032.3622)">
     <path
-       style="color:#000000;fill:#ffca7d;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
-       d="m 6,1037.3622 c -0.554,0 -1,0.446 -1,1 l 0,8 c 0,0.554 0.446,1 1,1 l 8,0 c 0.554,0 1,-0.446 1,-1 l 0,-8 c 0,-0.554 -0.446,-1 -1,-1 l -8,0 z m 6.28125,2.2813 0.71875,0.7187 -4,4 -2,-2 0.71875,-0.7187 1.28125,1.2812 3.28125,-3.2812 z"
-       id="rect4931"
+       style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#ffb54c;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;enable-background:accumulate"
+       d="m 6,1037.3622 c -0.554,0 -1,0.446 -1,1 v 8 c 0,0.554 0.446,1 1,1 h 8 c 0.554,0 1,-0.446 1,-1 v -8 c 0,-0.554 -0.446,-1 -1,-1 z m 6.28125,2.2813 0.71875,0.7187 -4,4 -2,-2 0.71875,-0.7187 L 9,1042.9247 Z"
+       id="rect4931-8"
        inkscape:connector-curvature="0" />
   </g>
 </svg>
diff --git a/vlc-android/res/drawable-hdpi/ic_checkbox_false_pressed.png b/vlc-android/res/drawable-hdpi/ic_checkbox_false_pressed.png
new file mode 100644
index 000000000..029948958
Binary files /dev/null and b/vlc-android/res/drawable-hdpi/ic_checkbox_false_pressed.png differ
diff --git a/vlc-android/res/drawable-hdpi/ic_checkbox_true_pressed.png b/vlc-android/res/drawable-hdpi/ic_checkbox_true_pressed.png
new file mode 100644
index 000000000..2553c08c9
Binary files /dev/null and b/vlc-android/res/drawable-hdpi/ic_checkbox_true_pressed.png differ
diff --git a/vlc-android/res/drawable-ldpi/ic_checkbox_false_pressed.png b/vlc-android/res/drawable-ldpi/ic_checkbox_false_pressed.png
new file mode 100644
index 000000000..3e2b002ef
Binary files /dev/null and b/vlc-android/res/drawable-ldpi/ic_checkbox_false_pressed.png differ
diff --git a/vlc-android/res/drawable-ldpi/ic_checkbox_true_pressed.png b/vlc-android/res/drawable-ldpi/ic_checkbox_true_pressed.png
new file mode 100644
index 000000000..26e2afddd
Binary files /dev/null and b/vlc-android/res/drawable-ldpi/ic_checkbox_true_pressed.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_checkbox_false_pressed.png b/vlc-android/res/drawable-mdpi/ic_checkbox_false_pressed.png
new file mode 100644
index 000000000..95d02fce9
Binary files /dev/null and b/vlc-android/res/drawable-mdpi/ic_checkbox_false_pressed.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_checkbox_true_pressed.png b/vlc-android/res/drawable-mdpi/ic_checkbox_true_pressed.png
new file mode 100644
index 000000000..efb2f7055
Binary files /dev/null and b/vlc-android/res/drawable-mdpi/ic_checkbox_true_pressed.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_checkbox_false_pressed.png b/vlc-android/res/drawable-xhdpi/ic_checkbox_false_pressed.png
new file mode 100644
index 000000000..de391cab2
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi/ic_checkbox_false_pressed.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_checkbox_true_pressed.png b/vlc-android/res/drawable-xhdpi/ic_checkbox_true_pressed.png
new file mode 100644
index 000000000..d466596f1
Binary files /dev/null and b/vlc-android/res/drawable-xhdpi/ic_checkbox_true_pressed.png differ



More information about the Android mailing list