本文整理匯總了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);
}
}