-
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.
refactor: refactored aim strokke code. moved all margins and stroke s…
…izes to a constants file.
- Loading branch information
Showing
5 changed files
with
106 additions
and
68 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
14 changes: 14 additions & 0 deletions
14
src/main/kotlin/com/outsystems/plugins/barcode/view/ui.theme/Sizes.kt
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,14 @@ | ||
package com.outsystems.plugins.barcode.view.ui.theme | ||
|
||
import androidx.compose.ui.unit.dp | ||
|
||
val NoPadding = 0f.dp | ||
val ScannerBorderPadding = 32f.dp | ||
|
||
val ScannerAimRectCornerPadding = 16f.dp | ||
val ScannerAimCornerLength = 50f.dp | ||
const val ScannerAimStrokeWidth = 3f | ||
|
||
val ScanButtonCornerRadius = 4f.dp | ||
val ScanButtonStrokeWidth = 1f.dp | ||
val ActionButtonsDistance = 48f.dp |
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