Why Red rectangle around the android UI

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Why Red rectangle around the android UI

535件の閲覧回数
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 返信

444件の閲覧回数
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.