support setting end ellipsis from .ui

Change-Id: I426f41ffdf107b7dcff8ae713e2dc63610f915af
convert gallery search progress dialog to .ui

Change-Id: I77d9530ebc6529d87e2484c8440794e246aab5b9