KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've setup a LinearLayout with the following drawable background: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <corners android:radius="10dp" /> <solid android:color="#CCFFFFFF"/> </shape> The problem I'm having is within the LinearLayout I have another LinearLayout element that sits at the bottom of it's parent. Since that doesn't have rounded corners its corners extend past the parents bottom left and right corners. The drawable background on the Child LinearLayout looks like this: <?xml version="1.0" encoding="utf-8"?> <bitmap xmlns:android="http://schemas.android.com/apk/res/android" android:src="@drawable/pedometer_stats_background" android:tileMode="repeat" /> The issue looks like this: http://kttns.org/hn2zm on the device the non-clipping is more apparent. What is the best method to accomplish the clipping?
Tags (comma-separated)
Save Edits
Cancel