Sunday, August 24, 2014

Search for: Categories Android (32) Eclipse (2) Git (2) Java (5) Algorithms (1) Life (1) Mac (1) Ubu


@Override protected void onCreate(final Bundle savedInstanceState) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { //透明状态栏 getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS); //透明导航栏 getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION); } super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); }
10
Search for: Categories Android (32) Eclipse (2) Git (2) Java (5) Algorithms (1) Life (1) Mac (1) Ubuntu (5) Archives Select Month July 2014 June 2014 May 2014 April 2014 March 2014 February 2014 January 2014 December 2013 November 2013 October 2013 September 2013 August rubbernecker 2013 July 2013 June 2013 May 2013 April 2013 March 2013 February 2013 January 2013 December 2012


No comments:

Post a Comment