convertView.setLayoutParams(new AbsListView.LayoutParams(
LayoutParams.MATCH_PARENT, ctx.getResources()
.getDimensionPixelSize(
R.dimen.dimen_help_row_group_height)));
이거 뭔가요..
이미 xml에
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/dimen_help_row_group_height"
android:background="@color/color_040045052"
android:orientation="horizontal" >
이렇게 높이가 저장되어있는데 왜..저기서..
저렇게 하나요..
LayoutParams.MATCH_PARENT
얘는 뭐고
ctx.getResources()
.getDimensionPixelSize(R.dimen.dimen_help_row_group_height)));
얘는 뭐죠..
왜 여기서 레이아웃을 마치페어런츠로 잡는지..왜 픽셀크기를 구해서 저걸 다시 넣는지..
이해좀 시켜주시면 감사합니다 ㅠㅠ 굽신굽신