【Activity 】

requestWindowFeature(Window.FEATURE_NO_TITLE);

 

【AppCompatActivity】

getSupportActionBar().hide();

android:theme=”@style/Theme.AppCompat.Light.NoActionBar”
<style name="Theme.AppCompat.Light.NoActionBar" parent="@style/Theme.AppCompat.Light">
     <item name="android:windowNoTitle">true</item>
</style>

 

相关文章:

  • 2021-08-05
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-07
  • 2021-12-18
  • 2022-12-23
  • 2021-04-19
  • 2021-07-23
  • 2021-10-31
相关资源
相似解决方案