Why Red rectangle around the android UI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why Red rectangle around the android UI

504 Views
conteczxy
Contributor III

Hi,

I found sometimes, there is a red rectangle around the android UI, like this,

device.PNG

It shows suddently, and then dispear very quickly. what is it used for?

Why it show? My platform is android 4.4.

Thanks,

Labels (1)
Tags (2)
0 Kudos
1 Reply

413 Views
rickchu
Contributor IV

Its because Android compilation as engineer mode; the red rectangle is displayed for debug usage.
you can change TARGET_BUILD_VARIANT=user (or userdebug) to make red rectangle disappear.