Merge "Widgettray UI tweak that introduces bounding box around the widgets." into ub-launcher3-burnaby
This commit is contained in:
commit
685f98b2e2
|
@ -19,9 +19,11 @@
|
|||
android:layout_width="@dimen/widget_preview_container_width"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:paddingTop="@dimen/widget_preview_padding_top"
|
||||
android:layout_marginTop="@dimen/widget_preview_padding_top"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/focusable_view_bg"
|
||||
android:background="@color/bubble_dark_background"
|
||||
android:focusable="true">
|
||||
|
||||
<LinearLayout
|
||||
|
@ -61,7 +63,6 @@
|
|||
android:layout_marginLeft="5dp"
|
||||
android:layout_weight="0"
|
||||
android:gravity="start"
|
||||
|
||||
android:textColor="#FFFFFFFF"
|
||||
android:textSize="12sp"
|
||||
android:textAlignment="viewStart"
|
||||
|
|
|
@ -19,10 +19,6 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:focusable="true"
|
||||
android:background="@drawable/focusable_view_bg"
|
||||
android:descendantFocusability="afterDescendants">
|
||||
|
@ -49,7 +45,6 @@
|
|||
android:id="@+id/section"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/widget_section_height"
|
||||
android:paddingTop="8dp"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:singleLine="true"
|
||||
|
@ -80,6 +75,7 @@
|
|||
android:id="@+id/widgets_scroll_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/widget_cell_height"
|
||||
android:paddingLeft="40dp"
|
||||
android:scrollbars="none" >
|
||||
<LinearLayout
|
||||
android:id="@+id/widgets_cell_list"
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
|
||||
<!-- Widget tray -->
|
||||
<dimen name="widget_container_inset">8dp</dimen>
|
||||
<dimen name="widget_preview_size">140dp</dimen>
|
||||
<dimen name="widget_preview_size">120dp</dimen>
|
||||
<dimen name="widget_preview_padding_top">8dp</dimen>
|
||||
<dimen name="widget_preview_label_vertical_padding">8dp</dimen>
|
||||
<dimen name="widget_preview_label_horizontal_padding">8dp</dimen>
|
||||
|
@ -90,8 +90,8 @@
|
|||
<dimen name="widget_section_icon_padding">8dp</dimen>
|
||||
|
||||
<!-- Equation: widget_preview_size + 2 * widget_preview_padding_horizontal -->
|
||||
<dimen name="widget_preview_container_width">156dp</dimen>
|
||||
<dimen name="widget_cell_height">160dp</dimen>
|
||||
<dimen name="widget_preview_container_width">136dp</dimen>
|
||||
<dimen name="widget_cell_height">150dp</dimen>
|
||||
|
||||
<!-- Padding applied to shortcut previews -->
|
||||
<dimen name="shortcut_preview_padding_left">0dp</dimen>
|
||||
|
|
Loading…
Reference in New Issue