Fix feed name in feed layout overlapping feed description and reduce some margins

This commit is contained in:
Shinokuni 2019-09-09 14:31:24 +02:00
parent 14c7d641da
commit f6b68d1371

View File

@ -46,23 +46,22 @@
style="@style/Base.TextAppearance.AppCompat.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/feed_layout_icon"
android:layout_below="@id/feed_layout_name"
android:layout_alignParentStart="true"
android:layout_marginTop="6dp"
android:layout_marginTop="4dp"
android:ellipsize="end"
android:maxLines="3"
android:minLines="1"
android:visibility="visible"
tools:text="This is a feed description" />
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/feed_layout_first_part"
android:layout_marginTop="6dp">
android:layout_marginTop="4dp">
<ImageView
android:id="@+id/feed_layout_folder_icon"
@ -79,14 +78,12 @@
android:layout_alignParentEnd="true"
android:layout_marginStart="6dp"
android:layout_toEndOf="@id/feed_layout_folder_icon"
android:layout_toRightOf="@id/feed_layout_folder_icon"
android:ellipsize="end"
android:maxLines="1"
tools:text="Folder 1" />
</RelativeLayout>
</RelativeLayout>
</androidx.cardview.widget.CardView>