private void setMarginStart ( @ NonNull final FrameLayout . LayoutParams layoutParams , final int margin ) { if ( isRtlLayoutUsed ( ) ) { layoutParams . rightMargin = margin ; } else { layoutParams . leftMargin = margin ; } }
Sets the start margin of specific layout params .