|
@ -7,6 +7,7 @@ import { |
|
|
Animated, |
|
|
Animated, |
|
|
TouchableWithoutFeedback, |
|
|
TouchableWithoutFeedback, |
|
|
Dimensions, |
|
|
Dimensions, |
|
|
|
|
|
PixelRatio, |
|
|
} from "react-native"; |
|
|
} from "react-native"; |
|
|
import { FlatList } from "react-native-gesture-handler"; |
|
|
import { FlatList } from "react-native-gesture-handler"; |
|
|
|
|
|
|
|
@ -114,18 +115,18 @@ function FloatButton(props) { |
|
|
<View style={{ |
|
|
<View style={{ |
|
|
flex: 1, |
|
|
flex: 1, |
|
|
flexDirection: "column", |
|
|
flexDirection: "column", |
|
|
height: screenHeight * 0.75,//solução temporária, procurar soluções pro menu se ajustar melhor ao layout
|
|
|
|
|
|
paddingTop: (screenHeight > 600 ? 0 : screenHeight * 0.10) |
|
|
|
|
|
|
|
|
height: (PixelRatio.get() >= 3 ? screenHeight * 0.75 : screenHeight * 0.80), //solução temporária, procurar soluções pro menu se ajustar melhor ao layout
|
|
|
|
|
|
paddingTop: (PixelRatio.get() > 3 ? screenHeight * 0.10 : 5) |
|
|
}}> |
|
|
}}> |
|
|
<View style={{ |
|
|
<View style={{ |
|
|
flex: 0.05, |
|
|
flex: 0.05, |
|
|
marginTop: screenHeight * 0.09, |
|
|
marginTop: screenHeight * 0.09, |
|
|
paddingBottom: 10, |
|
|
paddingBottom: 10, |
|
|
zIndex:3, |
|
|
|
|
|
|
|
|
zIndex: 3, |
|
|
justifyContent: "center" |
|
|
justifyContent: "center" |
|
|
}}> |
|
|
}}> |
|
|
<Text style={styles.menuLabel}> |
|
|
<Text style={styles.menuLabel}> |
|
|
Escolha o que deseja ver no mapa: |
|
|
|
|
|
|
|
|
Selecione os dados: |
|
|
</Text> |
|
|
</Text> |
|
|
</View> |
|
|
</View> |
|
|
<View |
|
|
<View |
|
|