Code example for View

Methods: setTranslationY

0
        static float getTranslationY(View view) {
            return view.getTranslationY();
        } 
 
        static void setTranslationY(View view, float translationY) {
            view.setTranslationY(translationY);
        } 
 
        static float getX(View view) {
            return view.getX();
        } 
 
        static void setX(View view, float x) {
            view.setX(x);
        } 
 
        static float getY(View view) {
            return view.getY();
        } 
 
Experience pair programming with AI  Get Codota for Java