I try to add custom quotation marks in my TextView. I create LinearLayout with horizontal and add start/end custom textview. Here is my source
<LinearLayout
android:id="@+id/description_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginLeft="@dimen/dimen_p_30"
android:layout_marginTop="@dimen/dimen_p_25"
android:layout_marginRight="@dimen/dimen_p_30"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:fontFamily="@font/helvetica_regular"
android:gravity="top"
android:text="“"
android:textColor="#E8E9EF"
android:textSize="@dimen/dimen_p_46" />
<TextView
android:id="@+id/descriptionTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:fontFamily="@font/myriad_geo_medium"
android:gravity="top"
android:maxLines="150"
android:text="test message"
android:textColor="@color/gray"
android:textSize="@dimen/dimen_p_14" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:fontFamily="@font/helvetica_regular"
android:gravity="bottom"
android:text="”"
android:textColor="#E8E9EF"
android:textSize="@dimen/dimen_p_46" />
</LinearLayout>
Everything is working perfect but when my descriptionTextView
has large text and it need two lines, 3th textview does not showing.Is a any way to solve this problem or does my way is a correct?
Thanks