summaryrefslogtreecommitdiffstats
path: root/res/layout/notification_main.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/notification_main.xml')
-rw-r--r--res/layout/notification_main.xml17
1 files changed, 9 insertions, 8 deletions
diff --git a/res/layout/notification_main.xml b/res/layout/notification_main.xml
index 84827f114..d036fe5d2 100644
--- a/res/layout/notification_main.xml
+++ b/res/layout/notification_main.xml
@@ -21,20 +21,14 @@
android:layout_height="match_parent"
android:orientation="horizontal"
android:focusable="true"
+ android:padding="@dimen/notification_padding"
android:elevation="@dimen/notification_elevation" >
- <View
- android:id="@+id/popup_item_icon"
- android:layout_width="@dimen/notification_icon_size"
- android:layout_height="@dimen/notification_icon_size"
- android:layout_marginStart="@dimen/notification_icon_margin_start"
- android:layout_gravity="center_vertical" />
-
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
- android:layout_marginStart="@dimen/notification_text_margin_start"
+ android:layout_weight="1"
android:gravity="center_vertical">
<TextView
android:id="@+id/title"
@@ -56,5 +50,12 @@
android:layout_height="wrap_content" />
</LinearLayout>
+ <View
+ android:id="@+id/popup_item_icon"
+ android:layout_width="@dimen/notification_icon_size"
+ android:layout_height="@dimen/notification_icon_size"
+ android:layout_weight="0"
+ android:layout_gravity="center_vertical" />
+
</com.android.launcher3.notification.NotificationMainView>