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

pic 1

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

pic 2

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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -