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

Commit 24c16de3 authored by Steven Ng's avatar Steven Ng
Browse files

Use 32dp as the content margin for widgets pickers in large screen

devices

Test: manual
Bug: 194369046
Change-Id: I7376eab59d57bdd9ccc8a64e9f321358e09ee579
parent 646f8046
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@
            android:id="@+id/add_item_bottom_sheet_content"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:padding="24dp"
            android:paddingVertical="24dp"
            android:background="@drawable/add_item_dialog_background"
            android:orientation="vertical" >

@@ -46,6 +46,7 @@
                android:id="@+id/widget_appName"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginHorizontal="@dimen/widget_list_horizontal_margin"
                android:gravity="center_horizontal"
                android:textColor="?android:attr/textColorPrimary"
                android:textSize="24sp"
@@ -55,8 +56,10 @@
                android:maxLines="1" />

            <TextView
                android:id="@+id/widget_drag_instruction"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginHorizontal="@dimen/widget_list_horizontal_margin"
                android:gravity="center_horizontal"
                android:paddingTop="8dp"
                android:text="@string/add_item_request_drag_hint"
@@ -75,12 +78,15 @@
                    android:id="@+id/widget_cell"
                    layout="@layout/widget_cell"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content" />
                    android:layout_height="wrap_content"
                    android:layout_marginHorizontal="@dimen/widget_list_horizontal_margin" />
            </ScrollView>

            <LinearLayout
                android:id="@+id/actions_container"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginHorizontal="@dimen/widget_list_horizontal_margin"
                android:gravity="center_vertical|end"
                android:paddingVertical="8dp"
                android:orientation="horizontal">
+1 −0
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@
            <include layout="@layout/widgets_table_container"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginHorizontal="@dimen/widget_list_horizontal_margin"
                android:layout_gravity="center_horizontal" />
        </ScrollView>
    </LinearLayout>
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@
            android:id="@+id/search_widgets_list_view"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginHorizontal="@dimen/widget_list_horizontal_margin"
            android:visibility="gone"
            android:clipToPadding="false" />

+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
        android:id="@+id/widgets_view_pager"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginHorizontal="@dimen/widget_list_horizontal_margin"
        android:clipToPadding="false"
        android:paddingTop="@dimen/widget_picker_view_pager_top_padding"
        android:descendantFocusability="afterDescendants"
+1 −0
Original line number Diff line number Diff line
@@ -18,4 +18,5 @@
    android:id="@+id/primary_widgets_list_view"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_marginHorizontal="@dimen/widget_list_horizontal_margin"
    android:clipToPadding="false" />
 No newline at end of file
Loading