本文整理汇总了Java中com.fivehundredpx.android.blur.BlurringView类的典型用法代码示例。如果您正苦于以下问题:Java BlurringView类的具体用法?Java BlurringView怎么用?Java BlurringView使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
BlurringView类属于com.fivehundredpx.android.blur包,在下文中一共展示了BlurringView类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: findView
import com.fivehundredpx.android.blur.BlurringView; //导入依赖的package包/类
private void findView() {
rvRing =(RecyclerViewPager)findViewById(R.id.rv_ring);
svContainer = (ObservableScrollView) findViewById(R.id.sv_container);
svDetail = (ScrollView) findViewById(R.id.sv_detail);
blurringView = (BlurringView) findViewById(R.id.blurring);
vpModel = (JazzyViewPager) findViewById(R.id.vp_model);
ivBlur = (ImageView) findViewById(R.id.iv_blur);
tvName = (TextView) findViewById(R.id.tv_name);
floatingActionButton = (FloatingActionButton)findViewById(R.id.fab);
layoutContainer = (RelativeLayout) findViewById(R.id.layout_container);
layoutFakeRipple = (RelativeLayout) findViewById(R.id.layout_fake_ripple);
rvCheckOut = (RecyclerView) findViewById(R.id.rv_check_out);
tvTitle = (TextView) findViewById(R.id.tv_title);
btnPay = (MorphingButton) findViewById(R.id.btn_pay);
}
示例2: onCreate
import com.fivehundredpx.android.blur.BlurringView; //导入依赖的package包/类
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mBlurringView = (BlurringView) findViewById(R.id.blurring_view);
View blurredView = findViewById(R.id.blurred_view);
// Give the blurring view a reference to the blurred view.
mBlurringView.setBlurredView(blurredView);
mImageViews[0] = (ImageView) findViewById(R.id.image0);
mImageViews[1] = (ImageView) findViewById(R.id.image1);
mImageViews[2] = (ImageView) findViewById(R.id.image2);
mImageViews[3] = (ImageView) findViewById(R.id.image3);
mImageViews[4] = (ImageView) findViewById(R.id.image4);
mImageViews[5] = (ImageView) findViewById(R.id.image5);
mImageViews[6] = (ImageView) findViewById(R.id.image6);
mImageViews[7] = (ImageView) findViewById(R.id.image7);
mImageViews[8] = (ImageView) findViewById(R.id.image8);
}