android / android/camera-samples

CameraXBasic - How to config aspect ratio is 1:1

Open
#479 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
5.5k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

I want to preview and take picture with aspect ratio is 1:1. How to do that?
Thanks.

Contributor guide

Open the contributing guide

Research direction

Start by locating the CameraXBasic sample and its preview and image-capture configuration. Read how the sample currently selects aspect ratios, then determine the expected behavior for a 1:1 preview and captured image and verify both paths with the sample.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.