本文整理汇总了Java中com.actionbarsherlock.internal.nineoldandroids.widget.NineFrameLayout类的典型用法代码示例。如果您正苦于以下问题:Java NineFrameLayout类的具体用法?Java NineFrameLayout怎么用?Java NineFrameLayout使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
NineFrameLayout类属于com.actionbarsherlock.internal.nineoldandroids.widget包,在下文中一共展示了NineFrameLayout类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: ActionBarImpl
import com.actionbarsherlock.internal.nineoldandroids.widget.NineFrameLayout; //导入依赖的package包/类
public ActionBarImpl(Activity activity, int features) {
mActivity = activity;
Window window = activity.getWindow();
View decor = window.getDecorView();
init(decor);
//window.hasFeature() workaround for pre-3.0
if ((features & (1 << Window.FEATURE_ACTION_BAR_OVERLAY)) == 0) {
mContentView = (NineFrameLayout)decor.findViewById(android.R.id.content);
}
}
示例2: ActionBarImpl
import com.actionbarsherlock.internal.nineoldandroids.widget.NineFrameLayout; //导入依赖的package包/类
public ActionBarImpl(Activity activity, int features) {
mActivity = activity;
Window window = activity.getWindow();
View decor = window.getDecorView();
init(decor);
//window.hasFeature() workaround for pre-3.0
if ((features & (1 << Window.FEATURE_ACTION_BAR_OVERLAY)) == 0) {
mContentView = (NineFrameLayout) decor.findViewById(android.R.id.content);
}
}