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

Commit 7d1fc0d3 authored by Emily Chuang's avatar Emily Chuang
Browse files

Update the layout of contextual cards.

Fixes: 118849830
Test: visual
Change-Id: Ia3f7f155271a22f4f6214fad861475442c23c2f6
parent c9b56254
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -19,5 +19,7 @@
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/divider"
    android:layout_width="match_parent"
    android:layout_height=".75dp"
    android:layout_height="@dimen/horizontal_divider_height"
    android:layout_marginTop="@dimen/horizontal_divider_margin_top"
    android:layout_marginBottom="@dimen/horizontal_divider_margin_bottom"
    android:background="?android:attr/dividerHorizontal"/>
 No newline at end of file
+0 −27
Original line number Diff line number Diff line
@@ -27,32 +27,5 @@
        android:layout_height="match_parent"
        android:layoutAnimation="@anim/layout_animation_fall_down"/>

    <RelativeLayout
        android:id="@+id/suggestion_footer"
        android:layout_width="match_parent"
        android:layout_height="@dimen/condition_header_height"
        android:layout_centerHorizontal="true">

        <ImageView
            android:id="@+id/expand_indicator"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:layout_alignParentEnd="true"
            android:paddingTop="4dp"
            android:paddingStart="16dp"
            android:paddingEnd="16dp"/>

        <TextView
            android:id="@+id/expand_summary"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="8dp"
            android:layout_toStartOf="@id/expand_indicator"
            android:layout_centerVertical="true"
            android:gravity="end"
            android:textAppearance="@style/TextAppearance.SuggestionTitle"
            android:textColor="?android:attr/colorAccent"/>

    </RelativeLayout>
    <include layout="@layout/horizontal_divider"/>
</LinearLayout>
+7 −2
Original line number Diff line number Diff line
@@ -327,11 +327,16 @@
    <!-- Homepage cards size and padding -->
    <dimen name="homepage_card_corner_radius">8dp</dimen>
    <dimen name="homepage_card_elevation">2dp</dimen>
    <dimen name="homepage_card_vertical_margin">6dp</dimen>
    <dimen name="homepage_card_side_margin">16dp</dimen>
    <dimen name="homepage_card_vertical_margin">4dp</dimen>
    <dimen name="homepage_card_side_margin">8dp</dimen>
    <dimen name="homepage_card_padding_start">16dp</dimen>
    <dimen name="homepage_card_padding_end">16dp</dimen>

    <!-- Horizontal divider size and margin -->
    <dimen name="horizontal_divider_margin_top">4dp</dimen>
    <dimen name="horizontal_divider_margin_bottom">8dp</dimen>
    <dimen name="horizontal_divider_height">.75dp</dimen>

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