3

I want to create such dialog for my app:

enter image description here

Is that a DialogFragment?

  • Look at the answer to this question: [Loading screen in Android](http://stackoverflow.com/questions/2985171/loading-screen-in-android) – Blender Dec 02 '11 at 17:55

1 Answers1

1

It looks like a ProgressBar, combined with the 'Loading' text in a simple LinearLayout (horizontal orientation).

You can probably do it with the fragment API, but depending on your needs including it in a RelativeLayout (via layout_centerInParent) and hidden with setVisible(View.GONE) or shown with setVisible(View.VISIBLE) as requested could work just as well.

beetstra
  • 7,942
  • 5
  • 40
  • 44
  • Yes, I thought about Fragments API, but wondered if it was standart dialog fragment. –  Dec 02 '11 at 20:57