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

Commit 4885e542 authored by Michael W's avatar Michael W
Browse files

ThemePicker: Make naming page look the same as the other ones

* All pages use colorPrimary as a background for the preview
* Also the page is missing the divider line, so add it

Change-Id: I22fb7e03af62b5e374b8aa6b81803f3229482e29
parent 5198c08f
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
            android:paddingTop="@dimen/preview_content_padding_top"
            android:paddingBottom="@dimen/preview_content_padding_bottom"
            android:clipToPadding="false"
            android:background="@color/fullscreen_preview_background"
            android:background="?android:colorPrimary"
            app:layout_constrainedHeight="true"
            app:layout_constraintBottom_toTopOf="@+id/component_scroll_view"
            app:layout_constraintEnd_toEndOf="parent"
@@ -47,13 +47,23 @@
            <include layout="@layout/theme_preview_card"/>
        </FrameLayout>

        <View
            android:id="@+id/divider"
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:background="@color/divider_color"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@+id/component_preview_container"
            app:layout_constraintBottom_toTopOf="@+id/component_scroll_view"/>

        <ScrollView
                android:id="@+id/component_scroll_view"
                android:layout_width="match_parent"
                android:layout_height="0dp"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toBottomOf="@+id/component_preview_container"
                app:layout_constraintTop_toBottomOf="@+id/divider"
                app:layout_constraintBottom_toBottomOf="parent">

            <LinearLayout