skip to Main Content

Android Studio – Change Button color and shape properties

Here is my button appearance : Which is actually defined by : <Button style="@style/Button.Pressed" android:id="@+id/standardRestock" android:layout_width="165dp" android:layout_height="70dp" android:backgroundTint="@color/button_checked_style" android:fontFamily="@font/pragatinarrow" android:text="@string/standard" android:textAllCaps="true" android:textColor="@color/black" android:textSize="24sp" /> My style is defined by : <style name="Button.Pressed" parent="android:Widget.Button"> <item name="android:background">@drawable/dp_button_checked</item> <item name="android:textColor">@color/black</item> </style> My background…

VIEW QUESTION
Back To Top
Search