本文整理汇总了Java中cn.eoe.app.widget.CustomButton类的典型用法代码示例。如果您正苦于以下问题:Java CustomButton类的具体用法?Java CustomButton怎么用?Java CustomButton使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
CustomButton类属于cn.eoe.app.widget包,在下文中一共展示了CustomButton类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initControl
import cn.eoe.app.widget.CustomButton; //导入依赖的package包/类
private void initControl() {
imm = (InputMethodManager) getApplicationContext().getSystemService(
Context.INPUT_METHOD_SERVICE);
loadLayout = (LinearLayout) findViewById(R.id.view_loading);
loadFaillayout = (LinearLayout) findViewById(R.id.view_load_fail);
mAboveTitle = (TextView) findViewById(R.id.tv_above_title);
mAboveTitle.setText("社区精选");
imgQuery = (ImageView) findViewById(R.id.imageview_above_query);
imgQuery.setOnClickListener(this);
imgQuery.setVisibility(View.GONE);
imgMore = (ImageView) findViewById(R.id.imageview_above_more);
imgMore.setOnClickListener(this);
imgLeft = (ImageView) findViewById(R.id.imageview_above_left);
imgRight = (ImageView) findViewById(R.id.imageview_above_right);
// editSearch.setOnKeyListener(onkey);
mViewPager = (ViewPager) findViewById(R.id.above_pager);
mIndicator = (PageIndicator) findViewById(R.id.above_indicator);
lvTitle = (ListView) findViewById(R.id.behind_list_show);
llGoHome = (LinearLayout) findViewById(R.id.Linear_above_toHome);
imgLogin = (ImageButton) findViewById(R.id.login_login);
imgLogin.setOnClickListener(this);
cbFeedback = (CustomButton) findViewById(R.id.cbFeedback);
cbFeedback.setOnClickListener(this);
cbAbove = (CustomButton) findViewById(R.id.cbAbove);
cbAbove.setOnClickListener(this);
title = findViewById(R.id.main_title);
mlinear_listview = (LinearLayout) findViewById(R.id.main_linear_listview);
mFrameTv = (FrameLayout) findViewById(R.id.fl_off);
mImgTv = (ImageView) findViewById(R.id.iv_off);
bn_refresh = (Button) findViewById(R.id.bn_refresh);
bn_refresh.setOnClickListener(this);
}
示例2: initControl
import cn.eoe.app.widget.CustomButton; //导入依赖的package包/类
private void initControl() {
imm = (InputMethodManager) getApplicationContext().getSystemService(
Context.INPUT_METHOD_SERVICE);
loadLayout = (LinearLayout) findViewById(R.id.view_loading);
loadFaillayout = (LinearLayout) findViewById(R.id.view_load_fail);
mAboveTitle = (TextView) findViewById(R.id.tv_above_title);
mAboveTitle.setText("社区精选");
imgQuery = (ImageView) findViewById(R.id.imageview_above_query);
imgQuery.setOnClickListener(this);
imgQuery.setVisibility(View.GONE);
imgMore = (ImageView) findViewById(R.id.imageview_above_more);
imgMore.setOnClickListener(this);
imgLeft = (ImageView) findViewById(R.id.imageview_above_left);
imgRight = (ImageView) findViewById(R.id.imageview_above_right);
// editSearch.setOnKeyListener(onkey);
mViewPager = (ViewPager) findViewById(R.id.above_pager);
mIndicator = (PageIndicator) findViewById(R.id.above_indicator);
lvTitle = (ListView) findViewById(R.id.behind_list_show);
llGoHome = (LinearLayout) findViewById(R.id.Linear_above_toHome);
imgLogin = (ImageButton) findViewById(R.id.login_login);
imgLogin.setOnClickListener(this);
cbFeedback = (CustomButton) findViewById(R.id.cbFeedback);
cbFeedback.setOnClickListener(this);
cbAbove = (CustomButton) findViewById(R.id.cbAbove);
cbAbove.setOnClickListener(this);
title = findViewById(R.id.main_title);
mlinear_listview = (LinearLayout) findViewById(R.id.main_linear_listview);
mFrameTv = (FrameLayout) findViewById(R.id.fl_off);
mImgTv = (ImageView) findViewById(R.id.iv_off);
}