示例#1
0
		public ActionBarImpl(android.app.Dialog dialog)
		{
			mHideListener = new _AnimatorListenerAdapter_108(this);
			mShowListener = new _AnimatorListenerAdapter_125(this);
			mDialog = dialog;
			init(dialog.getWindow().getDecorView());
		}
示例#2
0
		public ActionBarImpl(android.app.Activity activity)
		{
			mHideListener = new _AnimatorListenerAdapter_108(this);
			mShowListener = new _AnimatorListenerAdapter_125(this);
			mActivity = activity;
			android.view.Window window = activity.getWindow();
			android.view.View decor = window.getDecorView();
			init(decor);
			if (!mActivity.getWindow().hasFeature(android.view.Window.FEATURE_ACTION_BAR_OVERLAY
				))
			{
				mContentView = decor.findViewById(android.R.id.content);
			}
		}