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

Commit d83438bb authored by Katherine Kuan's avatar Katherine Kuan
Browse files

Make picture thumbnails in update stream bigger

- Reduce padding between pictures from 16dip to 1dip
- Make sure there is 1dip padding vertically (in case there are
multiple pictures)

Bug: 5253254
Change-Id: I0544d8f4327c4bc8e816a8733207d37a3f96dee4
parent 528560be
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -19,12 +19,13 @@
    xmlns:ex="http://schemas.android.com/apk/res/com.android.contacts"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="@dimen/detail_update_section_between_items_padding"
    android:orientation="vertical">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="8dip"
        android:layout_marginBottom="@dimen/detail_update_section_between_items_padding"
        android:orientation="horizontal"
        android:weightSum="2">

@@ -33,7 +34,7 @@
            android:layout_width="0dip"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:layout_marginRight="@dimen/detail_update_section_between_items_horizontal_padding"
            android:layout_marginRight="@dimen/detail_update_section_between_items_padding"
            ex:ratio="1"
            ex:direction="widthToHeight">

+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="@dimen/detail_update_section_between_items_padding"
    android:orientation="vertical">

    <TextView android:id="@+id/stream_item_html"
+3 −2
Original line number Diff line number Diff line
@@ -18,13 +18,14 @@
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:ex="http://schemas.android.com/apk/res/com.android.contacts"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
    android:layout_height="wrap_content"
    android:layout_marginTop="@dimen/detail_update_section_between_items_padding">

    <view
        class="com.android.contacts.widget.ProportionalLayout"
        android:layout_width="0dip"
        android:layout_height="wrap_content"
        android:layout_marginRight="@dimen/detail_update_section_between_items_horizontal_padding"
        android:layout_marginRight="@dimen/detail_update_section_between_items_padding"
        android:layout_weight="1"
        ex:ratio="1"
        ex:direction="widthToHeight">
+2 −2
Original line number Diff line number Diff line
@@ -116,8 +116,8 @@
    <!-- Horizontal padding for individual stream items -->
    <dimen name="detail_update_section_item_horizontal_padding">8dip</dimen>

    <!-- Horizontal padding between columns images and/or text in a single stream item -->
    <dimen name="detail_update_section_between_items_horizontal_padding">16dip</dimen>
    <!-- Padding between columns images and/or text in a single stream item -->
    <dimen name="detail_update_section_between_items_padding">1dip</dimen>

    <!-- Horizontal padding between content sections within a stream item -->
    <dimen name="detail_update_section_internal_padding">16dip</dimen>