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

Commit 3d41214e authored by Amin Shaikh's avatar Amin Shaikh
Browse files

Bring preview card closer to spec.

Fixes: 130795531
Test: visual
Change-Id: I4b813a7482fe419a35499f0fdca15fc2f617879c
parent cc8771bb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -14,8 +14,8 @@
     limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:width="20dp"
    android:height="20dp"
    android:viewportWidth="24"
    android:viewportHeight="24">
  <path
+1 −2
Original line number Diff line number Diff line
@@ -27,8 +27,7 @@
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_weight="0"
        android:layout_marginTop="40dp"
        android:layout_marginBottom="36dp"
        android:layout_marginBottom="24dp"
        android:gravity="center|bottom"
        android:orientation="horizontal">
        <FrameLayout
+10 −5
Original line number Diff line number Diff line
@@ -32,7 +32,8 @@
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:padding="@dimen/preview_card_padding"
            android:paddingTop="@dimen/preview_card_padding"
            android:paddingHorizontal="@dimen/preview_card_padding"
            android:orientation="vertical">

            <ViewStub
@@ -47,14 +48,18 @@
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_horizontal"
                android:layout_marginBottom="48dp"
                android:drawablePadding="10dp"
                android:textAppearance="@style/CardTitleTextAppearance"/>

            <Space
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:layout_weight="1" />

            <FrameLayout
                android:id="@+id/theme_preview_card_body_container"
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:layout_height="wrap_content"
                android:layout_marginHorizontal="8dp"
                android:layout_weight="1"/>

@@ -63,7 +68,7 @@
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center_horizontal"
                android:drawableStart="@drawable/ic_tune_24px"
                android:drawableStart="@drawable/ic_tune"
                android:drawablePadding="8dp"
                android:gravity="center"
                android:text="@string/edit_custom_theme_lbl"
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@
    <dimen name="theme_option_label_margin">4dp</dimen>

    <dimen name="preview_card_corner_radius">8dp</dimen>
    <dimen name="preview_card_padding">24dp</dimen>
    <dimen name="preview_card_padding">16dp</dimen>

    <dimen name="card_title_text_size">16sp</dimen>
    <dimen name="card_cover_title_text_size">24sp</dimen>