2016-03-24 26 views

cevap

0
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { 
        mParamsAddButton.setMargins(mMapView.getWidth() - mAddFab.getWidth()/2, mMapView.getHeight()*3/4, 0, 0); 
       } else { 
        mParamsAddButton.setMargins(mMapView.getWidth() - mAddFab.getWidth()/2, mMapView.getHeight()/2, 0, 0); 
       }