I want to put a ProgressBar ontop from a ListView programmatically, but not an XML editor.
arProgressBar = new ProgressBar(this);
How can i achieve this?
Try placing an empty view above the listView, then create a progress bar and try adding it as a child of the empty view.
Why can't you just hide it and show it when you need to?
: progressBar.setVisibility(View.VISIBLE) progressBar.setVisibility(View.GONE), /, . : visibility = "" XML, ( - ), .