 <p>Well it depends how, or what your trying to accomplish, one way would be: </p> <pre><code>android:layout_height </code></pre> <p>But if you mean programmatically, check this:</p> <p><a href="http://stackoverflow.com/questions/2963152/android-how-to-resize-a-custom-view-programmatically">Android: How to resize a custom view programmatically?</a></p> <p>That talks about resizing, but it should be the same concept.</p>