2
I am beginner in the development and applications and the application I am working in need that the user give me a value (distance in meters) and from this value I will adjust the size of the image to be displayed by the application.
I’m developing in Java with Android Studio.
I thought about doing this using variables that would be used to define my height and width values, for example:
android:layout_width= variavel_w
android:layout_height= variavel_h
but it is not possible to use variables in these fields, or if there would be some other way to adjust the size of my image according to some input. I’ll be very grateful for any help!