mirror of
https://github.com/leanote/leanote-android.git
synced 2025-10-14 14:10:56 +00:00
Fix 53 支持原图等比缩放
This commit is contained in:
@@ -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'
|
||||
|
@@ -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();
|
||||
|
@@ -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>
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user