@anon71376789 ===
- i’m not sure at all that ControlP5 works with Android; anyway you can easily create buttons or textField with android native widgets
- your gui() is using relative values; your authentication() is using hardcoded values; in your setup() you have to get the displayMetrics of your phone and calculate some factor knowing that the medium mdpi is 160 (then hdpi 240, then xhdpi 380, then xxxdpi 640) and low (ldpi) is 120
more details & examples here: https://developer.android.com/reference/android/util/DisplayMetrics.html