Android AlertDialog with Expands/Collapse Animation? -


i have alertdialog showing on x,y position of 1 of view in recycleview. dialog position changing row number increased.

when put below file animation, dialog shows top y position of alert dialog. want show y position slide down.

as when click on facebook comment, asks copy, edit, delete or cancel in dialog.

i gone through many animation file dialog shows top y position , when close goes y position top.

my animation file:

slide_out_bottom:

<?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android"      android:shareinterpolator="false"     >    <translate       android:duration="@integer/dialogplus_animation_default_duration"       android:fromxdelta="0%"       android:fromydelta="0%"       android:toxdelta="0%"       android:toydelta="100%"       /> </set> 

i checked 1 doesn't work:

android: expand/collapse animation

expand/collapse lollipop toolbar animation (telegram app)


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -