[Solved] TextView Text Cutting


I have made some changes to your XML.

Use this.

<?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="match_parent"
    android:orientation="vertical">

    <android.support.v7.widget.CardView
        android:id="@+id/quoteCard"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginBottom="@dimen/activity_horizontal_margin"
        android:layout_marginLeft="@dimen/activity_horizontal_margin"
        android:layout_marginRight="@dimen/activity_horizontal_margin"
        android:layout_marginTop="4dp"
        android:background="@color/colorAccent"
        android:elevation="3dp"
        app:cardCornerRadius="6dp">

        <ImageView
            android:id="@+id/cardBackground"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="@color/colorAccent"
            android:scaleType="fitXY" />

        <LinearLayout

            android:id="@+id/quoteCardActionView"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="?attr/selectableItemBackground"
            android:gravity="center"
            android:orientation="vertical">

            <TextView
                android:id="@+id/textDetailQuote"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center"
                android:lineSpacingExtra="8dp"
                android:text="સફળતાની કિંમત હાર્ડ કામ છે, નોકરી પરના સમર્પણને, અને નક્કી કરીએ છીએ કે આપણે જીતી કે ગુમાવું, અમે હાથમાં કાર્ય માટે શ્રેષ્ઠ જાતને લાગુ કર્યો છે."
                android:textColor="@android:color/black"
                android:textSize="22sp"
                android:textStyle="bold"
                android:typeface="serif" />


        </LinearLayout>

    </android.support.v7.widget.CardView>


</LinearLayout>

Check screen shot of my device with above XML used.

enter image description here

8

solved TextView Text Cutting