summaryrefslogtreecommitdiffstats
path: root/res/layout/widget_cell.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/widget_cell.xml')
-rw-r--r--res/layout/widget_cell.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/res/layout/widget_cell.xml b/res/layout/widget_cell.xml
index 15f369f6b..c5a675351 100644
--- a/res/layout/widget_cell.xml
+++ b/res/layout/widget_cell.xml
@@ -15,7 +15,6 @@
-->
<com.android.launcher3.widget.WidgetCell
xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:launcher="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -25,7 +24,7 @@
android:gravity="center_horizontal">
<LinearLayout
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/widget_preview_label_vertical_padding"
android:paddingBottom="@dimen/widget_preview_label_vertical_padding"
@@ -36,7 +35,7 @@
<!-- The name of the widget. -->
<TextView
android:id="@+id/widget_name"
- android:layout_width="wrap_content"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ellipsize="end"