Home

Android layer list vector drawable

Android List-Layer Drawable with VectorDrawable Text - listlayer.xm android:layout_width=match_parent. android:layout_height=48dp. android:drawableLeft=@drawable/icon. android:gravity=center_vertical|left. android:text=Layer-List/>. Unfortunately this is. Join Stack Overflow to learn, share knowledge, and build your career

Android List-Layer Drawable with VectorDrawable Text · GitHu

Android layer-list : bitmap issue with app:srcCompat, After updating to Studio 2.3 when i tried to create a layer list with a vector drawable it prompt to use app:srcCompat instead of android:src in About shape, state list, layer list and nine-patch drawables in Android Android 15.06.2017. A drawable resource is a general concept for a graphic. Vector Drawables in Layer List on Android API 16 and higher. vasco Published at Dev. 108. Vasco I am having some trouble with vectors drawable on older API version in Android. I need to change drawables at runtime each time the activity starts should load the corresponding svg file While developing Android Applications, supporting multiple resolutions are sometime nightmare to developers. Including multiple images for different resolutions also increases the project size. The solution is to use Vector Graphics such as SVG images. While Android does not support SVGs (Scalable Vector Graphics) directly, with the launch of Lollipop a new class was introduced calle

BaseColumns; CalendarContract.AttendeesColumns; CalendarContract.CalendarAlertsColumns; CalendarContract.CalendarCacheColumns; CalendarContract.CalendarColumn To support vector drawable and animated vector drawable on devices running platform versions lower than Android 5.0 (API level 21), VectorDrawableCompat and AnimatedVectorDrawableCompat are.

Simplifying layouts with layer-list drawables by Bartek

android - Change vector drawable color in item of layer

Thus we can create Vector drawables of Material Design icons. The code for the VectorDrawable looks like this: They are set in the vector tag.android:viewportWidth and android:viewportHeight are used in setting the width and height of the drawable bounds. Within these dimensions, the vector drawable is drawn on the canvas The solution is to add padding to our vector drawable, to keep the original 1:1 ratio. This is done by adding a <group> around the <path>. This group will scale the content inside it (the actual icon), without affecting the overall size / ratio of the vector. Since the scaleX and scaleY parameters are relative, they must be set to 1 or less to.

Vector drawables overview Android Developer

Thus we can create Vector drawables of Material Design icons. The code for the VectorDrawable looks like this: They are set in the vector tag. android:viewportWidth and android:viewportHeight are used in setting the width and height of the drawable bounds. Within these dimensions, the vector drawable is drawn on the canvas Override this in your subclass to change appearance if you recognize the specified state. Use the current Drawable.ICallback implementation to have this Drawable scheduled. Specify an alpha value for the drawable. 0 means fully transparent, and 255 means fully opaque. Specify a bounding rectangle for the Drawable Add shadow using drawable without png android So in this code I used \<Layer-list >, in layer list items show in stack. First item will be shown on top of all items.I have given background color to my first item, then two second item I given grey color which will be shown as shadow. You can customize this code according to your need

Vector drawable is the best practices for Android

Playing with Vector Asset Studio. To start Vector Asset Studio in your application, follow the below steps: Step 1: In your android studio project, locate your res directory. Step 2: Then move to drawable folder. Step 3: After that right-click on the drawable folder and then click on New > Vector Asset. Below screen will be shown android:tintMode=src_atop. Vectors allow for cleaner and more precision and also can be scaled perfectly without losing image quality as png format does. It also allows for a smaller size. The other request is to allow for drawable xml for some dialogs. For example using layer-list or shape drawable xml's would allow for better images too

Preparing the drawable. The drawable needs to be a layer-list, with each animation layer having a unique ID. Any sort of item should work, this example will use a shape and a vector drawable. Since the icon needs to rotate, it needs to be inside a <rotate> tag android: drawableTop = @drawable/ic_wishlist_wrapper The idea is of adding vector image inside a layer-list or selector drawable and then setting it directly. Here is the example That's looking pretty good, but what about if we want a 3D effect on the border, giving the illusion of a raised panel. This can be achieved by adding a second drawable to our layer-list. layer-list will draw its children in order, with the last one being drawn last, or on top of the others.We can use use an inset drawable with a transparent fill and a light grey border, with the bottom and. The second advantage is that using Vector Drawables can dramatically reduce the size of an apk. The basic workflow. In general, to get an image to become a Vector Drawable, we start with an SVG. SVGs and Vector Drawables aren't the same thing. But the SVG standard shares many similarities and is widely used, so it's the best starting place You can import an SVG file as a VectorDrawable in Android Studio, follow these steps : Right-click on the res folder and select new > Vector Asset. Select the Local File option and browse to your .svg file. Change the options to your liking and hit next. Done. Previous Next

Android Vector Drawables

Video: How to put a <vector> in a <shape> in Android? - Stack

Using Vector Drawable as background of View in Android Lower 21. As you know, In Android 21 and higher we can use vector drawable instead of png drawable. But, In android lower 21 It's hard to use the vector, we must add a line in build.gradle. android.defaultConfig.vectorDrawables.useSupportLibrary = true A Drawable that manages an array of other Drawables. These are drawn in array order, so the element with the largest index will be drawn on top. It can be defined in an XML file with the <layer-list> element. Each Drawable in the layer is defined in a nested <item>. For more information, see the guide to Drawable Resources

Overlapping layers. Building up on our previous gradient, adding an extra layer (via layer-list) drastically increases the complexity of the output. layer-list simply lets you overlap multiple gradients without making new ImageView s or drawables. In this case, a transparent -> black gradient has been added on top of our existing white -> blue. Typically to animate the Vector Drawable we define the animations using the ObjectAnimator class. ShapeShifter is a popular tool to visually create an AnimatedVectorDrawable. For this, we need to import a Vector Asset/ SVG file. We've got a sample vector drawable xml file named ic_settings.xml as shown below: <vector android:height= 24dp. The <path> element above draws the outer ring of our clock vector. Have a look at the android:pathData attribute here.Let's put some meaning to the string assigned to it. M 2,6 is to move the pointer to point(2, 6).C 2,3.8 3.8,2 6,2 then is to draw a curve from point(2, 6) to the point(6, 2) through point(2, 3.8) & point(3.8, 2) . And this goes on till the drawing commands are exhausted android - How to center vector drawable in layer-list . The drawable needs to be a layer-list, with each animation layer having a unique ID. Any sort of item should work, this example will use a shape and a vector drawable. Since the icon needs to rotate, it needs to be inside a <rotate> ta

You can use android:width and android:height parameters with desired values.. Below is the sample drawable layer-list and screen shot. I used the vector drawable from google material icons and own selector drawable.. Original circle.xml drawable shape have 100dp x 100dp size, but into drawable.xml I override this values to 24dp x 24dp by android:width and android:height parameters Vector Drawable sendiri diperkenalkan secara resmi pada Android 5.0 (API 21) untuk dukungan gambar vektor dengan kelas VectorDrawable dan AnimatedVectorDrawable. Meski diperkenalkan pada API 21, kita tetap bisa menggunakannya di bawah versi API 21 dengan bantuan Android Support Library Vector Drawables. A VectorDrawable is a vector graphic defined in an XML file as a set of points, lines, and curves along with its associated color information. You can use vector drawables in your splash screen. It was introduced in Android 5.0 (API 21)

Animated Vector Drawables. The AnimatedVectorDrawable class adds animation functionality to vector drawables. This means you can use them to change properties of a vector drawable using the property animations built into Android. Animating a vector drawable is done in two ways currently: Mutilple XML Files or a Single XML File Getting a vector drawable and drawing it on a canvas with any size is easy:. val vectorDrawable = ResourcesCompat. getDrawable (resources, R. drawable. icon, null) vectorDrawable?. setBounds (0, 0, 800, 800) vectorDrawable?. draw (canvas). This produces a vector drawable which is properly scaled and looks sharp in most cases. Although if you scale this image too much some artifacts may appear. LayerDrawable ld = (LayerDrawable) getResources().getDrawable(R.drawable.digits); Step 2: Name the replacing image (not the the image already in layer-list) Drawable replace = (Drawable) getResources().getDrawable(R.drawable.replacing_image); Step 3: Replace the Image using the setDrawableByLayerId(int id, Drawable d) metho Launch Your First Android app with our TOP course at 82% OFF (24 hrs ONLY) HERE https://goo.gl/7veBXcLearn How To Design + Code A Complete App From Scratch. This will help you easily design a customize Vector Drawable. Source Code:https://github.com/benedictcontawe/AnimationApp/tree/vector_drawable

Animated vector drawables can animate the attributes of the <group> and <path> elements. The <group> elements defines a set of paths or subgroups, and the <path> element defines paths to be drawn. When we define a vector drawable that we want to animate, use the android:name attribute to assign a unique name to groups and paths, so we can refer. The vector drawable has the following elements: <vector>. Used to This solution is no longer correct. From 23.3.0 version vector drawables can only be loaded via app:srcCompat or setImageResource() Try to wrap your vector drawable into layer-list or selector: Android mirror drawable programmaticall Access 7000+ courses for 60 days FREE: https://pluralsight.pxf.io/c/1291657/424552/7490 Explore how to animate vector drawables- Animate vectors using Animat..

How to center vector drawable in layer-list without scalin

Drawable Resources. A drawable resource is a general concept for a graphic that can be drawn to the screen and which you can retrieve with APIs such as getDrawable (int) or apply to another XML resource with attributes such as android:drawable and android:icon . There are several different types of drawables After creating the desired effect in a few clicks, we can export our fresh animated vector drawable, paste it into Android Studio, Let's define a layer list of drawables and,.

Right Click on the app -> res, then select New->Vector Asset. Asset Studio Window will open, select the Local file (SVG, PSD) . Locate the SVG or PSD file in the Path. (Download file) Change the Name, Size, Opacity of the file, and click on Next.Now your SVG file is converted into an XML file.. When you click on the ic_freesample.xml file following is the auto-generated XML code Josh O'Riordan takes us through designing and testing vector drawables. There's also a blog post to accompany this video here: https://www.brightec.co.uk/ide..

Android Studio has an option to convert the SVG file into vector formate. You need to right click on the drawable folder of your android studio project and click the new option and then select the Vector Asset. For your reference, I am giving the snapshot below. Please select the SVG file from the directory path and convert VectorMaster Drawables. This library introduces dynamic control over vector drawables. Each and every aspect of a vector drawable can be controlled dynamically (via Java instances), using this library. Control : Control every attribute related to path, group, vector and clip-path like color, alpha, strokeWdith, translation, scale, rotation etc Introduction. While Android does not support SVGs (Scalable Vector Graphics) directly, Lollipop introduced a new class called VectorDrawable, which allows designers and developers to draw assets in a similar fashion using only code.. In this article, you will learn how to create a VectorDrawable with XML files and animate them in your projects.This is only supported for devices running Android.

Android Vector曲折的兼容之路 Android Vector曲折的兼容之路. 两年前写书的时候,就在研究Android L提出的Vector,可研究下来发现,完全不具备兼容性,相信这也是它没有被广泛使用的一个原因,经过Google的不懈努力,现在Vector终于迎来了它的春天 A drawable can be tinted a certain color. This is useful for supporting different themes within your application, and reducing the number of drawable resource files. Using framework APIs on SDK 21+: Drawable d = context.getDrawable (R.drawable.ic_launcher); d.setTint (Color.WHITE); Using android.support.v4 library on SDK 4+

Drawable resources Android Developer

  1. I'm trying out my luck here with this question since it's kinda design related [will request migration to stackoverflow it needed but I still believe these kind of questions could have their place here].I have created shape, saved it as an SVG and imported it in Android Studio as Vector Asset
  2. The NuGet Team does not provide support for this client. Please contact its maintainers for support. #r nuget: Xamarin.Android.Support.Animated.Vector.Drawable, 28.0.0.3. #r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package
  3. android vector drawable circle free vector images - download original royalty-free clip art and illustrations designed in Illustrator
  4. The android.graphics.drawable.LayerDrawable is a drawable object that manages arrays of other drawable objects in the desired order. Each drawable object in the layer list is drawn in the order of the list, and the last drawable object in the list is drawn at the top. 1. How To Define Android Layer List. To define a Android Layer-List Example Read More
  5. Read Android Support Library 23.2 Release Notes for more info. NOTE : Even with AppCompat, Vector Drawables wont work outside of your app in older android versions. For instance, you cannot pass vector drawables as Notification icons as they are handled by the system and not the app. See this answer for a workaround

How to set drawable size in layer-lis

  1. The missing drawable toolbox for Android. Create drawables programmatically and get rid of the boring and always repeated drawable.xml files. android kotlin kotlin-android kotlin-library android-library programmatically android-drawables layer-list gradient-drawable shape-drawable state-list-drawable rotate-drawable scale-drawable flip-drawable.
  2. In the last article we covered the styling of a dialog box using vector drawables. In this article we are going to add a cancel button to that dialog box, and style the button. Styling widgets is a little more complex that the static styling that we've previously covered because widgets change state depending o
  3. Create the cache with a static number of markers that you use in your app. In the above example, I have 3 types of markers: each marker on my map is the shape of a car (the car vector drawable), and a car can be 3 different colours (3 tint colours). The cache creates an entry for every drawable/color combination, storing up to 3 bitmaps in memory

Vector Drawables in Layer List on Android API 16 and

Importing Vector Asset using Android Studio. In case of Vector Assets You do not directly copy paste your icons and images in drawable folder. There is tool in Android Studio for importing Vector Assest or Scalable Vector Graphics (SVG). Go to File => New => and select Vector Asset. Importing Vector Assets (SVG) Android Studi Optimizing the Performance of Vector Drawables 8 minutes read While some mobile platforms have been supporting vector graphics for a while, Android only began doing this natively starting with API Level 21 and with the help of the Support Library 23.2.0 for pre-Lollipop devices

First of all, we need to know one thing that. For AppCompat users, we've decided to remove the functionality which let you use vector drawables from resources on pre-Lollipop devices due to issues found in the implementation in version 23.2.0/23.2.1 [https://goo.gl/u5suZB, https://goo.gl/fW5Tyd]. Using app:srcCompat and setImageResource() continues to work A layer-list - Defines how the three drawables that make up the battery are layered and positioned on the screen; An animated-vector - This drawable specifies which drawable to animate for the battery level as well as the animation to use for determining how much and/or what parts of the level to draw based on the current battery level Java. abhigit-hub / base-mvvm. Star 18. Code Issues Pull requests. App built to showcase basic Android View components like ViewPager, RecyclerView (homogeneous and heterogeneous items), NavigationDrawer, Animated Vector Drawables, Collapsing Toolbar Layout etc. housed in a MVVM architecture. android room recyclerview persistence mvvm viewpager.

In this tutorial, you will learn how to import and use Vector Drawable in your Android project. Android Vector Drawable is alternative to images of different resolutions. We need only one vector file for multiple screen size devices. For adding Vector Drawable we need SVG image file to convert into Vector Drawable XML file Vector drawable support from android Lollipop (SDK 21). Build with kotlin use Android Studio version 3+, build your app with SDK 23+ and gradle version 3+. In your project build.gradle you need to. The following border can apply to TextView, LinearLayout, RelativeLayout, or any other views by setting the background to those drawable xml files

Android working with SVG / vector drawable

  1. Android also support animated vector drawables via the AnimatedVectorDrawable class. It allows to combine vector drawables with animations. With vector drawables you can create different images and morph between them and can start and stop it via your code. You cannot control the animation nor pause the animation at a particular frame
  2. We will use layer-list drawable to show the cart and the badge. A layer-list is a drawable object that manages an array of other drawables. Each drawable in the list is drawn in the order of the list. The cart icon will form the first layer and the badge will form the second. The second layer will be transparent initially which we will fill.
  3. The first thing to know when considering animating a VectorDrawable with a changing shape is that, as stated in Google's overview: the paths must be compatible for morphing. In more details, the paths should have exact same length of commands, and exact same length of parameters for each command
  4. Using vector drawables is often much better than bitmap images for two reasons: they scale without losing definition and you need only one asset file which fits all screen densities. Sometimes I find it useful to create vector drawables by hand in Android Studio using SVG paths. If you are not yet familiar with it, let me show you an example
  5. the canvas has to be set to px in Inkscape. this canvas size should be the dp equivalent if you were to get them in bitmap form for your app! E.g., if you want assets that are 30dp x 30dp, you need to set Inkscape's canvas size to 30px x 30px. If the SVG file has any vector objects, be sure to select all of them and do Path\ObjectToPath.
  6. Shape, selector and layer-list are usually used to create custom drawable resources in android development. Those three xml elements can save a lot of UI resources and time if being used properly. This article will show you how to use them correctly. 1. Custom Drawable File Overview. All the three xml element should be defined Android Shape, Selector Examples Read More
  7. Compoundicontextview ⭐ 243. An android library that is able to set a vector drawable at text view pre-Lollipop. Android_res_export ⭐ 204. Export Android resources in Sketch, bitmap assets, nine-patch, vector drawable, app icon, shape XML.. Svg2vectordrawable ⭐ 175. Node.js module and command-line tools for convert SVG to Android vector.

1.1 Added support for xml drawables. 1.1.1 Fixed bugs, decrease minimal IntelliJ version. 1.1.2 Fixed icon replacement with another plugins. Fixed icon rendering for MacOS. 1.1.3 Increased icons size for MacOS, fixed vector render. 1.1.4 Fixed mipmap parsing, fixed npe. 1.1.5 Added support for Android Studio 4. Android Vector Drawable API presentation. Spoken during Rambler-Android meetup on 10th of September 2015. Language - Russia VectorMaster. This library introduces dynamic control over vector drawables. Each and every aspect of a vector drawable can be controlled dynamically (via Java instances), using this library. Features : Control : Control every attribute related to path, group, vector and clip-path like color, alpha, strokeWdith, translation, scale, rotation etc Not the best example since SVGO hadn't optimized anything and looks identical to Android Studio. It doesn't hold true with other icons. The SVG specification does not care about separators, so commas can be replaced with spaces and vice-versa.In other words, M20,4L4,4 from Android Studio is exactly the same as M20 4L4 4 from svg2vector. Taking separators out of the picture, further changes. The width is the intrinsic width of the Drawable - the width it will return if an external component wants to know the Drawable's preferred size. In other words, if you set the width to 24dp and then place it in a ImageView which has android:layout_width=wrap_content then, following the layout pass, the ImageView will have a size of 24dp

Vector drawables backward compatibility solution. To support vector drawable and animated vector drawable on devices running platform versions lower than Android 5.0 (API level 21), VectorDrawableCompat and AnimatedVectorDrawableCompat are available through two support libraries: support-vector-drawable and animated-vector-drawable, respectively. Android Studio 1.4 introduced limited. To elaborate on the other very good answers, here is a diagram that can help you. It is valid if you have Support Library from 23.4.0 to at least 25.1.0. android vector drawable programmatically, For those who want to load a vector drawable programmatically for other uses, such as setting a drawableLeft or otherwise, you can use: Drawable drawable = AppCompatResources.getDrawable(context.

How to set drawable as bitmap in android?

LayerDrawable Android Developer

Home » Android, Cross Platform, Dart, Flutter, Hybrid, IOS » Flutter - Draw SVG and Vector drawables. Flutter - Draw SVG and Vector drawables. The icons or graphics make an application more interactive because users get a rough idea of features of application by just seeing the icon and not reading the text corresponding to the icon Prerequisite: Android Project folder Structure A drawable resource is a common concept for a graphic that can be drawn to the screen and which one can retrieve with APIs such as getDrawable(int) or apply to another XML resource with attributes such as android:drawable and android:icon.There are several different types of drawable resources files and let's discuss all the types in a tabular. Step 1: Create Background Shape. We n eed to create a drawable shape to be used as background. Click on the Project tab in Left pane and go to the drawable directory. Right-click drawable->New->Drawable Resource File, enter file name circle and click ok. Figure 2: Create a new drawable file. Use below code in the new drawable file, to. Clash Royale CLAN TAG #URR8PPP. Animated splash-screen android in xml-format (layer-list) Is it possible to make an animated splash-screen when just using a drawable xml-file (with layer-list) and call this from android Manifest file In many android apps, you will get to see a feature in which you can see a simple text is displayed inside an ImageView or you can get to see that a text is displayed in a specific image or a shape. Mostly this type of view is seen in the Contacts application which is present on your Android device

Introduction to Basic Use of layer-list for Android Laye

Para iniciar Vector Asset Studio: En Android Studio, abre un proyecto de app de Android. En la ventana Project, selecciona la vista de Android. Haz clic con el botón secundario en la carpeta res y selecciona New > Vector Asset. Algunas otras vistas de proyecto y carpetas también cuentan con este elemento de menú. Aparecerá Vector Asset Studio Online batch converter of SVG, PNG, JPEG / JPG, GIF, BMP, TIFF / TIF images to Android vector drawable XML resource files. A great tool for developers and designers Online converter of SVG images to Android vector drawable XML resource files. Based on the powerful batch converter of SVG images to Android VectorDrawable XML resource files.the powerful batch converter of SVG images to Android VectorDrawable XML resource files

Android Bài 22: Sử Dụng Drawable - Ảnh Shape XML & Ảnhandroid - How can I make a triangle drawable on the top

VectorDrawable Android Developer

change drawable color programmatically android. java by KushalCodes on Aug 19 2020 Donate Comment. 1. //resource Drawable unwrappedDrawable = AppCompatResources.getDrawable (context, R.drawable.my_drawable); Drawable wrappedDrawable = DrawableCompat.wrap (unwrappedDrawable); DrawableCompat.setTint (wrappedDrawable, Color.RED); //activity. These drawable are our drawable file where we will add images. Let's add our vector icons to use in thumb drawable. Add images for thumb Right-click on drawable then click on new then select vector assets and then choose your icon from clip art. for demo purpose we are selecting notification on and off icon Home » com.android.support » animated-vector-drawable » 28.0.0-alpha1 Android Support AnimatedVectorDrawable » 28.0.0-alpha1 Android Support AnimatedVectorDrawabl In the above code, things to be noticed are app:track and android:thumb attributes. Let's add our vector icons to use in thumb drawable. We are using the layer-list as root element and then the first item has a shape with the same code on previous track code but the twist is we have just added a rectangle shape and add 12sp padding to. I'm trying to use a vector image as a background of a button. It needs to be supported on API 19+ so I added Xamarin.Android.Support.v7.AppCompat NuGet package and Xamarin.Android.Support.VectorDrawable as well

SeekableAnimatedVectorDrawable Android Developer

Android Asset Studio. Generate app launcher shortcut icons (Android 7.1+). Create vector drawables and vector icon animations. Generate notification icons for your app. These show up in the system status bar and notification shade. Generate nine-patch (.9.png) assets for your app, normally used for custom UI widgets June 18, 2021 android, android-drawable, java. I have a lot images in drawable that I wish to put into an array. Putting them into an array manually will just take too long, both in time and code. I was wondering if there is a way to loop through R.drawable, something like this: ArrayList<Integer> imgArr = new ArrayList<> (); for (int k=0; k<R. I have a TextView that utilizes a vector drawable for the background. The path defines a stroke, so it's basically just an outline of a shape. It has no given fillColor; however, I want to animate the color programmatically.. I've tried applying a Color filter, but it doesn't take the path into account, so it just draws a box over the entire shape Vector Assets in Android Studio helps to add material icons and import Scalable Vector Graphics and Adobe Photoshop Document files into your project as vector drawable resources. How Vector Asset is different from Image Asset? Image Asset Studio helps us create different types of icons with different densities and shows us exactly where they'll be placed in our project

Android splash screen vector aspect rati

Because in a Xamarin documentation I did not find any information about vector graphics on Android. Could someone explain what is the purpose of this XML file with vector graphics on Android? Friday, July 6, 2018 9:03 P 6- Material Vector Drawable | Android Development (Urdu/Hindi) Tutorial Hive. 212 Videos. 100% 266 Views. 5 Likes. February 28, 2019. Android Android Advance Series TutorialHive. By Tutorial Hive. 0 Comments. Screenshots. Follow us on Social Media Share this I've made sure I've added Support.V4, Support.v7.AppCompat and Vector.Drawable references (the Vector.Drawable one from Nuget). I've also added the xmlns namespace and made sure my Activity inherits from AppCompatActivity. I have made sure I'm targeting Android 5+. Why oh why does it not work Home » com.android.support » animated-vector-drawable Android Support AnimatedVectorDrawable. Android Support AnimatedVectorDrawable License: Apache 2.0: Categories: Android Packages: Tags: support android: Used By: 418 artifacts: Note: This artifact was moved to: androidx.vectordrawable » vectordrawable-animated: Google (38) Version. Android Studio는 SVG 포맷을 vector asset 으로 변환하는 기능을 제공하고 있습니다. Android에서 SVG와 같은 vector graphic을 지원하기 위해 만든 format이 VectorDrawable 입니다. 이 글을 통해 프로젝트에서 이미지를 vector asset으로 관리할 때, 알아두어야 할 개념을 정리합니다

android - Drawable - Creating sharp corners that extenddrawable - Android how to create trapezoid shape - Stack