I use % in animation xml <translate android:fromYDelta="0%" android:toYDelta="-100%" android:duration="5000" /> in 320*280 ok.but 480*800......
2010/8/23 Kostya Vasilyev <kmans...@gmail.com> > Cary, > > Redo your layouts using device-independent units (dp) instead of pixels if > you use them, and use % values in animation definitions (e.g. animate > "-100%" to "0%" or some such). > > -- Kostya > > 22.08.2010 19:23, CaryWang пишет: > >> I use Animation Translate in my application,my mobile phone resolution >> rate is 320*280,but In the 480*800 resolution rate don't support.I want ask >> I should how to do ? >> >> >> -- >> Cary >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > > -- > Kostya Vasilev -- WiFi Manager + pretty widget -- > http://kmansoft.wordpress.com > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Cary -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en