Browse Source

Fix chapter description and download badge overlap

arkon 5 years ago
parent
commit
b84638ac5a

+ 3 - 2
app/src/main/res/layout/chapters_item.xml

@@ -23,12 +23,13 @@
     <TextView
         android:id="@+id/chapter_description"
         style="@style/TextAppearance.Regular.Caption"
-        android:layout_width="wrap_content"
+        android:layout_width="0dp"
         android:layout_height="wrap_content"
         android:layout_marginBottom="8dp"
         android:layout_marginStart="16dp"
-        android:ellipsize="marquee"
+        android:ellipsize="end"
         android:singleLine="true"
+        app:layout_constraintEnd_toStartOf="@+id/download_text"
         app:layout_constraintBottom_toBottomOf="parent"
         app:layout_constraintStart_toStartOf="parent"
         tools:text="22/02/2016 • Scanlator • Page: 45" />

+ 1 - 1
app/src/main/res/layout/common_spinner_item.xml

@@ -4,5 +4,5 @@
     style="@style/Theme.Widget.SpinnerItem"
     android:layout_width="match_parent"
     android:layout_height="?attr/dropdownListPreferredItemHeight"
-    android:ellipsize="marquee"
+    android:ellipsize="end"
     android:singleLine="true" />