title: How to set the height of button in React Native Android
body: <p>I am learning React Native programming for Android mobile apps. I am making a screen where I need to set height of <code>button.</code> I have added <code>button</code> in <code>view</code> and set the height of using style however there is no change on button height.</p>
  <pre><code>/**
   * LoginComponent of Myntra
   * https://github.com/facebook/react-native
   * @flow
   */
  
  import React, { Component } from &quot;react&quot;;
  import { AppRegistry, Text, View, Button, TextInput } from &quot;react-native&quot;;
  
  class LoginComponent extends Component {
  render() {
      return (
          &lt;View style={{ flex: 1, flexDirection: &quot;column&quot;, margin: 10 }}&gt;
              &lt;TextInput
                  style={{
                      height: 40,
                      borderColor: &quot;gray&quot;,
                      borderWidth: 0.5
                  }}
                  placeholder=&quot;Email address&quot;
                  underlineColorAndroid=&quot;transparent&quot;
              /&gt;
  
              &lt;TextInput
                  style={{
                      height: 40,
                      borderColor: &quot;gray&quot;,
                      borderWidth: 0.5
                  }}
                  placeholder=&quot;Password&quot;
                  secureTextEntry={true}
                  underlineColorAndroid=&quot;transparent&quot;
              /&gt;
  
              &lt;View style={{ height: 100, marginTop: 10 }}&gt;
                  &lt;Button title=&quot;LOG IN&quot; color=&quot;#2E8B57&quot; /&gt;
              &lt;/View&gt;
          &lt;/View&gt;
      );
    }
  }
  
  AppRegistry.registerComponent(&quot;Myntra&quot;, () =&gt; LoginComponent);
  </code></pre>
  <p>Can anyone help me to set the height of button according to my requirement?</p>