KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In my application, I want to set bubbles to a text view, in the text view I add the setBackgroundResource() as you can see in the code. With this code i'm getting an image like this: I want a bubble shape image like this: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > <solid android:color="#EDF5E4" /> <corners android:bottomLeftRadius="@dimen/corner_radius" android:bottomRightRadius="@dimen/corner_radius" android:topLeftRadius="@dimen/corner_radius" id:topRightRadius="@dimen/corner_radius" /> Please tell me how to make this in my setBackgroundResource() XML.
Tags (comma-separated)
Save Edits
Cancel