Home > DeveloperSection > Forums > How to create Xml layout for Notification activity
Jonas Stuart
Jonas Stuart

Total Post:11

Points:77
Posted on    June-27-2016 7:41 AM

 Android Android  Android Layout 
Ratings:


 1 Reply(s)
 287  View(s)
Rate this:

Hi Guys 

I am currently working on android application please help me to creating Xml layout for Notification activity.


Samuel Fernandes
Samuel Fernandes

Total Post:156

Points:1096
Posted on    June-27-2016 7:45 AM

Hi Jones try this below code

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

    android:layout_width="match_parent"

    android:layout_height="match_parent"

    android:orientation="horizontal" >

 

    <TextView

        android:layout_width="fill_parent"

        android:layout_height="wrap_content"

        android:text=" Your notification test is successfull !"

        android:textSize="18sp" />

 

</LinearLayout>


Modified On Jun-27-2016 07:47:32 AM

Don't want to miss updates? Please click the below button!

Follow MindStick