I'm creating my first application in android studio. I have a question. Is there something like class in css. For example
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="5dp"
android:background="#fffff0"
android:text="@string/button_1"
android:textColor="@color/black"
android:textSize="30sp">
I have about 10 buttons with the same layout, background etc. Only diffrence is string and id. Can i just make a class which contains all of stuff which is common?