Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31a59e56 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Give SliceView a height to support four rows and show more button."

parents f5e280e4 8d9b2656
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
    <androidx.slice.widget.SliceView
        android:id="@+id/slice_view"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_height="@dimen/homepage_slice_card_max_height"
        android:paddingStart="@dimen/homepage_card_padding_start"
        android:paddingEnd="@dimen/homepage_card_padding_end"
        android:paddingTop="@dimen/homepage_card_padding_top"
+4 −0
Original line number Diff line number Diff line
@@ -350,6 +350,10 @@
    <dimen name="homepage_card_padding_top">6dp</dimen>
    <dimen name="homepage_card_padding_bottom">6dp</dimen>

    <!-- Slice cards maximum height (4 rows + show more)
        MODE_LARGE height(3 rows + show more) 240dp + one line text(1 row) 48dp = 288dp -->
    <dimen name="homepage_slice_card_max_height">288dp</dimen>

    <!-- Signal icon in NetworkSelectSetting -->
    <dimen name="signal_strength_icon_size">24dp</dimen>