Finalized design for vertical card view and removed unneeded variables in SubscriptionFragment.kt

This commit is contained in:
Samuel Wu 2022-10-25 11:43:25 +11:00
parent ed68e3bd46
commit 28464344c1
5 changed files with 20 additions and 21 deletions

View file

@ -17,10 +17,10 @@
<ImageView
android:id="@+id/icon"
android:layout_width="51dp"
android:layout_height="64dp"
android:layout_width="64dp"
android:layout_height="48dp"
android:layout_gravity="center"
android:paddingTop="8dp"
android:paddingTop="2dp"
android:paddingBottom="2dp"
android:scaleType="centerInside"
tools:ignore="ContentDescription"
@ -31,12 +31,13 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:ellipsize="end"
android:gravity="start"
android:background="?attr/card_item_contrast_color"
android:gravity="center_vertical"
android:maxLines="1"
android:padding="2dp"
android:padding="10dp"
android:textAllCaps="false"
android:textColor="?attr/colorAccent"
android:textSize="20sp"
android:textSize="16sp"
android:textStyle="bold"
tools:text="ALL" />
</LinearLayout>

View file

@ -125,7 +125,7 @@
<!-- Feed Groups dimensions-->
<dimen name="feed_group_carousel_start_end_margin">12dp</dimen>
<dimen name="feed_group_carousel_top_bottom_margin">2dp</dimen>
<dimen name="feed_group_carousel_top_bottom_margin">4dp</dimen>
<dimen name="feed_group_carousel_between_items_margin">4dp</dimen>
<dimen name="search_suggestion_text_size">16sp</dimen>