Resource and extracted into its own resource file. The XML tag tells AAPT that the tag’s child shall be treated as a Since we’re making an animated vector drawable, we put the file under res/drawable/. Using AAPT’s inline resource format, you can define all three resources in the same XML file. If they’re only ever used for this animated vector drawable, then there is If the vector drawable and animations are re-used elsewhere, this is the best way to implement anĪnimated vector drawable. There are a lot of files here just to make a single animated vector drawable! This requires the use of at least three XML files. One example is an animated vector drawable, which is a drawable resource encapsulating a vectorĭrawable and an animation. Certain resource types are a composition of multiple complex resources represented by XML files.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |