Question

i recently created a application so i want to give a descreption or help to the application .

Like a hint or alert so that user can refer this and if he want this show every time or on first time like this

so after installing the app should give this notice if user dont want that notice he can hide it for ever.. How to show this kind of alert.. i tried with alert but it always displays i want it just like this

enter image description here

Était-ce utile?

La solution

You are supposed to create simple custom alertdialog with the custom layout as show HERE

Autres conseils

did you check this library, i found it really usefull : https://github.com/amlcurran/ShowcaseView

The second one is quiet easier then the previous one and its nothing but an AlertDialog and you may keep track of it by persisting its state via shared-preferences or Sqlite Db.

And for the previous case without googling for an opensource project I would recommend you to create your own RelativeLayout and place some imageViews at the respective positions and for persisting the states go by the above mentioned methodology.

use one transparent layout and maintain your help text on it, using images to draw the layout. check this link it gives some idea for that help layout.

link

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top