Horis hai 1 ano
pai
achega
2ada00b967
Modificáronse 1 ficheiros con 13 adicións e 10 borrados
  1. 13 10
      app/src/main/res/layout/item_rss.xml

+ 13 - 10
app/src/main/res/layout/item_rss.xml

@@ -2,37 +2,40 @@
 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:app="http://schemas.android.com/apk/res-auto"
     xmlns:app="http://schemas.android.com/apk/res-auto"
     xmlns:tools="http://schemas.android.com/tools"
     xmlns:tools="http://schemas.android.com/tools"
-    android:padding="16dp"
     android:layout_width="match_parent"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:layout_height="wrap_content"
-    android:focusable="true"
     android:background="@drawable/bg_item_focused_on_tv"
     android:background="@drawable/bg_item_focused_on_tv"
-    android:foreground="?android:attr/selectableItemBackground">
+    android:focusable="true"
+    android:foreground="?android:attr/selectableItemBackground"
+    android:padding="16dp"
+    android:scrollbars="none">
 
 
     <io.legado.app.ui.widget.image.FilletImageView
     <io.legado.app.ui.widget.image.FilletImageView
         android:id="@+id/iv_icon"
         android:id="@+id/iv_icon"
         android:layout_width="50dp"
         android:layout_width="50dp"
         android:layout_height="50dp"
         android:layout_height="50dp"
         android:scaleType="centerCrop"
         android:scaleType="centerCrop"
-        app:radius="12dp"
-        app:layout_constraintTop_toTopOf="parent"
+        android:scrollbars="none"
         app:layout_constraintLeft_toLeftOf="parent"
         app:layout_constraintLeft_toLeftOf="parent"
-        app:layout_constraintRight_toRightOf="parent" />
+        app:layout_constraintRight_toRightOf="parent"
+        app:layout_constraintTop_toTopOf="parent"
+        app:radius="12dp" />
 
 
     <TextView
     <TextView
         android:id="@+id/tv_name"
         android:id="@+id/tv_name"
         android:layout_width="wrap_content"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:layout_height="wrap_content"
         android:layout_marginTop="16dp"
         android:layout_marginTop="16dp"
-        android:textSize="13sp"
+        android:ellipsize="end"
         android:gravity="top|center_horizontal"
         android:gravity="top|center_horizontal"
         android:lines="2"
         android:lines="2"
-        android:ellipsize="end"
+        android:scrollbars="none"
         android:textColor="@color/secondaryText"
         android:textColor="@color/secondaryText"
-        tools:text="RSS"
+        android:textSize="13sp"
         app:layout_constraintLeft_toLeftOf="parent"
         app:layout_constraintLeft_toLeftOf="parent"
         app:layout_constraintRight_toRightOf="parent"
         app:layout_constraintRight_toRightOf="parent"
-        app:layout_constraintTop_toBottomOf="@+id/iv_icon" />
+        app:layout_constraintTop_toBottomOf="@+id/iv_icon"
+        tools:text="RSS" />
 
 
 
 
 </androidx.constraintlayout.widget.ConstraintLayout>
 </androidx.constraintlayout.widget.ConstraintLayout>