display = getWindowManager().getDefaultDisplay();
Constants.deviceWidth = display.getWidth();
Constants.deviceHeight = display.getHeight();
LinearLayout.LayoutParams paramssample = new LinearLayout.LayoutParams(
Constants.deviceWidth, 60 * Constants.deviceHeight / 100);
mBottomSlider.setLayoutParams(paramssample);
No comments:
Post a Comment