use LayoutParams.MATCH_PARENT instead