Code example for View

Methods: setTranslationX

0
        static float getTranslationX(View view) {
            return view.getTranslationX();
        } 
 
        static void setTranslationX(View view, float translationX) {
            view.setTranslationX(translationX);
        } 
 
        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();
        } 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE