Why Red rectangle around the android UI

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Why Red rectangle around the android UI

544 次查看
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,

标签 (1)
标记 (2)
0 项奖励
1 回复

453 次查看
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.