├── jitpack.yml ├── SSffmpegVideoOperation ├── consumer-rules.pro ├── src │ └── main │ │ ├── java │ │ └── com │ │ │ └── simform │ │ │ └── videooperations │ │ │ ├── ISize.kt │ │ │ ├── Paths.kt │ │ │ ├── FileSelection.kt │ │ │ ├── FFmpegCallBack.kt │ │ │ ├── LogMessage.kt │ │ │ ├── SizeOfImage.kt │ │ │ ├── CallBackOfQuery.kt │ │ │ └── Statistics.kt │ │ └── AndroidManifest.xml ├── .gitignore ├── proguard-rules.pro └── build.gradle ├── .idea └── .gitignore ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── app ├── src │ └── main │ │ ├── assets │ │ └── little_lord.ttf │ │ ├── res │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ ├── values-v26 │ │ │ └── themes.xml │ │ ├── values │ │ │ ├── colors.xml │ │ │ └── themes.xml │ │ ├── layout │ │ │ ├── progress_view.xml │ │ │ ├── activity_main.xml │ │ │ ├── activity_other_ffmpeg_process.xml │ │ │ ├── activity_combine_videos.xml │ │ │ ├── activity_audios_merge.xml │ │ │ ├── activity_compress_audio.xml │ │ │ ├── activity_extract_audio.xml │ │ │ ├── activity_extract_images.xml │ │ │ ├── activity_remove_audio_from_video.xml │ │ │ ├── activity_aspect_ratio.xml │ │ │ ├── activity_change_audio_valume.xml │ │ │ ├── activity_video_to_gif.xml │ │ │ ├── activity_video_fade_in_fade_out.xml │ │ │ ├── activity_image_to_video_convert.xml │ │ │ ├── activity_combine_images.xml │ │ │ ├── activity_compress_video.xml │ │ │ ├── activity_reverse.xml │ │ │ ├── activity_fast_and_slow_video_motion.xml │ │ │ ├── activity_fast_and_slow_audio.xml │ │ │ ├── activity_merge_audio_video.xml │ │ │ ├── activity_merge_image_and_mp3.xml │ │ │ ├── activity_merge_image_and_video.xml │ │ │ ├── activity_add_text_on_video.xml │ │ │ ├── activity_crop_audio.xml │ │ │ └── activity_cut_video_using_time.xml │ │ ├── values-night │ │ │ └── themes.xml │ │ └── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ ├── java │ │ └── com │ │ │ └── simform │ │ │ └── videoimageeditor │ │ │ ├── Utils.kt │ │ │ ├── MainActivity.kt │ │ │ ├── BaseActivity.kt │ │ │ ├── middlewareActivity │ │ │ ├── OtherFFMPEGProcessActivity.kt │ │ │ └── VideoProcessActivity.kt │ │ │ ├── videoProcessActivity │ │ │ ├── ExtractAudioActivity.kt │ │ │ ├── ReverseVideoActivity.kt │ │ │ ├── VideoToGifActivity.kt │ │ │ ├── AspectRatioActivity.kt │ │ │ ├── RemoveAudioFromVideoActivity.kt │ │ │ ├── FastAndSlowVideoMotionActivity.kt │ │ │ ├── ExtractImagesActivity.kt │ │ │ ├── ImageToVideoConvertActivity.kt │ │ │ ├── CompressVideoActivity.kt │ │ │ ├── VideoFadeInFadeOutActivity.kt │ │ │ ├── CombineImagesActivity.kt │ │ │ ├── MergeAudioVideoActivity.kt │ │ │ ├── MergeImageAndMP3Activity.kt │ │ │ └── CombineVideosActivity.kt │ │ │ └── otherFFMPEGProcessActivity │ │ │ ├── ChangeAudioVolumeActivity.kt │ │ │ ├── CompressAudioActivity.kt │ │ │ ├── FastAndSlowAudioActivity.kt │ │ │ └── AudiosMergeActivity.kt │ │ └── AndroidManifest.xml ├── .gitignore ├── proguard-rules.pro └── build.gradle ├── CONTRIBUTING.md ├── .gitignore ├── .github ├── ISSUE_TEMPLATE │ ├── feature_request.md │ └── bug_report.md └── workflows │ └── github-actions.yml ├── gradle.properties ├── gradlew.bat └── CODE_OF_CONDUCT.md /jitpack.yml: -------------------------------------------------------------------------------- 1 | jdk: 2 | - openjdk11 -------------------------------------------------------------------------------- /SSffmpegVideoOperation/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':SSffmpegVideoOperation' 2 | include ':app' 3 | rootProject.name = "FFMPEG Video Operation" -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSffmpegVideoOperation/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/assets/little_lord.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSffmpegVideoOperation/HEAD/app/src/main/assets/little_lord.ttf -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSffmpegVideoOperation/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSffmpegVideoOperation/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSffmpegVideoOperation/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSffmpegVideoOperation/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSffmpegVideoOperation/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSffmpegVideoOperation/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSffmpegVideoOperation/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSffmpegVideoOperation/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSffmpegVideoOperation/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSffmpegVideoOperation/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 14 18:23:01 IST 2020 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-7.0.2-all.zip 7 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Way to contribute 2 | 3 | 1. Fork the repo and create your branch from `master`. 4 | 2. Clone the project to your own machine. 5 | 3. Commit changes to your own branch 6 | 4. Make sure your code lints. 7 | 5. Push your work back up to your fork. 8 | 6. Issue that pull request! 9 | -------------------------------------------------------------------------------- /SSffmpegVideoOperation/src/main/java/com/simform/videooperations/ISize.kt: -------------------------------------------------------------------------------- 1 | package com.simform.videooperations 2 | 3 | /** 4 | * Created by Ashvin Vavaliya on 29,December,2020 5 | * Simform Solutions Pvt Ltd. 6 | */ 7 | interface ISize { 8 | fun width(): Int 9 | fun height(): Int 10 | } -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea 5 | /.idea/workspace.xml 6 | /.idea/libraries 7 | .DS_Store 8 | /build 9 | /captures 10 | .externalNativeBuild 11 | libs/ 12 | .idea/gradle.xml 13 | .idea/misc.xml 14 | .idea/modules.xml 15 | .idea/runConfigurations.xml 16 | .idea/vcs.xml -------------------------------------------------------------------------------- /SSffmpegVideoOperation/src/main/java/com/simform/videooperations/Paths.kt: -------------------------------------------------------------------------------- 1 | package com.simform.videooperations 2 | 3 | /** 4 | * Created by Ashvin Vavaliya on 29,December,2020 5 | * Simform Solutions Pvt Ltd. 6 | */ 7 | class Paths { 8 | var filePath : String = "" 9 | var isImageFile : Boolean = false 10 | } -------------------------------------------------------------------------------- /SSffmpegVideoOperation/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea 5 | /.idea/workspace.xml 6 | /.idea/libraries 7 | .DS_Store 8 | /build 9 | /captures 10 | .externalNativeBuild 11 | libs/ 12 | .idea/gradle.xml 13 | .idea/misc.xml 14 | .idea/modules.xml 15 | .idea/runConfigurations.xml 16 | .idea/vcs.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /SSffmpegVideoOperation/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /SSffmpegVideoOperation/src/main/java/com/simform/videooperations/FileSelection.kt: -------------------------------------------------------------------------------- 1 | package com.simform.videooperations 2 | 3 | import com.jaiselrahman.filepicker.model.MediaFile 4 | 5 | /** 6 | * Created by Ashvin Vavaliya on 31,December,2020 7 | * Simform Solutions Pvt Ltd. 8 | */ 9 | interface FileSelection { 10 | fun selectedFiles(mediaFiles:List?,requestCode: Int){} 11 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /.gradle/ 4 | /local.properties 5 | /.idea/caches 6 | /.idea/codeStyles 7 | /.idea/inspectionProfiles 8 | /.idea/libraries 9 | /.idea/modules.xml 10 | /.idea/workspace.xml 11 | /.idea/compiler.xml 12 | /.idea/gradle.xml 13 | /.idea/jarRepositories.xml 14 | /.idea/misc.xml 15 | /.idea/modules.xml 16 | /.idea/vcs.xml 17 | /.idea/.name 18 | /.idea/navEditor.xml 19 | /.idea/assetWizardSettings.xml 20 | .DS_Store 21 | /build 22 | /captures 23 | .externalNativeBuild 24 | .cxx 25 | github.properties -------------------------------------------------------------------------------- /SSffmpegVideoOperation/src/main/java/com/simform/videooperations/FFmpegCallBack.kt: -------------------------------------------------------------------------------- 1 | package com.simform.videooperations 2 | 3 | import com.simform.videooperations.Statistics 4 | import com.simform.videooperations.LogMessage 5 | 6 | /** 7 | * Created by Ashvin Vavaliya on 01,January,2021 8 | * Simform Solutions Pvt Ltd. 9 | */ 10 | interface FFmpegCallBack { 11 | fun process(logMessage: LogMessage){} 12 | fun statisticsProcess(statistics: Statistics) {} 13 | fun success(){} 14 | fun cancel(){} 15 | fun failed(){} 16 | } -------------------------------------------------------------------------------- /app/src/main/res/values-v26/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #2D647D 4 | #2D647D 5 | #46a0c6 6 | #FFBB86FC 7 | #FF6200EE 8 | #FF3700B3 9 | #FF03DAC5 10 | #FF018786 11 | #FF000000 12 | #FFFFFFFF 13 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /SSffmpegVideoOperation/src/main/java/com/simform/videooperations/LogMessage.kt: -------------------------------------------------------------------------------- 1 | package com.simform.videooperations 2 | 3 | import com.arthenica.mobileffmpeg.Level 4 | 5 | class LogMessage(val executionId: Long, val level: Level, val text: String) { 6 | override fun toString(): String { 7 | val stringBuilder = StringBuilder() 8 | stringBuilder.append("LogMessage{") 9 | stringBuilder.append("executionId=") 10 | stringBuilder.append(executionId) 11 | stringBuilder.append(", level=") 12 | stringBuilder.append(level) 13 | stringBuilder.append(", text=") 14 | stringBuilder.append("\'") 15 | stringBuilder.append(text) 16 | stringBuilder.append('\'') 17 | stringBuilder.append('}') 18 | return stringBuilder.toString() 19 | } 20 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/progress_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 16 | -------------------------------------------------------------------------------- /SSffmpegVideoOperation/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /app/src/main/java/com/simform/videoimageeditor/Utils.kt: -------------------------------------------------------------------------------- 1 | package com.simform.videoimageeditor 2 | 3 | import android.content.Context 4 | import android.content.Intent 5 | import androidx.appcompat.app.AppCompatActivity 6 | 7 | /** 8 | * Created by Ashvin Vavaliya on 06,July,2021 9 | * Simform Solutions Pvt Ltd. 10 | */ 11 | class Utils { 12 | fun addSupportActionBar(context: AppCompatActivity, title: Int) { 13 | if (context.supportActionBar != null) { 14 | context.supportActionBar?.setDisplayHomeAsUpEnabled(true) 15 | context.supportActionBar?.setDisplayShowHomeEnabled(true) 16 | context.supportActionBar?.title = context.getString(title) 17 | } 18 | } 19 | 20 | fun openActivity(context: Context, activity: AppCompatActivity) { 21 | context.startActivity(Intent(context, activity::class.java)) 22 | } 23 | } -------------------------------------------------------------------------------- /app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. iOS] 28 | - Browser [e.g. chrome, safari] 29 | - Version [e.g. 22] 30 | 31 | **Smartphone (please complete the following information):** 32 | - Device: [e.g. iPhone6] 33 | - OS: [e.g. iOS8.1] 34 | - Browser [e.g. stock browser, safari] 35 | - Version [e.g. 22] 36 | 37 | **Additional context** 38 | Add any other context about the problem here. 39 | -------------------------------------------------------------------------------- /SSffmpegVideoOperation/src/main/java/com/simform/videooperations/SizeOfImage.kt: -------------------------------------------------------------------------------- 1 | package com.simform.videooperations 2 | 3 | import android.graphics.BitmapFactory 4 | 5 | /** 6 | * Created by Ashvin Vavaliya on 29,December,2020 7 | * Simform Solutions Pvt Ltd. 8 | */ 9 | class SizeOfImage(private val path: String) : ISize { 10 | private var width: Int 11 | private var height: Int 12 | override fun width(): Int { 13 | if (width == -1) { 14 | init() 15 | } 16 | return width 17 | } 18 | 19 | override fun height(): Int { 20 | if (height == -1) { 21 | init() 22 | } 23 | return height 24 | } 25 | 26 | private fun init() { 27 | val options = BitmapFactory.Options() 28 | options.inJustDecodeBounds = true 29 | BitmapFactory.decodeFile(path, options) 30 | width = options.outWidth 31 | height = options.outHeight 32 | } 33 | 34 | init { 35 | width = -1 36 | height = -1 37 | } 38 | } -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx1536m 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | # AndroidX package structure to make it clearer which packages are bundled with the 15 | # Android operating system, and which are packaged with your app's APK 16 | # https://developer.android.com/topic/libraries/support-library/androidx-rn 17 | android.useAndroidX=true 18 | # Automatically convert third-party libraries to use AndroidX 19 | android.enableJetifier=true 20 | # Kotlin code style for this project: "official" or "obsolete": 21 | kotlin.code.style=official -------------------------------------------------------------------------------- /app/src/main/java/com/simform/videoimageeditor/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.simform.videoimageeditor 2 | 3 | import android.view.View 4 | import com.simform.videoimageeditor.middlewareActivity.OtherFFMPEGProcessActivity 5 | import com.simform.videoimageeditor.middlewareActivity.VideoProcessActivity 6 | import kotlinx.android.synthetic.main.activity_main.imageGifOperation 7 | import kotlinx.android.synthetic.main.activity_main.videoOperation 8 | 9 | class MainActivity : BaseActivity(R.layout.activity_main, R.string.ffpmeg_title) { 10 | override fun initialization() { 11 | supportActionBar?.title = getString(R.string.ffpmeg_title) 12 | supportActionBar?.setDisplayHomeAsUpEnabled(false) 13 | supportActionBar?.setDisplayShowHomeEnabled(false) 14 | videoOperation.setOnClickListener(this) 15 | imageGifOperation.setOnClickListener(this) 16 | } 17 | 18 | override fun onClick(v: View?) { 19 | when (v?.id) { 20 | R.id.videoOperation -> { 21 | utils.openActivity(this, VideoProcessActivity()) 22 | } 23 | R.id.imageGifOperation -> { 24 | utils.openActivity(this, OtherFFMPEGProcessActivity()) 25 | } 26 | } 27 | } 28 | 29 | } -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -keep public class * implements com.bumptech.glide.module.GlideModule 23 | -keep class * extends com.bumptech.glide.module.AppGlideModule { 24 | (...); 25 | } 26 | -keep public enum com.bumptech.glide.load.ImageHeaderParser$** { 27 | **[] $VALUES; 28 | public *; 29 | } 30 | -keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder { 31 | *** rewind(); 32 | } 33 | 34 | # for DexGuard only 35 | -keepresourcexmlelements manifest/application/meta-data@value=GlideModule -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 |