Browse Source

adjuting data menu

master
analuizaff 3 years ago
parent
commit
082817664a
  1. BIN
      src/app/assets/pluviometer/pluviometroOficial.png
  2. 7
      src/app/components/FloatButton.js

BIN
src/app/assets/pluviometer/pluviometroOficial.png

Before

Width: 2501  |  Height: 2500  |  Size: 81 KiB

After

Width: 1667  |  Height: 2501  |  Size: 76 KiB

7
src/app/components/FloatButton.js

@ -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,8 +115,8 @@ 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,
@ -125,7 +126,7 @@ function FloatButton(props) {
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

Loading…
Cancel
Save