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

Commit 229eed48 authored by Katherine Kuan's avatar Katherine Kuan
Browse files

Fix 7" tablet layout

- Add sw680dp folders to distinguish 10" devices. Move some
files in sw580dp folders over to sw680dp folders.
Otherwise 7" landscape/7" portrait/10" portrait are approximately
similar by splitting the screen 50/50 between the contact list
and contact details. 10" landscape is unique in that it
has a 2-column detail page when the contact has social updates.

Attempt to get rid of the sw580dp-w720dp folder by moving
those values into the other folders. This was aimed to exclude
7" portrait from 10" views and 7" landscape. We don't need the
dimen/integer/style files but we still need it for the action bar
menu options.

- Make quick contact photo square on large tablets so the photo
doesn't get cut off

- Move default phone/email checkmark to the left hand side of
the type text

Bug: 5137317
Bug: 5236183
Bug: 5429933
Change-Id: Ibcbbd6b2bac0bfabf8c3a169b78c206fb515aff1
parent 434d05a9
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -18,9 +18,9 @@
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingTop="50dip"
    android:paddingLeft="64dip"
    android:paddingRight="64dip"
    android:paddingTop="32dip"
    android:paddingLeft="@dimen/group_editor_side_padding"
    android:paddingRight="@dimen/group_editor_side_padding"
    android:orientation="horizontal"
    android:background="@color/background_primary">

+2 −2
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
        android:orientation="vertical">
        <FrameLayout
            android:layout_width="400dip"
            android:layout_height="200dip">
            android:layout_height="@dimen/quick_contact_photo_container_height">
            <include layout="@layout/quickcontact_photo_container" />
        </FrameLayout>
        <include layout="@layout/quickcontact_track" />
@@ -41,6 +41,6 @@
        <android.support.v4.view.ViewPager
            android:id="@+id/item_list_pager"
            android:layout_width="match_parent"
            android:layout_height="180dip" />
            android:layout_height="160dip" />
    </LinearLayout>
</view>
Loading