Android: How To Keep Corner Radius While Setting A Background Drawable? October 23, 2022 Post a Comment Copy and LinearLayout myLayout=(LinearLayout) findViewById(R.id.myLayout); myLayout.setBackgroundResource(R.drawable.card1); Copy I hope this will help you. Share You may like these postsHow To Add Cardview Attributes To App Theme?How To Update A Specific Item (cardview) In Recyclerview OnActivityResultTwo Cardview Created, When Trying To Update The CardviewUnable To Remove Extra Space Between Cardview Items - Scrollable Recyclerview Post a Comment for "Android: How To Keep Corner Radius While Setting A Background Drawable?"
Post a Comment for "Android: How To Keep Corner Radius While Setting A Background Drawable?"