解决方案 »

  1.   

     Window window = dialog.getWindow();      
     window.setGravity(Gravity.BOTTOM);  
            window.setWindowAnimations(R.style.mystyle);
         dialog.show(); 
      

  2.   

    我记得这个只能通过不断变化layoutParament来实现
      

  3.   

    你在windowmanager中加View时候,需要指定这个view的layoutParams吧?layoutParams里面可以指定xy坐标,你做动画时候就不断postdelay一个runnable,在这个runnable中不断修改被加到windowmanager中view的layoutParams,这样子就可以了
      

  4.   

    不是说这个只能设置系统自带的动画吗
    android.R.style.animation_自己选