I have this difficulty to have both rounded corner and a background image in my LinearLayout
.
I know I can achive the rounded corner by using the shape drawable XML, but if I put the shape drawable as the background of my LinearLayout
with android:background=@drawable/rounded_corner
then I cannot assign any image to be used as a background.
How can I get both a rounded corner with a background image in my LinearLayout? Any help would be appreciated. Thanks!