requestWindowFeature

    技术2022-05-20  56

    该功能申明如下

    boolean android.app. Activity.requestWindowFeature(int featureId)

    功能如下

     

         Enable extended window features. This is a convenience for calling getWindow().requestFeature().

         即可以调用该方法的activities的窗口功能使能。

         例如        requestWindowFeature(Window.FEATURE_NO_TITLE);

         可以使得这个activity没有titlebar。


    最新回复(0)