Hey i want to make a banner or ribbon similar to given photo with a textview or any layout in android using xml or java. I cant able to figure it out how to do that.
So please help me out its really needed.
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How can I create this custom Bottom Navigation on
- Illegal to have multiple roots (start tag in epilo
- How to maintain order of key-value in DataFrame sa
To create a banner like that You need to do these things
Here's a simple imageview with the text banner in the corner which I wrote for my own use. The same structure could be applied to any type of view.
Then declare the extra attributes you want to use in values/attrs.xml
Of course you use in your XML layouts as usual but remember the app namespace for the custom attributes