Replying to Android SDK - Activity Fullscreen

  • Create account

    • Nickname:
  • Enter your Post

    •              
           
       
      FFUpload  Huppy Pick colour  HTML Editor  Help
      .
    •      
       
      File Attachments    Clickable Smilies    Show All
      .
  • Clickable Smilies

    • :huh:^_^:o:;):P:D:lol::B)::rolleyes:-_-<_<:)
      :wub::angry::(:unsure::wacko::blink::ph34r::alienff::cry::sick::shifty::woot:
      <3:XD:*_*:];P:XP:(:=)X):D:>.<>_<
      =_=:|:?3_3:p:;_;^U^*^^*:=/::*::b::f:
  • File Attachments

    • BlogFree Hosting   jpg gif png zip ...

      Descr.:
      Image Hosting: host it!

  •   

Last 10 Posts [ In reverse order ]

  1. Posted 9/12/2013, 13:58
    Piccola parte di codice per rendere un Activity Fullscreen, ovvero a schermo intero.

    CODICE
    public class FullScreen extends Activity {
       @Override
       public void onCreate(Bundle savedInstanceState) {
           super.onCreate(savedInstanceState);

           requestWindowFeature(Window.FEATURE_NO_TITLE);
           getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
                                   WindowManager.LayoutParams.FLAG_FULLSCREEN);

           setContentView(R.layout.main);
       }
    }


    Se avete problemi o commenti, scrivete qui sotto :B):

Review the complete topic (launches new window)