Skip to content

Instantly share code, notes, and snippets.

@ammaratef45
Last active April 14, 2017 16:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ammaratef45/0371ce808b329ce7a38f676d86d90720 to your computer and use it in GitHub Desktop.
Save ammaratef45/0371ce808b329ce7a38f676d86d90720 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_notifications"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.tutorial.notification.ammar.MainActivity"
android:orientation="vertical">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Toast"
android:id="@+id/toastButton"/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="Notification"
android:id="@+id/notiButton"/>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment