本文整理了Java中android.support.v7.widget.CardView.setClickable()
方法的一些代码示例,展示了CardView.setClickable()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。CardView.setClickable()
方法的具体详情如下:
包路径:android.support.v7.widget.CardView
类名称:CardView
方法名:setClickable
暂无
代码示例来源:origin: openMF/mobile-wallet
@Override
public void onFetchLevelSuccess(KYCLevel1Details kycLevel1Details) {
hideProgressDialog();
int currentLevel = Integer.parseInt(kycLevel1Details.getCurrentLevel());
if (currentLevel >= 1) {
cvLvl1.setClickable(false);
llLvl1.setBackgroundResource(R.drawable.cardview_round_green);
}
if (currentLevel >= 2) {
cvLvl2.setClickable(false);
llLvl2.setBackgroundResource(R.drawable.cardview_round_green);
}
if (currentLevel >= 3) {
cvLvl3.setClickable(false);
llLvl3.setBackgroundResource(R.drawable.cardview_round_green);
}
}
代码示例来源:origin: ApplikeySolutions/OrionPreview
@OnClick(R.id.rl_container)
void onContainerClick() {
downAnimationImageView.showAnimation();
arcDownAnimationTv.showAnimation();
decreaseAnimationImage.showAnimation();
decreaseAnimationText.showAnimation();
rlContainer.setClickable(false);
cvProductDetails.setClickable(true);
removeBlur();
}
代码示例来源:origin: ApplikeySolutions/OrionPreview
@OnClick(R.id.cv_product_details)
void onProductDetailsClick() {
upAnimationImageView.showAnimation();
arcUpAnimationTv.showAnimation();
increaseAnimationImage.showAnimation();
increaseAnimationText.showAnimation();
cvProductDetails.setClickable(false);
rlContainer.setClickable(true);
addBlur();
}
内容来源于网络,如有侵权,请联系作者删除!