android - Making simple UI change animations. Pop-ups sliding from the edge of the screen -
the questions quite faq-type, can't find suitable tutorial , don't know search for
1) i've got list filled linearlayouts , need set animation elements added layouts shown on image. animation element slides under existing layout elements. if element removed, animation same reversed
2) there screen filled elements. tapping, example, button, call pop-up, comes edge of screen , above rest of elements.
if tap anywhere, except pop-up,
a) slide back
b) interact objects pop-up not cover
what makes such effects possible? how implement them , what read about?
for 1) setting animatelayoutchanges=true
linearlayout should job
for 2) can open dialog
on button click , customise animations dialog calling dialog.getwindow().setwindowanimations('id of animation xml')
Comments
Post a Comment