Android : how to Put Image icon on Popup in android

on Monday, August 18, 2014



<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/popup"
android:layout_width="wrap_content"
android:layout_height="250dip"
android:background="@drawable/abs__ab_bottom_solid_light_holo"
android:orientation="vertical" >

<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Notifcation"
android:textAppearance="?android:attr/textAppearanceLarge" />

<ListView
android:id="@+id/listView1"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
</ListView>

</LinearLayout>


According this I am able to display this screen while i have put on direction icon towards notification Button:


My Current screen :


enter image description here


My Desired Screen :


enter image description here


0 comments:

Post a Comment