diff options
author | Ivan Chen <ivan@tagg.id> | 2021-08-05 18:49:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-05 18:49:56 -0400 |
commit | a304be1adfdf9ae191549477ac4b66ee03dfa15e (patch) | |
tree | fc4970be9191db3089c353288f5d82eb202a7e3f /src/components/camera/styles.tsx | |
parent | 1cdd092bb4729ccc7b414330492b1af17f48692e (diff) | |
parent | 58f3946125df54b1c630a7a06f705eaa9b31c4da (diff) |
Merge pull request #545 from shravyaramesh/tma1037-swap-flash-icons
[TMA-1037] Swap flash icons
Diffstat (limited to 'src/components/camera/styles.tsx')
-rw-r--r-- | src/components/camera/styles.tsx | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/src/components/camera/styles.tsx b/src/components/camera/styles.tsx index 33b47cc4..dbe1500b 100644 --- a/src/components/camera/styles.tsx +++ b/src/components/camera/styles.tsx @@ -18,9 +18,16 @@ export const styles = StyleSheet.create({ zIndex: 999, }, flashButtonContainer: { + zIndex: 3, + height: 86, + width: 49, + flexDirection: 'column', + justifyContent: 'center', + alignItems: 'center', + borderRadius: 30, + }, + flashButtonContainerBackground: { position: 'absolute', - backgroundColor: '#808080', - opacity: 0.25, zIndex: 1, top: normalize(50), right: 0, @@ -30,7 +37,7 @@ export const styles = StyleSheet.create({ flexDirection: 'column', justifyContent: 'center', alignItems: 'center', - borderRadius: 30, + borderRadius: 50, }, galleryIcon: { borderWidth: 2, @@ -47,7 +54,17 @@ export const styles = StyleSheet.create({ height: 40, backgroundColor: 'grey', }, - flashIcon: { - zIndex: 2, + blurView: { + position: 'absolute', + zIndex: 1, + top: normalize(50), + right: 0, + marginRight: normalize(18), + height: 86, + width: 49, + flexDirection: 'column', + justifyContent: 'center', + alignItems: 'center', + borderRadius: 24.5, }, }); |