Your code looks like you are trying to create a android shape.
You have to create a new layout first. Read this documentation for better understanding.
(LinearLayout, RelativeLayout, ConstraintLayout).
https://developer.android.com/guide/topics/ui/declaring-layout
https://developer.android.com/studio/write/layout-editor
Read chapter "shape drawable" in this document for better understanding, about how to implement shape drawables:
https://developer.android.com/guide/topics/resources/drawable-resource
After you have created a Layout you have to position a View or ImageView element.
This ImageView gets the android shape you defined as background.
How to define a circle shape in an Android XML drawable file?
Position shape at exact spot on ImageView
Apart from that i would advise you to use dp (density independet pixels) instead of px and sp (scale independent pixel) in the case you use text.
What is the difference between "px", "dip", "dp" and "sp"?