pull/35/head^2
kunfei 5 years ago
parent c5c5aa0213
commit dee7495f8f
  1. 54
      app/src/main/res/layout/item_rss.xml

@ -1,44 +1,24 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView 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"
android:padding="16dp" android:padding="16dp"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content">
app:cardCornerRadius="2dp"
app:cardElevation="8dp">
<LinearLayout <io.legado.app.ui.widget.image.FilletImageView
android:layout_margin="8dp" android:id="@+id/iv_icon"
android:orientation="vertical" android:layout_width="60dp"
android:layout_width="match_parent" android:layout_height="60dp"
android:layout_height="wrap_content"> app:layout_constraintTop_toTopOf="parent"
<TextView app:layout_constraintLeft_toLeftOf="parent"
android:id="@+id/title" app:layout_constraintRight_toRightOf="parent" />
android:textSize="18sp"
android:text="Title"
android:layout_gravity="center"
android:textStyle="bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<TextView <TextView
android:id="@+id/pub_date" android:id="@+id/tv_name"
android:textSize="12sp" android:layout_width="wrap_content"
android:layout_marginTop="8dp" android:layout_height="wrap_content"
android:layout_marginBottom="8dp" app:layout_constraintLeft_toLeftOf="parent"
android:text="2019-10-01 13:48:00" app:layout_constraintRight_toRightOf="parent"
android:layout_gravity="center" app:layout_constraintTop_toBottomOf="@+id/iv_icon" />
android:textStyle="italic"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<TextView </androidx.constraintlayout.widget.ConstraintLayout>
android:id="@+id/author"
android:textSize="16sp"
android:text="author"
android:layout_gravity="center"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout>
</androidx.cardview.widget.CardView>
Loading…
Cancel
Save