[Android] UI : Reduce close icon size

Alexandre Perraud git at videolan.org
Thu Apr 9 18:39:34 CEST 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Thu Apr  9 18:38:45 2015 +0200| [1a6e66989c2bd8f8a3a34de6bb1e97abc07cd5ff] | committer: Alexandre Perraud

UI : Reduce close icon size

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=1a6e66989c2bd8f8a3a34de6bb1e97abc07cd5ff
---

 assets/images/svg/ic_close_normal.svg              |   28 +++++++++++++++-----
 assets/images/svg/ic_close_normal_w.svg            |   11 ++++----
 assets/images/svg/ic_close_pressed.svg             |   28 +++++++++++++++-----
 .../res/drawable-hdpi/ic_close_normal_w.png        |  Bin 456 -> 559 bytes
 vlc-android/res/drawable-hdpi/ic_close_pressed.png |  Bin 472 -> 475 bytes
 .../res/drawable-ldpi/ic_close_normal_w.png        |  Bin 294 -> 320 bytes
 vlc-android/res/drawable-ldpi/ic_close_pressed.png |  Bin 297 -> 324 bytes
 .../res/drawable-mdpi/ic_close_normal_w.png        |  Bin 363 -> 417 bytes
 vlc-android/res/drawable-mdpi/ic_close_pressed.png |  Bin 376 -> 380 bytes
 .../res/drawable-xhdpi/ic_close_normal_w.png       |  Bin 655 -> 694 bytes
 .../res/drawable-xhdpi/ic_close_pressed.png        |  Bin 684 -> 586 bytes
 11 files changed, 47 insertions(+), 20 deletions(-)

diff --git a/assets/images/svg/ic_close_normal.svg b/assets/images/svg/ic_close_normal.svg
index ddcfdcf..c18d062 100644
--- a/assets/images/svg/ic_close_normal.svg
+++ b/assets/images/svg/ic_close_normal.svg
@@ -28,7 +28,7 @@
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
      inkscape:zoom="11.2"
-     inkscape:cx="-0.33856443"
+     inkscape:cx="-16.142136"
      inkscape:cy="18.590584"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
@@ -55,11 +55,25 @@
      inkscape:groupmode="layer"
      id="layer1"
      transform="translate(0,-1028.3622)">
-    <path
-       style="fill:#757575;fill-opacity:1;stroke:none"
-       d="m 16.949747,1033.2912 2.121321,2.1213 -4.949748,4.9498 4.949748,4.9497 -2.121321,2.1213 L 12,1042.4836 l -4.949747,4.9497 -2.121321,-2.1213 4.949748,-4.9497 -4.949748,-4.9498 2.121321,-2.1213 L 12,1038.241 z"
-       id="path7224"
-       inkscape:connector-curvature="0"
-       sodipodi:nodetypes="ccccccccccccc" />
+    <g
+       id="g5222"
+       transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,-300.26697,1029.6763)"
+       style="fill:#757575;fill-opacity:1">
+      <rect
+         y="220.36218"
+         x="212"
+         height="16"
+         width="2.5"
+         id="rect5218"
+         style="color:#000000;fill:#757575;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" />
+      <rect
+         transform="matrix(0,1,-1,0,0,0)"
+         style="color:#000000;fill:#757575;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+         id="rect5220"
+         width="2.5"
+         height="16"
+         x="227.11218"
+         y="-221.25" />
+    </g>
   </g>
 </svg>
diff --git a/assets/images/svg/ic_close_normal_w.svg b/assets/images/svg/ic_close_normal_w.svg
index 6e8aa76..fd2cb9e 100644
--- a/assets/images/svg/ic_close_normal_w.svg
+++ b/assets/images/svg/ic_close_normal_w.svg
@@ -28,7 +28,7 @@
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
      inkscape:zoom="11.2"
-     inkscape:cx="-0.33856443"
+     inkscape:cx="-16.142136"
      inkscape:cy="18.590584"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
@@ -56,10 +56,9 @@
      id="layer1"
      transform="translate(0,-1028.3622)">
     <path
-       style="fill:#fafafa;fill-opacity:1;stroke:none"
-       d="m 16.949747,1033.2912 2.121321,2.1213 -4.949748,4.9498 4.949748,4.9497 -2.121321,2.1213 L 12,1042.4836 l -4.949747,4.9497 -2.121321,-2.1213 4.949748,-4.9497 -4.949748,-4.9498 2.121321,-2.1213 L 12,1038.241 z"
-       id="path7224"
-       inkscape:connector-curvature="0"
-       sodipodi:nodetypes="ccccccccccccc" />
+       style="color:#000000;fill:#fafafa;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 7.234375,1033.831 -1.78125,1.75 4.78125,4.7813 -4.78125,4.7812 1.78125,1.75 4.78125,-4.75 4.75,4.75 1.78125,-1.75 -4.78125,-4.7812 4.78125,-4.7813 -1.78125,-1.75 -4.75,4.75 -4.78125,-4.75 z"
+       id="rect5218"
+       inkscape:connector-curvature="0" />
   </g>
 </svg>
diff --git a/assets/images/svg/ic_close_pressed.svg b/assets/images/svg/ic_close_pressed.svg
index 804084b..319342e 100644
--- a/assets/images/svg/ic_close_pressed.svg
+++ b/assets/images/svg/ic_close_pressed.svg
@@ -28,7 +28,7 @@
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
      inkscape:zoom="11.2"
-     inkscape:cx="-0.33856443"
+     inkscape:cx="-16.142136"
      inkscape:cy="18.590584"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
@@ -55,11 +55,25 @@
      inkscape:groupmode="layer"
      id="layer1"
      transform="translate(0,-1028.3622)">
-    <path
-       style="fill:#fecb65;fill-opacity:1;stroke:none"
-       d="m 16.949747,1033.2912 2.121321,2.1213 -4.949748,4.9498 4.949748,4.9497 -2.121321,2.1213 L 12,1042.4836 l -4.949747,4.9497 -2.121321,-2.1213 4.949748,-4.9497 -4.949748,-4.9498 2.121321,-2.1213 L 12,1038.241 z"
-       id="path7224"
-       inkscape:connector-curvature="0"
-       sodipodi:nodetypes="ccccccccccccc" />
+    <g
+       id="g5222"
+       transform="matrix(0.70710678,-0.70710678,0.70710678,0.70710678,-300.26697,1029.6763)"
+       style="fill:#ffb54c;fill-opacity:1">
+      <rect
+         y="220.36218"
+         x="212"
+         height="16"
+         width="2.5"
+         id="rect5218"
+         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" />
+      <rect
+         transform="matrix(0,1,-1,0,0,0)"
+         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"
+         id="rect5220"
+         width="2.5"
+         height="16"
+         x="227.11218"
+         y="-221.25" />
+    </g>
   </g>
 </svg>
diff --git a/vlc-android/res/drawable-hdpi/ic_close_normal_w.png b/vlc-android/res/drawable-hdpi/ic_close_normal_w.png
index 75c8502..02ab296 100644
Binary files a/vlc-android/res/drawable-hdpi/ic_close_normal_w.png and b/vlc-android/res/drawable-hdpi/ic_close_normal_w.png differ
diff --git a/vlc-android/res/drawable-hdpi/ic_close_pressed.png b/vlc-android/res/drawable-hdpi/ic_close_pressed.png
index 89518b9..67a2cc6 100644
Binary files a/vlc-android/res/drawable-hdpi/ic_close_pressed.png and b/vlc-android/res/drawable-hdpi/ic_close_pressed.png differ
diff --git a/vlc-android/res/drawable-ldpi/ic_close_normal_w.png b/vlc-android/res/drawable-ldpi/ic_close_normal_w.png
index a3dd7b0..0d68d1c 100644
Binary files a/vlc-android/res/drawable-ldpi/ic_close_normal_w.png and b/vlc-android/res/drawable-ldpi/ic_close_normal_w.png differ
diff --git a/vlc-android/res/drawable-ldpi/ic_close_pressed.png b/vlc-android/res/drawable-ldpi/ic_close_pressed.png
index ac78554..3fe47fc 100644
Binary files a/vlc-android/res/drawable-ldpi/ic_close_pressed.png and b/vlc-android/res/drawable-ldpi/ic_close_pressed.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_close_normal_w.png b/vlc-android/res/drawable-mdpi/ic_close_normal_w.png
index da26b7d..0ce1329 100644
Binary files a/vlc-android/res/drawable-mdpi/ic_close_normal_w.png and b/vlc-android/res/drawable-mdpi/ic_close_normal_w.png differ
diff --git a/vlc-android/res/drawable-mdpi/ic_close_pressed.png b/vlc-android/res/drawable-mdpi/ic_close_pressed.png
index a7b4e7f..0e36ae4 100644
Binary files a/vlc-android/res/drawable-mdpi/ic_close_pressed.png and b/vlc-android/res/drawable-mdpi/ic_close_pressed.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_close_normal_w.png b/vlc-android/res/drawable-xhdpi/ic_close_normal_w.png
index af34da5..c47ac43 100644
Binary files a/vlc-android/res/drawable-xhdpi/ic_close_normal_w.png and b/vlc-android/res/drawable-xhdpi/ic_close_normal_w.png differ
diff --git a/vlc-android/res/drawable-xhdpi/ic_close_pressed.png b/vlc-android/res/drawable-xhdpi/ic_close_pressed.png
index a2b1f1b..25f7432 100644
Binary files a/vlc-android/res/drawable-xhdpi/ic_close_pressed.png and b/vlc-android/res/drawable-xhdpi/ic_close_pressed.png differ



More information about the Android mailing list