Android Java PTT Button on CAT42 H+
I would like to assign the PTT button in a Java app on a Caterpillar CAT 42 H+. Does anyone know of an event/listener that makes this possible.
Apply general settings on multiple image buttons Android Studio
enter image description here
I wanna make multiple buttons organized in a horizontal linear layout, but every buttons have common fields such as android:layout_marginStart=”10dp”, android:background=”@null”, android:scaleType=”centerInside”. Is there an better way to do that in order to assign this fields to every single button and not copy and paste them? Thank you