title: How to remove TextView top margin?
body: <p>I do have a problem with <code>TextView</code>. I don't want to have any margin/padding above it.</p>
  <pre><code>&lt;TextView android:layout_width=&quot;wrap_content&quot;
            android:layout_height=&quot;wrap_content&quot;
            android:id=&quot;@+id/ptp_hour&quot;
            android:textColor=&quot;@color/black&quot;
            android:textSize=&quot;100dp&quot;
            android:height=&quot;100dp&quot;
            android:layout_marginTop=&quot;0dp&quot;
            android:paddingTop=&quot;0dp&quot;
            android:includeFontPadding=&quot;false&quot;
            android:maxLines=&quot;1&quot;
            android:text=&quot;10&quot;/&gt;
  </code></pre>
  <p>My <code>TextView</code> looks like this and despite the <code>textSize</code> and <code>height</code> are set to the same value, there is a space above font. It bothers me because I want to put another view relatively to the top of the font. Is this spacing included into font itself?</p>
  <p><img src="https://i.stack.imgur.com/nQtmj.png" alt="TextView in RelativeLayout" /></p>
  <p>And another question: If I found out that margin 20dp from top and 7dp from bottom works perfectly on my device, can I rely that it will behave in a similar way on other screens?
  (these margins are for buttons)</p>