Commit 67627291 by tungnq

IMPORTANT: Cho FAB chia ra làm 2 màn hình để FAB bám vào màn hình giao diện

parent 9052caa2
...@@ -58,7 +58,7 @@ export const SUBBTN_WIDTH = FAB_WIDTH; ...@@ -58,7 +58,7 @@ export const SUBBTN_WIDTH = FAB_WIDTH;
export const SUBBTN_HEIGHT = SUBBTN_WIDTH; export const SUBBTN_HEIGHT = SUBBTN_WIDTH;
// Bán kính bo tròn (nút con hình tròn) // Bán kính bo tròn (nút con hình tròn)
export const SUBBTN_BORDER_RADIUS = SUBBTN_WIDTH / 2; export const SUBBTN_BORDER_RADIUS = 10;
// Màu nền mặc định của nút con // Màu nền mặc định của nút con
export const SUBBTN_BACKGROUND_COLOR = '#2F6BFF'; export const SUBBTN_BACKGROUND_COLOR = '#2F6BFF';
......
...@@ -88,6 +88,14 @@ const styles = StyleSheet.create({ ...@@ -88,6 +88,14 @@ const styles = StyleSheet.create({
marginTop: 10, // Khoảng cách giữa các SubButton4 marginTop: 10, // Khoảng cách giữa các SubButton4
flexDirection: 'row', flexDirection: 'row',
alignItems: 'center', alignItems: 'center',
shadowColor: '#000',
shadowOffset: {
width: 0,
height: 2,
},
shadowOpacity: 0.25,
shadowRadius: 3.84,
elevation: 5,
}, },
label: { label: {
marginRight:3, marginRight:3,
......
...@@ -62,7 +62,7 @@ const styles = StyleSheet.create({ ...@@ -62,7 +62,7 @@ const styles = StyleSheet.create({
borderRadius:100, borderRadius:100,
padding:10, padding:10,
alignSelf:'flex-start', alignSelf:'flex-start',
backgroundColor:R.colors.brown, backgroundColor:R.colors.orange,
marginHorizontal:5 marginHorizontal:5
}, },
containerBtn:{ containerBtn:{
......
...@@ -86,7 +86,7 @@ const IncomingDocumentView = props => { ...@@ -86,7 +86,7 @@ const IncomingDocumentView = props => {
<Button <Button
title="Công việc" title="Công việc"
onPress={() => {}} onPress={() => {}}
backgroundColor={R.colors.brown} backgroundColor={R.colors.orange}
textColor={R.colors.white} textColor={R.colors.white}
height={25} height={25}
borderRadius={15} borderRadius={15}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment