import React, { Component } from 'react';

import {
  StyleSheet,
  Text,
  View,
  TouchableHighlight,
} from 'react-native';

class Story extends Component{

  onProfilePressed() {
    this.props.navigator.push({
      title: 'Story',
      component: Profile
    })
  }

  render() {
    return (
      <View style={styles.container}>
        <Text>Day 7</Text>
          <Text style={styles.title}> My neighbor Amira </Text>
          <Text style={styles.content}> Today I met another girl my age named Amira, her family is like mine...</Text>


      <TouchableHighlight onPress={this.onProfilePressed.bind(this)} style={styles.button}>
        <Text style={styles.buttonText}>
        Ahmeds Profile
        </Text>
      </TouchableHighlight>

      </View>


    )
  }
};

var styles = StyleSheet.create({
  button: {
    height: 50,
    backgroundColor: '#48BBEC',
    alignSelf: 'stretch',
    marginTop: 10,
    justifyContent: 'center'
  },
  buttonText: {
    textAlign: 'center',
  },
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
  },
  title: {
   fontSize: 20,
   alignSelf: 'center',
   margin: 40
  },
  content: {
    alignSelf: 'center',
    fontSize: 21,
    marginTop: 10,
    marginBottom: 5,
  },

});

module.exports = Story;

import React, { Component } from 'react';

import {
  StyleSheet,
  Text,
  View,
  TouchableHighlight,
} from 'react-native';

class Story extends Component{

  onProfilePressed() {
    this.props.navigator.push({
      title: 'Story',
      component: Profile
    })
  }

  render() {
    return (
      <View style={styles.container}>

      <TouchableHighlight onPress={this.onProfilePressed.bind(this)} style={styles.button}>
        <Text style={styles.buttonText}>
        Ahmeds Profile
        </Text>
      </TouchableHighlight>

        <Text>Day 7</Text>
        <Text style={styles.title}> My neighbor Amira </Text>
        <Text style={styles.content}> Today I met another girl my age named Amira, her family is like mine...</Text>


      </View>


    )
  }
};

var styles = StyleSheet.create({

  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
  },
  button: {
    height: 50,
    backgroundColor: '#48BBEC',
    alignSelf: 'flex-start',
    marginTop: 10,
    justifyContent: 'center'
  },
  buttonText: {
    textAlign: 'center',
  },
  title: {
   fontSize: 20,
   alignSelf: 'center',
   margin: 40
  },
  content: {
    alignSelf: 'center',
    fontSize: 21,
    marginTop: 10,
    marginBottom: 5,
  },

});

module.exports = Story;

Move button to top-left, need to adjust margins and padding