├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── nav_back.png │ │ │ │ ├── ic_launcher.png │ │ │ │ └── content_add_img_icon.png │ │ │ ├── drawable-xhdpi │ │ │ │ ├── dot_blue.png │ │ │ │ ├── dot_normal.png │ │ │ │ └── dot_selector.xml │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable-xxhdpi │ │ │ │ ├── content_img.png │ │ │ │ ├── image_for_check.png │ │ │ │ ├── image_for_nomal.png │ │ │ │ └── image_check_number.png │ │ │ ├── xml │ │ │ │ └── provider_paths.xml │ │ │ ├── drawable │ │ │ │ ├── actionsheet_single_normal_shape.xml │ │ │ │ ├── actionsheet_single_pressed_shape.xml │ │ │ │ ├── shape_blue_solid.xml │ │ │ │ ├── actionsheet_bottom_normal_shape.xml │ │ │ │ ├── actionsheet_top_normal_shape.xml │ │ │ │ ├── actionsheet_bottom_pressed_shape.xml │ │ │ │ ├── actionsheet_top_pressed_shape.xml │ │ │ │ ├── dot_selector.xml │ │ │ │ ├── shape_pick_image_number.xml │ │ │ │ ├── actionsheet_top_selector.xml │ │ │ │ ├── actionsheet_bottom_selector.xml │ │ │ │ ├── actionsheet_single_selector.xml │ │ │ │ └── imagepicker_checkbox_selector.xml │ │ │ ├── anim │ │ │ │ ├── actionsheet_dialog_in.xml │ │ │ │ ├── actionsheet_dialog_out.xml │ │ │ │ ├── push_left_in.xml │ │ │ │ ├── push_left_out.xml │ │ │ │ ├── push_right_in.xml │ │ │ │ └── push_right_out.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ └── layout │ │ │ │ ├── view_photo_edit.xml │ │ │ │ ├── list_item_image.xml │ │ │ │ ├── activity_main.xml │ │ │ │ ├── item_media_imagepicker.xml │ │ │ │ ├── dialog_photo_bottom.xml │ │ │ │ ├── activity_preview_photo.xml │ │ │ │ └── activity_image_picker.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── alex │ │ │ │ └── photopicker │ │ │ │ ├── utils │ │ │ │ └── ProviderUtil.java │ │ │ │ ├── constants │ │ │ │ └── Constant.java │ │ │ │ ├── bens │ │ │ │ └── MediaPhoto.java │ │ │ │ ├── activity │ │ │ │ ├── MainActivity.java │ │ │ │ ├── PhotoPreviewActivity.java │ │ │ │ └── ImagePickerActivity.java │ │ │ │ ├── widget │ │ │ │ ├── PhotoEditView.java │ │ │ │ └── PhotoBottomDialog.java │ │ │ │ └── adapter │ │ │ │ ├── ImagePickerAdapter.java │ │ │ │ └── PhotoEditAdapter.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── alex │ │ │ └── photopicker │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── alex │ │ └── photopicker │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── 504568939774866246.jpg ├── 603781355456128155.jpg ├── 645511239786389592.jpg ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties ├── README.md ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /504568939774866246.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/504568939774866246.jpg -------------------------------------------------------------------------------- /603781355456128155.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/603781355456128155.jpg -------------------------------------------------------------------------------- /645511239786389592.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/645511239786389592.jpg -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | PhotoPicker 3 | 4 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/nav_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/app/src/main/res/mipmap-xhdpi/nav_back.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/dot_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/app/src/main/res/drawable-xhdpi/dot_blue.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/dot_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/app/src/main/res/drawable-xhdpi/dot_normal.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/content_img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/app/src/main/res/drawable-xxhdpi/content_img.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/image_for_check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/app/src/main/res/drawable-xxhdpi/image_for_check.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/image_for_nomal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/app/src/main/res/drawable-xxhdpi/image_for_nomal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/image_check_number.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/app/src/main/res/drawable-xxhdpi/image_check_number.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/content_add_img_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuerui1993/PhotoPicker/HEAD/app/src/main/res/mipmap-xhdpi/content_add_img_icon.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | /.idea 11 | -------------------------------------------------------------------------------- /app/src/main/res/xml/provider_paths.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/actionsheet_single_normal_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/anim/actionsheet_dialog_in.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/anim/actionsheet_dialog_out.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/actionsheet_single_pressed_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_blue_solid.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/actionsheet_bottom_normal_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/actionsheet_top_normal_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 8dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/actionsheet_bottom_pressed_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/actionsheet_top_pressed_shape.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_left_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_left_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_right_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_right_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/dot_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_pick_image_number.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/dot_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/actionsheet_top_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/actionsheet_bottom_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/actionsheet_single_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/imagepicker_checkbox_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/alex/photopicker/utils/ProviderUtil.java: -------------------------------------------------------------------------------- 1 | package com.alex.photopicker.utils; 2 | 3 | import android.content.Context; 4 | 5 | /** 6 | * 用于解决provider冲突的util 7 | * 8 | * Author: nanchen 9 | * Email: liushilin520@foxmail.com 10 | * Date: 2017-03-22 18:55 11 | */ 12 | 13 | public class ProviderUtil { 14 | 15 | public static String getFileProviderName(Context context){ 16 | return context.getPackageName()+".fileprovider"; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/src/test/java/com/alex/photopicker/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.alex.photopicker; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/view_photo_edit.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | #54B6B7 7 | #ffffff 8 | #55000000 9 | #88000000 10 | #444444 11 | #cc000000 12 | #E0E0E0 13 | #00ffffff 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_image.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/java/com/alex/photopicker/constants/Constant.java: -------------------------------------------------------------------------------- 1 | package com.alex.photopicker.constants; 2 | 3 | /* 4 | * @项目名: PhotoPicker 5 | * @包名: com.alex.photopicker 6 | * @文件名: Constant 7 | * @创建者: xuerui 8 | * @创建时间: 2017/4/9 0:47 9 | * @描述: TODO 10 | */ 11 | 12 | public interface Constant { 13 | String PHOTO_LIST = "photo_list"; 14 | String PHOTO_PREVIEW_LIST = "photo_preview_list"; 15 | String PHOTO_CHECK_LIST = "photo_check_list"; 16 | String PHOTO_POSITION = "photo_position"; 17 | String TITLE_IS_GONE = "title_is_gone"; 18 | String MAX_COUNT = "max_count"; 19 | int ADD_PHOTO = 100; 20 | int PREVIEW_PHOTO = 200; 21 | } 22 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in C:\android\Andorid-SDK\SDK/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/alex/photopicker/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.alex.photopicker; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumentation test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.alex.photopicker", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/java/com/alex/photopicker/bens/MediaPhoto.java: -------------------------------------------------------------------------------- 1 | package com.alex.photopicker.bens; 2 | 3 | import java.io.Serializable; 4 | 5 | /* 6 | * @项目名: PhotoPicker 7 | * @包名: com.alex.photopicker.bens 8 | * @文件名: MediaPhoto 9 | * @创建者: xuerui 10 | * @创建时间: 2017/4/8 18:13 11 | * @描述: TODO 12 | */ 13 | public class MediaPhoto implements Serializable{ 14 | private static final String TAG = "MediaPhoto"; 15 | private String url; 16 | private boolean isCheck; 17 | 18 | public MediaPhoto(String url, boolean isCheck) { 19 | this.url = url; 20 | this.isCheck = isCheck; 21 | } 22 | 23 | public void setUrl(String url) { 24 | this.url = url; 25 | } 26 | 27 | public void setCheck(boolean check) { 28 | isCheck = check; 29 | } 30 | 31 | public String getUrl() { 32 | return url; 33 | } 34 | 35 | public boolean isCheck() { 36 | return isCheck; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_media_imagepicker.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 13 | 18 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 24 5 | buildToolsVersion "25.0.2" 6 | defaultConfig { 7 | applicationId "com.alex.photopicker" 8 | minSdkVersion 15 9 | targetSdkVersion 23 10 | versionCode 1 11 | versionName "1.0" 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | compile fileTree(include: ['*.jar'], dir: 'libs') 24 | androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 25 | exclude group: 'com.android.support', module: 'support-annotations' 26 | }) 27 | compile 'com.github.bumptech.glide:glide:3.7.0' 28 | compile 'com.android.support:recyclerview-v7:24+' 29 | compile 'com.android.support:appcompat-v7:24+' 30 | testCompile 'junit:junit:4.12' 31 | } 32 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 22 | 24 | 29 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /app/src/main/java/com/alex/photopicker/activity/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.alex.photopicker.activity; 2 | import android.content.Intent; 3 | import android.os.Bundle; 4 | import android.support.annotation.NonNull; 5 | import android.support.v7.app.AppCompatActivity; 6 | import android.util.Log; 7 | 8 | import com.alex.photopicker.R; 9 | import com.alex.photopicker.widget.PhotoEditView; 10 | 11 | 12 | public class MainActivity extends AppCompatActivity { 13 | 14 | private static final String TAG = "MainActivity"; 15 | private PhotoEditView mPhotoEditView; 16 | 17 | @Override 18 | protected void onCreate(Bundle savedInstanceState) { 19 | super.onCreate(savedInstanceState); 20 | setContentView(R.layout.activity_main); 21 | initView(); 22 | } 23 | 24 | private void initView() { 25 | mPhotoEditView = (PhotoEditView) findViewById(R.id.photo_edit); 26 | mPhotoEditView.setMaxCount(9,4); 27 | } 28 | 29 | /** 30 | * 申请相机权限回调 31 | */ 32 | @Override 33 | public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { 34 | mPhotoEditView.onRequestPermissionResult(requestCode,permissions,grantResults); 35 | } 36 | 37 | @Override 38 | protected void onActivityResult(int requestCode, int resultCode, Intent data) { 39 | super.onActivityResult(requestCode, resultCode, data); 40 | Log.e(TAG, "onActivityResult: requestCode = " + requestCode + ",resultCode = " + resultCode); 41 | mPhotoEditView.onActivityResult(requestCode,resultCode,data); 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /app/src/main/res/layout/dialog_photo_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 |