convert gallery apply progress dialog to .ui

Change-Id: I1fd2f2f1faa51346eb68445688fb5e1ef85b7124