nativescript
स्टेटस बार
खोज…
छिपाएँ / शो - Android
यह एक स्थिति है जिसे आप अपनी स्क्रीन के शीर्ष पर बैट्री, घड़ी ... के आइकन के साथ देखते हैं।
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 पारदर्शी Android बनाओ
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