Back to project page GalDroid.
The source code is released under:
GNU General Public License
If you think the Android project GalDroid 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 de.raptor2101.GalDroid.Activities.Helpers; //w w w. ja va 2 s. c o m import android.app.ActionBar; import android.os.Handler; public class ActionBarHider implements Runnable { private final ActionBar mActionBar; private final Handler mHandler; public ActionBarHider(ActionBar actionBar) { mActionBar = actionBar; mHandler = new Handler(); } public boolean isShowing() { return mActionBar.isShowing(); } public void show() { mActionBar.show(); mHandler.postDelayed(this, 10000); } public void hide() { mActionBar.hide(); mHandler.removeCallbacks(this); } public void run() { mActionBar.hide(); } }