how can i do a rounded toolbar/actionbar in android studio with code like this in the image? [closed]
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 months ago . I'm trying to do this, with code and not with background image 回答1: Define xml file like this (this is how i rounded my botton) put the xml file in drawable folder <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android