minor UI updates

parent 146e53b9
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// Import React and Component // Import React and Component
import React from 'react'; import React from 'react';
import { StyleSheet, View, Text, TouchableOpacity } from "react-native"; import { StyleSheet, View, Text, TouchableOpacity, ImageBackground } from "react-native";
import ImageSliderz from "react-native-image-slideshow"; import ImageSliderz from "react-native-image-slideshow";
import { import {
AntDesign, AntDesign,
...@@ -18,8 +18,10 @@ export function HomeScreen({ navigation }) { ...@@ -18,8 +18,10 @@ export function HomeScreen({ navigation }) {
return ( return (
<View style={styles.background}> <View style={styles.background}>
<ImageBackground source={require('../assets/signin1.jpg')} style={styles.images}>
<ImageSliderz <ImageSliderz
height={450} height={350}
dataSource={[ dataSource={[
{ {
url: require("../assets/d.jpg"), url: require("../assets/d.jpg"),
...@@ -60,6 +62,7 @@ export function HomeScreen({ navigation }) { ...@@ -60,6 +62,7 @@ export function HomeScreen({ navigation }) {
<Text style={styles.heading2}> <Text style={styles.heading2}>
All Right Reserved. All Right Reserved.
</Text> </Text>
</ImageBackground>
</View> </View>
); );
} }
...@@ -86,7 +89,7 @@ const styles = StyleSheet.create({ ...@@ -86,7 +89,7 @@ const styles = StyleSheet.create({
marginTop: 25, marginTop: 25,
marginLeft: 20, marginLeft: 20,
marginHorizontal: 10, marginHorizontal: 10,
backgroundColor: "#ff8000", backgroundColor: "#ff426e",
flexDirection: "row", flexDirection: "row",
marginBottom: 15, marginBottom: 15,
justifyContent: "center", justifyContent: "center",
...@@ -101,6 +104,10 @@ const styles = StyleSheet.create({ ...@@ -101,6 +104,10 @@ const styles = StyleSheet.create({
background:{ background:{
backgroundColor: '#bababa', backgroundColor: '#bababa',
height: '100%' height: '100%'
} },
images: {
height: '100%',
justifyContent: 'center'
}
}); });
...@@ -16,12 +16,7 @@ export function PriceScreen({ navigation, data }) { ...@@ -16,12 +16,7 @@ export function PriceScreen({ navigation, data }) {
<View style={styles.editUSer}>
<TouchableOpacity>
<FontAwesome5 name="user-edit" size={30} color="black" />
</TouchableOpacity>
</View>
<View style={styles.inContainer}> <View style={styles.inContainer}>
<View ><Text style={styles.heading}>User Profile</Text></View> <View ><Text style={styles.heading}>User Profile</Text></View>
<View style={styles.iconStyle}> <View style={styles.iconStyle}>
...@@ -60,8 +55,15 @@ export function PriceScreen({ navigation, data }) { ...@@ -60,8 +55,15 @@ export function PriceScreen({ navigation, data }) {
</View> </View>
</View> </View>
</ImageBackground> */} </ImageBackground> */}
<ImageBackground source={require('../assets/signin1.jpg')} style={styles.images}> <ImageBackground source={require('../assets/signin1.jpg')} style={styles.images}>
<View style={styles.editUSer}>
<TouchableOpacity>
<FontAwesome5 name="user-edit" size={30} color="black" />
</TouchableOpacity>
</View>
<View style={styles.secondContainer}> <View style={styles.secondContainer}>
<View style={styles.SectionStyle}> <View style={styles.SectionStyle}>
{/* <Text style={styles.text}> {/* <Text style={styles.text}>
...@@ -116,13 +118,13 @@ export function PriceScreen({ navigation, data }) { ...@@ -116,13 +118,13 @@ export function PriceScreen({ navigation, data }) {
</View> </View>
<View style={styles.SectionStyle}> <View style={styles.SectionStyle}>
<View style={styles.textinputicon}> <View style={styles.textinputicon}>
<Entypo name="lock" size={30} color="white" /> <Entypo name="location-pin" size={30} color="white" />
<TextInput <TextInput
style={styles.input1} style={styles.input1}
// onChangeText={(UserPassword) => // onChangeText={(UserPassword) =>
// setUserPassword(UserPassword) // setUserPassword(UserPassword)
// } // }
placeholder="Enter Password" //12345 placeholder="Enter District" //12345
placeholderTextColor="#8b9cb5" placeholderTextColor="#8b9cb5"
// ref={passwordInputRef} // ref={passwordInputRef}
// onSubmitEditing={Keyboard.dismiss} // onSubmitEditing={Keyboard.dismiss}
...@@ -179,7 +181,7 @@ const styles = StyleSheet.create({ ...@@ -179,7 +181,7 @@ const styles = StyleSheet.create({
width: "80%", width: "80%",
padding: 10, padding: 10,
marginTop: 30, marginTop: 30,
marginLeft: 30, marginLeft: 45,
marginHorizontal: 10, marginHorizontal: 10,
backgroundColor: "#ff426e", backgroundColor: "#ff426e",
flexDirection: "row", flexDirection: "row",
...@@ -246,5 +248,8 @@ const styles = StyleSheet.create({ ...@@ -246,5 +248,8 @@ const styles = StyleSheet.create({
// marginBottom: 10, // marginBottom: 10,
justifyContent: "center", justifyContent: "center",
borderRadius: 8 borderRadius: 8
},
editUSer:{
alignSelf: "flex-end"
} }
}); });
\ No newline at end of file
...@@ -128,7 +128,7 @@ const styles = StyleSheet.create({ ...@@ -128,7 +128,7 @@ const styles = StyleSheet.create({
marginTop: 60, marginTop: 60,
marginLeft: 30, marginLeft: 30,
marginHorizontal: 10, marginHorizontal: 10,
backgroundColor: "#ff8000", backgroundColor: "yellow",
flexDirection: "row", flexDirection: "row",
marginBottom: 10, marginBottom: 10,
justifyContent: "center", justifyContent: "center",
......
...@@ -125,7 +125,7 @@ const styles = StyleSheet.create({ ...@@ -125,7 +125,7 @@ const styles = StyleSheet.create({
textdata:{ textdata:{
fontSize: 18, fontSize: 18,
textAlign: 'center', textAlign: 'center',
color: '#ff8000', color: 'black',
marginTop: 20, marginTop: 20,
marginBottom: 5, marginBottom: 5,
......
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