summaryrefslogtreecommitdiffstats
path: root/Android/06-Notifications/Notifications/res/layout/custom_notification.xml
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-03-03 23:32:54 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-11-10 17:40:55 +0100
commite55eeb311c01775c123eea7bd2f6e9c82fa067b4 (patch)
tree316140568b81534255de9be5822b5435e9090f57 /Android/06-Notifications/Notifications/res/layout/custom_notification.xml
parent9f4f2c3cd098159e741995c453df6d5da9fdb89d (diff)
downloadcoursera-e55eeb311c01775c123eea7bd2f6e9c82fa067b4.zip
coursera-e55eeb311c01775c123eea7bd2f6e9c82fa067b4.tar.gz
Android : 06-Notifications: add
Diffstat (limited to 'Android/06-Notifications/Notifications/res/layout/custom_notification.xml')
-rw-r--r--Android/06-Notifications/Notifications/res/layout/custom_notification.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/Android/06-Notifications/Notifications/res/layout/custom_notification.xml b/Android/06-Notifications/Notifications/res/layout/custom_notification.xml
new file mode 100644
index 0000000..13ae38a
--- /dev/null
+++ b/Android/06-Notifications/Notifications/res/layout/custom_notification.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/toast_layout_root"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="#7777"
+ android:padding="3dp">
+
+ <ImageView android:id="@+id/image"
+ android:layout_width="44dp"
+ android:layout_height="44dp"
+ android:layout_marginRight="10dp"
+ android:contentDescription="alert"
+ android:src="@android:drawable/ic_dialog_info" />
+
+ <TextView
+ android:id="@+id/text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textColor="#FFF"
+ android:textSize="24sp" />
+
+</LinearLayout>