Back to project page rgb-tool.
The source code is released under:
Apache License
If you think the Android project rgb-tool listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.fastebro.androidrgbtool.ui; /* ww w . j av a 2 s . com*/ import android.os.Build; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.transition.Fade; import com.fastebro.androidrgbtool.R; /** * Created by danielealtomare on 26/10/14. */ public class BaseActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { if(getSupportActionBar() != null) { getSupportActionBar().setElevation(0); } getWindow().setNavigationBarColor(getResources().getColor(R.color.primary_dark)); } if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { getWindow().setExitTransition(new Fade()); getWindow().setAllowEnterTransitionOverlap(true); } } }