├── LICENSE ├── README.md ├── app ├── app.iml ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── mobin │ │ └── customcamera │ │ ├── CustomCameraUI.kt │ │ └── core │ │ ├── AutoFitTextureView.kt │ │ ├── Camera2.kt │ │ ├── CameraPreview.kt │ │ └── Converters.kt │ └── res │ ├── drawable-anydpi │ ├── ic_back.xml │ ├── ic_camera.xml │ ├── ic_camera_rotation.xml │ ├── ic_flash_auto.xml │ ├── ic_flash_off.xml │ └── ic_flash_on.xml │ ├── drawable-hdpi │ ├── ic_back.png │ ├── ic_camera.png │ ├── ic_camera_rotation.png │ ├── ic_flash_auto.png │ ├── ic_flash_off.png │ └── ic_flash_on.png │ ├── drawable-mdpi │ ├── ic_back.png │ ├── ic_camera.png │ ├── ic_camera_rotation.png │ ├── ic_flash_auto.png │ ├── ic_flash_off.png │ └── ic_flash_on.png │ ├── drawable-v24 │ └── ic_launcher_foreground.xml │ ├── drawable-xhdpi │ ├── ic_back.png │ ├── ic_camera.png │ ├── ic_camera_rotation.png │ ├── ic_flash_auto.png │ ├── ic_flash_off.png │ └── ic_flash_on.png │ ├── drawable-xxhdpi │ ├── ic_back.png │ ├── ic_camera.png │ ├── ic_camera_rotation.png │ ├── ic_flash_auto.png │ ├── ic_flash_off.png │ └── ic_flash_on.png │ ├── drawable │ └── ic_launcher_background.xml │ ├── layout │ └── activity_custom_camera_ui.xml │ ├── mipmap-anydpi-v26 │ ├── ic_launcher.xml │ └── ic_launcher_round.xml │ ├── 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 │ └── values │ ├── colors.xml │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml ├── gradle.properties └── settings.gradle /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/README.md -------------------------------------------------------------------------------- /app/app.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/app.iml -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/mobin/customcamera/CustomCameraUI.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/java/mobin/customcamera/CustomCameraUI.kt -------------------------------------------------------------------------------- /app/src/main/java/mobin/customcamera/core/AutoFitTextureView.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/java/mobin/customcamera/core/AutoFitTextureView.kt -------------------------------------------------------------------------------- /app/src/main/java/mobin/customcamera/core/Camera2.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/java/mobin/customcamera/core/Camera2.kt -------------------------------------------------------------------------------- /app/src/main/java/mobin/customcamera/core/CameraPreview.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/java/mobin/customcamera/core/CameraPreview.kt -------------------------------------------------------------------------------- /app/src/main/java/mobin/customcamera/core/Converters.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/java/mobin/customcamera/core/Converters.kt -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_back.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-anydpi/ic_back.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_camera.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-anydpi/ic_camera.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_camera_rotation.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-anydpi/ic_camera_rotation.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_flash_auto.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-anydpi/ic_flash_auto.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_flash_off.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-anydpi/ic_flash_off.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_flash_on.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-anydpi/ic_flash_on.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-hdpi/ic_back.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-hdpi/ic_camera.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_camera_rotation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-hdpi/ic_camera_rotation.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_flash_auto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-hdpi/ic_flash_auto.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_flash_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-hdpi/ic_flash_off.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_flash_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-hdpi/ic_flash_on.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-mdpi/ic_back.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-mdpi/ic_camera.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_camera_rotation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-mdpi/ic_camera_rotation.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_flash_auto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-mdpi/ic_flash_auto.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_flash_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-mdpi/ic_flash_off.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_flash_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-mdpi/ic_flash_on.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-xhdpi/ic_back.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-xhdpi/ic_camera.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_camera_rotation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-xhdpi/ic_camera_rotation.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_flash_auto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-xhdpi/ic_flash_auto.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_flash_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-xhdpi/ic_flash_off.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_flash_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-xhdpi/ic_flash_on.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-xxhdpi/ic_back.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-xxhdpi/ic_camera.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_camera_rotation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-xxhdpi/ic_camera_rotation.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_flash_auto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-xxhdpi/ic_flash_auto.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_flash_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-xxhdpi/ic_flash_off.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_flash_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable-xxhdpi/ic_flash_on.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_custom_camera_ui.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/layout/activity_custom_camera_ui.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/values/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mmobin789/Android-Custom-Camera/HEAD/gradle.properties -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | --------------------------------------------------------------------------------