Simply create a new subfolder of res
and name it drawable
. Put the xml there. You can use this folder for drawables that are the same for any configuration.
xml file in drawable which is usable for all resolutions [duplicate]
-
23-07-2023 - |
Frage
I'm very very new to this whole android development thing, I'm trying to create a button with rounded corners and found this article about it.
They mention I should put a button.xml in my drawable folder. The problem is that I have 5 of them(hdpi, ldpi, mdpi, xhdpi, xxhdpi). Is there a way to use one button.xml for all those drawable folders?
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow