menuのレイアウト更新
This commit is contained in:
parent
8d10fbf998
commit
f75582ee53
@ -50,8 +50,27 @@ export const SearchUnitBox = ({
|
|||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
display: "flex",
|
display: "flex",
|
||||||
flex: 1,
|
flex: 1,
|
||||||
|
alignContent: "center",
|
||||||
|
justifyContent: "flex-end",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
<View style={{ flexDirection: "row", alignItems: "center" }}>
|
||||||
|
<TouchableOpacity
|
||||||
|
onPress={() => {
|
||||||
|
LayoutAnimation.configureNext({
|
||||||
|
duration: 100,
|
||||||
|
update: { type: "easeInEaseOut", springDamping: 0.6 },
|
||||||
|
});
|
||||||
|
setisSearchMode(false);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<Ionicons
|
||||||
|
name="arrow-back"
|
||||||
|
size={20}
|
||||||
|
color="white"
|
||||||
|
style={{ marginRight: 10 }}
|
||||||
|
/>
|
||||||
|
</TouchableOpacity>
|
||||||
<View
|
<View
|
||||||
style={{
|
style={{
|
||||||
backgroundColor: "white",
|
backgroundColor: "white",
|
||||||
@ -70,23 +89,8 @@ export const SearchUnitBox = ({
|
|||||||
style={{ flex: 1 }}
|
style={{ flex: 1 }}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
<View style={{ flexDirection: "row", alignItems: "center" }}>
|
</View>
|
||||||
<TouchableOpacity
|
{!input &&<View style={{ flexDirection: "row", alignItems: "center" }}>
|
||||||
onPress={() => {
|
|
||||||
LayoutAnimation.configureNext({
|
|
||||||
duration: 100,
|
|
||||||
update: { type: "easeInEaseOut", springDamping: 0.6 },
|
|
||||||
});
|
|
||||||
setisSearchMode(false);
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<Ionicons
|
|
||||||
name="arrow-back"
|
|
||||||
size={20}
|
|
||||||
color="white"
|
|
||||||
style={{ marginRight: 10 }}
|
|
||||||
/>
|
|
||||||
</TouchableOpacity>
|
|
||||||
{Object.keys(lineList_LineWebID).map((d) => (
|
{Object.keys(lineList_LineWebID).map((d) => (
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
style={{
|
style={{
|
||||||
@ -123,7 +127,7 @@ export const SearchUnitBox = ({
|
|||||||
</Text>
|
</Text>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
))}
|
))}
|
||||||
</View>
|
</View>}
|
||||||
</View>
|
</View>
|
||||||
)}
|
)}
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
|
Loading…
Reference in New Issue
Block a user