Commit c1aeb0f0 authored by Pramodh Rajapakse's avatar Pramodh Rajapakse

design added to auction screen

parent 8d43741d
...@@ -3,86 +3,36 @@ ...@@ -3,86 +3,36 @@
// Import React and Component // Import React and Component
import React from 'react'; import React from 'react';
import {StyleSheet} from 'react-native'; import {View, StyleSheet, Image} from 'react-native';
import { AppButton } from "../components/button.component"; import { AppButton } from "../components/button.component";
import { AppTextInput } from '../components/text_input.component'; import { AppTextInput } from '../components/text_input.component';
import { AppContainer } from '../container/container'; import { AppContainer } from '../container/container';
import themeColors from '../assets/colors';
const HomeAuctionScreen = ({navigation}) => { const HomeAuctionScreen = ({navigation}) => {
return ( return (
<AppContainer> <View style={styles.container}>
<AppTextInput/> <View style={styles.header}>
<AppButton </View>
label='Test' <View style={styles.contentContainer}>
/>
</AppContainer> </View>
</View>
); );
}; };
export default HomeAuctionScreen; export default HomeAuctionScreen;
const styles = StyleSheet.create({ const styles = StyleSheet.create({
container: { container: {
flex: 1, flex: 1,
color: '#333', backgroundColor: '#ffffff'
padding: 10,
marginTop: 20,
marginBottom: 10,
width: "100%",
},
activityIndicator: {
alignItems: 'center',
height: 80,
}, },
Button:{ header: {
alignItems: "center", height: '35%',
backgroundColor: "#DDDDDD", backgroundColor : themeColors.PRIMARY_COLOR,
padding: 10 borderBottomEndRadius: 25,
}, borderBottomStartRadius: 25
input: {
borderWidth: 1,
borderColor: '#ddd',
padding: 10,
paddingTop: 10,
fontSize: 18,
borderRadius: 6,
marginTop: 20,
marginBottom: 10,
marginLeft: 10,
marginRight: 10
}, },
heading: { contentContainer: {
textAlign: 'center', flex: 1,
color: '#333',
fontWeight: 'bold',
padding: 10,
fontSize: 18,
},
buttonSub: {
width: "90%",
padding: 10,
marginTop: 20,
marginLeft: 20,
marginHorizontal: 10,
backgroundColor: "#ff8000",
flexDirection: "row",
marginBottom: 10,
justifyContent: "center",
borderRadius:10
},
textdata:{
fontSize: 18,
textAlign: 'center',
color: 'black',
marginTop: 20,
marginBottom: 5,
},
iconView:{
alignSelf: 'center',
},
images:{
height: '100%',
justifyContent: 'center'
} }
}); })
\ No newline at end of file \ No newline at end of file
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