augustine
augustine

Reputation: 1022

android:popup window like facebook?


I am trying to create a popup window like facebook notification. In which when i click it should popup and come normal position when click again.My Screen shot shows below

enter image description here
Regards Augustine
Please Help me

Upvotes: 0

Views: 867

Answers (1)

Sujit
Sujit

Reputation: 10632

You can use dialog with setContetnView()

Dialog _dialog = new Dialog(this);
_dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
_dialog.setContentView(R.layout.yourxml);
_dialog.show();

with for this and by using a boolean flag you can get this feature..

Upvotes: 1

Related Questions