While designing Android layouts we have to make custom XML based designs. In this article, I am going to share 3 types of XML layouts which will help you to drawable rounded rectangles in your Android Apps, and you can use them as a drawable anywhere in your project. Following are the XML code to […]
How to Embed one XML Layout in Another in Android
It’s a common requirement when we have to make one layout and need to use it on multiple screens. Using include tag we can embed one XML layout in another in Android. In the following example its shown how you can include one layout in another. Include XML Layout <include android:layout_width=”match_parent” android:layout_height=”wrap_content” layout=”@layout/layout_to_include” /> Example […]
Whatsapp Like Chat Audio Message Layout XML for Android
Are you working on a chat or a social media application and need to create an Audio Message layout? You don’t need to reinvent the wheel. Following is the design of Whatsapp like chat Audio message layout XML for Android. It contains 2 XML layouts. One for Audio incoming message and other for Audio outgoing […]