AndroidVectorPathTweaker icon indicating copy to clipboard operation
AndroidVectorPathTweaker copied to clipboard

Changes not applied after clicking OK button

Open macaronlover opened this issue 5 years ago • 2 comments

Changes don't happen in realtime either. Please confirm exactly which part of the vector drawable XML code needs to be highlighted.

macaronlover avatar Sep 23 '20 18:09 macaronlover

All I want to do is horizontally flip this:

<vector xmlns:android="http://schemas.android.com/apk/res/android" android:autoMirrored="true" android:height="24dp" android:width="24dp" android:viewportWidth="24" android:viewportHeight="24"> <path android:fillColor="?android:attr/textColorPrimary" android:pathData="M17 20A2 2 0 0 1 15 22A2 2 0 0 1 13 20A2 2 0 0 1 15 18A2 2 0 0 1 17 20 M7 20A2 2 0 0 1 5 22A2 2 0 0 1 3 20A2 2 0 0 1 5 18A2 2 0 0 1 7 20 M17.61 3C16.95 3 16.44 3.2 16 3.5C15.32 3.91 14.88 4.59 14.47 5.07L5.71 15.35C5.16 16 5.62 17 6.47 17H14C15.11 17 16 16.1 16 15V6.38C16.58 5.7 16.93 5 17.61 5C18.38 5 19 5.66 19 6.5V7H21V6.5C21 4.56 19.5 3 17.61 3Z" /> </vector>

macaronlover avatar Sep 23 '20 18:09 macaronlover

Every 2 coords must be separated by a comma. :

<path android:fillColor="#000000" android:pathData="M17,20A2,2 0,0 1,15 22A2,2 0,0 1,13 20A2,2 0,0 1,15 18A2,2 0,0 1,17 20M7,20A2,2 0,0 1,5 22A2,2 0,0 1,3 20A2,2 0,0 1,5 18A2,2 0,0 1,7 20M17.61,3C16.95,3 16.44,3.2 16,3.5C15.32,3.91 14.88,4.59 14.47,5.07L5.71,15.35C5.16,16 5.62,17 6.47,17H14C15.11,17 16,16.1 16,15V6.38C16.58,5.7 16.93,5 17.61,5C18.38,5 19,5.66 19,6.5V7H21V6.5C21,4.56 19.5,3 17.61,3Z" />

Later in this week I'll add two tools to handle such situations.

KnIfER avatar Sep 28 '20 15:09 KnIfER