-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add FillWithCrop option, refactor camera preview aspect ratio m…
…ode in the demo-app and core library
- Loading branch information
1 parent
044e344
commit fbebe3e
Showing
11 changed files
with
213 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="16dp" | ||
android:height="16dp" | ||
android:viewportWidth="16" | ||
android:viewportHeight="16"> | ||
<path | ||
android:pathData="M14,2a1,1 0,0 1,1 1v10a1,1 0,0 1,-1 1H2a1,1 0,0 1,-1 -1V3a1,1 0,0 1,1 -1zM2,1a2,2 0,0 0,-2 2v10a2,2 0,0 0,2 2h12a2,2 0,0 0,2 -2V3a2,2 0,0 0,-2 -2z" | ||
android:fillColor="@android:color/black"/> | ||
<path | ||
android:pathData="M3,4a1,1 0,0 1,1 -1h2a1,1 0,0 1,1 1v8a1,1 0,0 1,-1 1H4a1,1 0,0 1,-1 -1z" | ||
android:fillColor="@android:color/black"/> | ||
</vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="16dp" | ||
android:height="16dp" | ||
android:viewportWidth="16" | ||
android:viewportHeight="16"> | ||
<path | ||
android:pathData="M3.5,0.5A0.5,0.5 0,0 1,4 1v13h13a0.5,0.5 0,0 1,0 1h-2v2a0.5,0.5 0,0 1,-1 0v-2H3.5a0.5,0.5 0,0 1,-0.5 -0.5V4H1a0.5,0.5 0,0 1,0 -1h2V1a0.5,0.5 0,0 1,0.5 -0.5m2.5,3a0.5,0.5 0,0 1,0.5 -0.5h8a0.5,0.5 0,0 1,0.5 0.5v8a0.5,0.5 0,0 1,-1 0V4H6.5a0.5,0.5 0,0 1,-0.5 -0.5" | ||
android:fillColor="@android:color/black"/> | ||
</vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="16dp" | ||
android:height="16dp" | ||
android:viewportWidth="16" | ||
android:viewportHeight="16"> | ||
<path | ||
android:pathData="M5.828,10.172a0.5,0.5 0,0 0,-0.707 0l-4.096,4.096V11.5a0.5,0.5 0,0 0,-1 0v3.975a0.5,0.5 0,0 0,0.5 0.5H4.5a0.5,0.5 0,0 0,0 -1H1.732l4.096,-4.096a0.5,0.5 0,0 0,0 -0.707m4.344,-4.344a0.5,0.5 0,0 0,0.707 0l4.096,-4.096V4.5a0.5,0.5 0,1 0,1 0V0.525a0.5,0.5 0,0 0,-0.5 -0.5H11.5a0.5,0.5 0,0 0,0 1h2.768l-4.096,4.096a0.5,0.5 0,0 0,0 0.707" | ||
android:fillColor="@android:color/black" | ||
android:fillType="evenOdd"/> | ||
</vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.