Commit 4a586794 authored by didam's avatar didam

didam

parent e45a2846
......@@ -6,8 +6,8 @@
<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:icon="@mipmap/ic_ad1app"
android:roundIcon="@mipmap/ic_ad1app_round"
android:allowBackup="false"
android:theme="@style/AppTheme">
<activity
......
......@@ -41,7 +41,7 @@ const styles = StyleSheet.create({
backgroundColor: 'transparent',
},
titleStyle: {
color: 'white',
color: '#fff',
// fontWeight: 'bold',
fontSize: 18,
},
......@@ -91,9 +91,9 @@ export default class HomepageScreen extends Component {
{this.state.data.map((item,index) => {
return (
<ImageBackground source={item.image} style={{marginBottom: index == this.state.data.length - 1 ? 20 : 0, backgroundColor: '#bababa', height: 250, width: 250, marginTop: 25, borderRadius: 10, elevation: 5}} imageStyle={{borderRadius: 10, opacity: .5}}>
<TouchableOpacity style={{flex: 1, backgroundColor:'transparent', justifyContent: 'center',}}>
<View style={{backgroundColor:'rgba(255, 221, 0, .5)', padding: 5, alignItems:'center'}}>
<Text style={{color: Colors.blackBasic}}>{item.label}</Text>
<TouchableOpacity style={{flex: 1, backgroundColor:'transparent', justifyContent: 'flex-end',}} onPress={() => this.props.navigation.navigate('MenuPenerimaan')}>
<View style={{backgroundColor:'rgba(255, 221, 0, .8)', padding: 5, alignItems:'center', borderBottomLeftRadius: 10, borderBottomRightRadius: 10}}>
<Text style={{color: '#fff'}}>{item.label}</Text>
</View>
</TouchableOpacity>
{/* */}
......
......@@ -7,6 +7,13 @@ import { Array } from '../library/Array';
import AwesomeButton from "react-native-really-awesome-button";
export default class sampleMenuPenerimaan2 extends Component {
constructor(props) {
super(props)
this.state = {
date: new Date(),
checked: 'first',
}
}
render() {
return (
<Container style={{ flex: 1, paddingHorizontal: 10, paddingBottom: 20 }}>
......
......@@ -29,7 +29,7 @@ const MainNavigator = createStackNavigator({
// LatihanDragDrop: { screen: LatihanDragDrop, navigationOptions: { title: 'Latihan'}}
}, {
headerMode: 'screen',
initialRouteName: 'MenuPenerimaan',
initialRouteName: 'HomepageScreen',
transitionConfig: () => fromLeft(500),
defaultNavigationOptions: {
headerStyle,
......@@ -38,10 +38,9 @@ const MainNavigator = createStackNavigator({
headerTintColor: 'white',
headerBackImage: (
// <Image source={Images.buttonBack} style={{width: 30, height: 20}}/>
// <TouchableOpacity style={{paddingLeft: 10}} activeOpacity={.9}>
// // <Ionicons name='ios-arrow-back' size={30} color={'white'} style={{}}/>
// </TouchableOpacity>
<TouchableOpacity style={{paddingLeft: 10}} activeOpacity={.9}>
<Ionicons name='ios-arrow-back' size={30} color={'white'}/>
</TouchableOpacity>
)
}
});
......
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