login screen done

This commit is contained in:
2025-06-25 16:36:17 +05:30
parent f0a87b818b
commit 2d901a407a
5 changed files with 13 additions and 17 deletions
+2 -5
View File
@@ -17,11 +17,8 @@ const Login = ({ navigation }) => {
const [username, setUsername] = useState('');
return (
<Background
barcolor="light-content"
gradientColors={['#1a1a1a', '#333333', '#4d4d4d']} // optional custom colors
>
<KeyboardAwareScrollView style={styles.container}>
<Background barcolor="light-content">
<KeyboardAwareScrollView style={styles.container} contentContainerStyle={{justifyContent:'center', flex:1}}>
<View style={styles.logoContainer}>
<Image style={styles.appLogo} source={IMAGES.AppLogo} />
</View>
+3 -3
View File
@@ -4,13 +4,13 @@ import { GlobalTheme , Screen } from '../../../theme';
export const styles = StyleSheet.create({
container: {
// flex: 1,
backgroundColor: GlobalTheme.colors.white,
flex: 1,
// backgroundColor: GlobalTheme.colors.white,
paddingHorizontal: 10,
// justifyContent:'center'
},
logoContainer: {
alignItems: 'center',
paddingTop: 40,
},
appLogo: {
height :200 ,