Open jackjustbj opened 6 years ago
TextView show error in version 1.1.0, that's not happen in version 1.0.2. xml is like:
<android.support.constraint.ConstraintLayout android:id="@+id/sortContainer" android:layout_width="0dp" android:layout_height="0dp" android:background="#66000000" android:visibility="gone" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/llSortTitle" tools:visibility="visible"> <LinearLayout android:id="@+id/llSort" android:layout_width="0dp" android:layout_height="wrap_content" android:background="@color/white" android:orientation="vertical" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> <TextView android:id="@+id/tvSortBook" android:layout_width="match_parent" android:layout_height="wrap_content" android:drawableRight="@drawable/icon_analysis_sort_select" android:gravity="center_vertical" android:paddingBottom="10dp" android:paddingLeft="15dp" android:paddingRight="15dp" android:paddingTop="30dp" android:text="@string/analysis_student_sort_book" android:textColor="@color/color_ff7400" android:textSize="13sp" /> <TextView android:id="@+id/tvSortLevel" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_vertical" android:paddingBottom="30dp" android:paddingLeft="15dp" android:paddingRight="15dp" android:paddingTop="10dp" android:text="@string/analysis_student_sort_level" android:textColor="@color/color_666666" android:textSize="13sp" /> </LinearLayout> </android.support.constraint.ConstraintLayout>
when i set text color and the visibility of right drawable to "tvSortBook" and "tvSortLevel", they not show all words in horizontal line. they should be
TextView show error in version 1.1.0, that's not happen in version 1.0.2. xml is like:
when i set text color and the visibility of right drawable to "tvSortBook" and "tvSortLevel", they not show all words in horizontal line. they should be