FinalTeam / RxGalleryFinal

图片选择库,单选/多选、拍照、裁剪、压缩,自定义。包括视频选择和录制。
https://github.com/FinalTeam/RxGalleryFinal
2.83k stars 513 forks source link

请问裁剪页标题栏颜色和底部的icon颜色怎么修改 #144

Open clj12081103 opened 7 years ago

clj12081103 commented 7 years ago

我在style里试了gallery_toolbar_bg这个属性并没有效果

clj12081103 commented 7 years ago

RxGalleryFinal .with(this) .image() .radio() .cropAspectRatioOptions(0,new AspectRatio("",750f,320f)) .crop() .imageLoader(ImageLoaderType.GLIDE) .subscribe(new RxBusResultSubscriber<ImageRadioResultEvent>() { @Override protected void onEvent(ImageRadioResultEvent imageRadioResultEvent) throws Exception { //图片选择结果 ImageCropBean result = imageRadioResultEvent.getResult(); String s = result.getCropPath(); Logger.e(s); Glide.with(getApplicationContext()).load(Uri.fromFile(new File(result.getCropPath()))) .error(R.mipmap.plan_bg) .centerCrop() .into(ivHeadImage); ivDelete.setVisibility(View.VISIBLE); } }) .openGallery(); 这个只是选择图片的回调,裁剪图片的回调在哪里?

7449 commented 7 years ago
WangManAndroid commented 7 years ago

能否给下具体设置状态栏颜色?或者说如何自定义颜色。

WangManAndroid commented 7 years ago

现在的颜色是橘黄色的。

clj12081103 commented 7 years ago

给activity设置一个theme,像楼上那样