I have 5 buttons on my activity that differ each other only with value height:
<Button
android:id="@+id/someName"
android:layout_width="170dp"
android:layout_height="70dp"
android:layout_marginTop="10dp"
android:text="@string/some_text" />
... other buttons...
Is it possible to extends 4 buttons from first one and change only one of their property?
I know it is possible for styles, but what with components?
Or maybe should i do this in java code, but then how to connect to specific class?