AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
Public 成员函数 | Public 属性 | Private 成员函数 | Private 属性 | 所有成员列表
com.ab.view.titlebar.AbBottomBar类 参考
类 com.ab.view.titlebar.AbBottomBar 继承关系图:

Public 成员函数

 AbBottomBar (Context context, AttributeSet attrs)
 
 AbBottomBar (Context context)
 
void ininBottomBar (Context context)
 
void setBottomBarBackground (int res)
 
void setBottomBarBackgroundColor (int color)
 
void setBottomBarBackgroundDrawable (Drawable d)
 
void setDropDown (final View parent, final View view)
 
void setBottomView (View view)
 
void setBottomView (int resId)
 

Public 属性

int mBottomBarID = 2
 
LayoutInflater mInflater
 
int diaplayWidth = 320
 

Private 成员函数

void showWindow (View parent, View view, boolean offsetMode)
 

Private 属性

Activity mActivity
 
PopupWindow popupWindow
 
WindowManager mWindowManager = null
 

详细描述

© 2012 amsoft.cn 名称:AbBottomBar.java 描述:底部菜单栏实现.

作者
还如一梦中
版本
v1.0
日期
:2013-04-24 下午11:52:13

构造及析构函数说明

com.ab.view.titlebar.AbBottomBar.AbBottomBar ( Context  context,
AttributeSet  attrs 
)
inline

Instantiates a new ab bottom bar.

参数
contextthe context
attrsthe attrs
com.ab.view.titlebar.AbBottomBar.AbBottomBar ( Context  context)
inline

Instantiates a new ab bottom bar.

参数
contextthe context

成员函数说明

void com.ab.view.titlebar.AbBottomBar.ininBottomBar ( Context  context)
inline

Inin bottom bar.

参数
contextthe context
void com.ab.view.titlebar.AbBottomBar.setBottomBarBackground ( int  res)
inline

描述:标题栏的背景图.

参数
res背景图资源ID
void com.ab.view.titlebar.AbBottomBar.setBottomBarBackgroundColor ( int  color)
inline

描述:标题栏的背景图.

参数
color背景颜色值
void com.ab.view.titlebar.AbBottomBar.setBottomBarBackgroundDrawable ( Drawable  d)
inline

描述:设置标题背景.

参数
d背景图
void com.ab.view.titlebar.AbBottomBar.setBottomView ( View  view)
inline

描述:设置副标题栏界面显示.

参数
viewthe new bottom view
void com.ab.view.titlebar.AbBottomBar.setBottomView ( int  resId)
inline

描述:用指定资源ID表示的View填充主界面.

参数
resId指定的View的资源ID
void com.ab.view.titlebar.AbBottomBar.setDropDown ( final View  parent,
final View  view 
)
inline

描述:设置下拉的View.

参数
parentthe parent
viewthe view
void com.ab.view.titlebar.AbBottomBar.showWindow ( View  parent,
View  view,
boolean  offsetMode 
)
inlineprivate

描述:下拉菜单的的实现方法.

参数
parentthe parent
view要显示的View
offsetMode不填满的模式

类成员变量说明

int com.ab.view.titlebar.AbBottomBar.diaplayWidth = 320

屏幕宽度.

Activity com.ab.view.titlebar.AbBottomBar.mActivity
private

所属Activity.

int com.ab.view.titlebar.AbBottomBar.mBottomBarID = 2

副标题栏布局ID.

LayoutInflater com.ab.view.titlebar.AbBottomBar.mInflater

全局的LayoutInflater对象,已经完成初始化.

WindowManager com.ab.view.titlebar.AbBottomBar.mWindowManager = null
private

Window 管理器.

PopupWindow com.ab.view.titlebar.AbBottomBar.popupWindow
private

下拉选择.


该类的文档由以下文件生成: