Fix 53 支持原图等比缩放

This commit is contained in:
xingxing
2018-01-20 19:57:51 +08:00
parent 2a65f13ae6
commit 09fd8518c6
4 changed files with 5 additions and 4 deletions

View File

@@ -94,7 +94,7 @@ dependencies {
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'jp.wasabeef:glide-transformations:2.0.1'
compile 'com.android.support:support-v13:26.1.0'
compile 'com.yuyh.imgsel:library:2.0.2'
compile 'com.github.xingstarx:ImageSelector:master-SNAPSHOT'
compile 'com.facebook.stetho:stetho:1.4.2'
compile 'com.facebook.stetho:stetho-okhttp3:1.4.2'
compile 'com.github.houxg:FlexLayout:1.2'

View File

@@ -203,11 +203,10 @@ public class EditorFragment extends Fragment implements Editor.EditorListener {
.btnTextColor(Color.BLUE)
.statusBarColor(Color.parseColor("#3F51B5"))
.backResId(R.drawable.ic_arrow_back_white)
// .title("选择图片")
.title(getString(R.string.webview_select_picture))
.titleColor(Color.WHITE)
.titleBgColor(Color.parseColor("#3F51B5"))
.cropSize(1, 1, 200, 200)
.needCrop(true)
.needScaleCrop(true)
.needCamera(supportSelfie)
.maxNum(9)
.build();

View File

@@ -120,4 +120,5 @@
<string name="permission_get">权限申请</string>
<string name="allow">允许</string>
<string name="lea_api_error_need_upgrade_account">需要升级蚂蚁笔记账户</string>
<string name="webview_select_picture">选择图片</string>
</resources>

View File

@@ -122,4 +122,5 @@
<string name="permission_get">Permission request</string>
<string name="allow">allow</string>
<string name="lea_api_error_need_upgrade_account">need upgrade Leanote account</string>
<string name="webview_select_picture">Select Picture</string>
</resources>