Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Remove <code>android:layout_marginBottom="30dp"</code> from your hint text view : </p> <pre><code> &lt;LinearLayout android:id="@+id/linearOne" android:layout_width="match_parent" android:layout_height="50dp" android:background="#49494f" android:layout_below="@+id/numberOfCorrectAnswers" android:paddingTop="20dp" &gt; &lt;TextView android:id="@+id/hint" android:layout_width="wrap_content" android:layout_height="match_parent" android:text="Medium Text" android:textColor="#ffffff" /&gt; &lt;/LinearLayout &gt; </code></pre> <p>Actually you dont need that Linear Layout, just do like this : </p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context=".Game" &gt; &lt;TextView android:id="@+id/numberOfQuestionsLeft" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:layout_marginLeft="20dp" android:text="TextView" /&gt; &lt;TextView android:id="@+id/numberOfCorrectAnswers" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBaseline="@+id/numberOfQuestionsLeft" android:layout_alignBottom="@+id/numberOfQuestionsLeft" android:layout_marginLeft="34dp" android:layout_toRightOf="@+id/numberOfQuestionsLeft" android:text="TextView" /&gt; &lt;TextView android:id="@+id/hint" android:background="#49494f" android:paddingTop="20dp" android:layout_below="@+id/numberOfCorrectAnswers" android:layout_width="match_parent" android:layout_height="50dp" android:layout_marginBottom="30dp" android:text="Medium Text" android:textColor="#ffffff" /&gt; &lt;/RelativeLayout &gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload