Error textView on a xml

0

The textView next with long text I do not know why but I removed the spacing between lines but only from the second line, the first line does not have that error but it does with the second and third.

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="150dp"
    android:background="#FFFFFF"
    android:orientation="horizontal">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="150dp"
        android:orientation="vertical">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="8dp"
            android:layout_marginTop="24dp"
            android:text="Text"
            android:textAppearance="@style/TextAppearance.FontPathBold"
            android:textSize="24sp"/>

        <TextView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginLeft="8dp"
            android:layout_marginRight="24dp"
            android:text="Praesent pretium nulla sit amet mollis consectetur. Aenean sed felis in ante dictum facilisis. Etiam suscipit lorem sed nisl interdum, ac vulputate tortor tempor."
            android:textSize="18sp"/>
    </LinearLayout>
</LinearLayout>

The first image is the visualization of the layout where it looks good, while the second image is how it is displayed on the mobile.

    
asked by user35655 05.04.2017 в 12:58
source

0 answers