summaryrefslogtreecommitdiffstats
path: root/Android/06-Notifications/Notifications/res/layout/custom_notification.xml
diff options
context:
space:
mode:
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>