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

Commit f178e88a authored by chihhangchuang's avatar chihhangchuang
Browse files

Fine-tune the theme preview to match mock

Normal: https://screenshot.googleplex.com/2JCGsaBfSQQ.png
Largest display and font size: https://screenshot.googleplex.com/HLy7WwEhhbu.png
Compared with Mock: https://screenshot.googleplex.com/7Pe96bWTCJo.png

Test: Manually
Fixes: 157402935
Change-Id: Iabebe50ad7d70f5c6f783cccd239153d4896262a
parent 8b466ddc
Loading
Loading
Loading
Loading
+8 −7
Original line number Diff line number Diff line
@@ -41,15 +41,15 @@
    <TextView
        android:id="@+id/smart_space_date"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_height="0dp"
        android:textSize="@dimen/preview_theme_smart_space_date_size"
        android:lineHeight="24dp"
        android:singleLine="true"
        android:gravity="center"
        android:gravity="center|bottom"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toBottomOf="@id/topbar_container"
        app:layout_constraintBottom_toTopOf="@id/app_icon_shape_container" />
        app:layout_constraintBottom_toTopOf="@id/app_icon_shape_container"
        app:layout_constraintHeight_percent="0.1" />

    <FrameLayout
        android:id="@+id/app_icon_shape_container"
@@ -72,19 +72,20 @@
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toBottomOf="@id/app_icon_shape_container"
        app:layout_constraintBottom_toTopOf="@id/theme_qsb_container"
        app:layout_constraintHeight_percent="0.28">
        app:layout_constraintHeight_percent="0.275">
        <include layout="@layout/theme_preview_color_icons" />
    </FrameLayout>

    <FrameLayout
        android:id="@+id/theme_qsb_container"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_height="0dp"
        android:layout_marginHorizontal="@dimen/preview_theme_qsb_container_margin_horizontal"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toBottomOf="@id/color_icons_container"
        app:layout_constraintBottom_toBottomOf="parent">
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintHeight_percent="0.1">
        <include layout="@layout/theme_cover_qsb" />
    </FrameLayout>