수색…


숨기기 / 표시 - Android

이것은 Battry, Clock ... 아이콘으로 화면 상단에 표시되는 상태 표시 줄입니다. 여기에 이미지 설명을 입력하십시오.

let frame = require("ui/frame");

숨는 장소:

frame.topmost().android.activity.getWindow().
getDecorView().setSystemUiVisibility(android.view.View.SYSTEM_UI_FLAG_FULLSCREEN);

보여 주다:

frame.topmost().android.activity.getWindow().
getDecorView().setSystemUiVisibility(android.view.View.SYSTEM_UI_FLAG_VISIBLE );

statusBar 투명 안드로이드 만들기

APP_Resources/values/styles.xml 열고

<item name="android:windowTranslucentStatus">true</item>

~ 안에

<style name="AppThemeBase" parent="Theme.AppCompat.Light.NoActionBar"> </style> 

섹션.



Modified text is an extract of the original Stack Overflow Documentation
아래 라이선스 CC BY-SA 3.0
와 제휴하지 않음 Stack Overflow