Message: | Trying to access array offset on value of type null |
File: | /home/romarekl/public_html/sosyallift.com/ow_plugins/forum/controllers/topic.php |
Line: | 136 |
Aşağıda, eylem çubuğunu kalıcı olarak gizleme adımları verilmiştir :
ActionBar ve Başlık olmadan tam ekran almak istiyorsanız.
Style.xml içinde ekleyin
<style name="AppTheme.NoActionBar" parent="Theme.AppCompat.Light.DarkActionBar"> <item name="windowActionBar">false</item> <item name="windowNoTitle">true</item> <item name="android:windowFullscreen">true</item> </style>
manifest.xml'deki stili kullanın.
android:theme="@style/AppTheme.NoActionBar"
Süper Sınıf oluşturmak ve bunun içinde onCreate () aşağıdaki kod satırını çağırmaktır
this.requestWindowFeature(Window.FEATURE_NO_TITLE);----------------------------------
protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_my); getSupportActionBar().hide(); }
onCreateönce yöntemi setContentView:
requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 0);