Thursday, 18 August 2011

How to Set Activity as Dialog in android

Simply use this Below Code to Set Activity as Dialog.
Using android:theme="@android:style/Theme.Dialog"
                                          (OR)  
 android:theme="@android:style/Theme.Holo.Dialog"

attribute in activity tag we can define our activity appear as a dialog.

<activity
            android:name="com.androidsurya.DialogActivity"
            android:theme="@android:style/Theme.Dialog" >

No comments:

Post a Comment

Android SQLite Database Viewer or Debuging with Stetho

Every Android Developer uses SQLite Database to store data into the Android Application data. But to view the data in SQLite have a lot of...