안드로이드 개발 질문/답변
(글 수 45,052)
xml상에서는 아래와 같이 했습니다
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/calendar_scroll">
<TableLayout
android:id="@+id/tl_calendar_monthly"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
</TableLayout>
</ScrollView>
TableLayout을 코드상에서 줄이거나 늘릴수 잇나요?
달력을 만들었는데 방향이 세로일때랑 가로일때랑 크기를 달리 주고 싶은데 어떻게 해야되는지요?
setLayoutParams으로 햇는데 에러가 납니다




혹시 ..TableLayout.LayoutParams id = new LayoutParams(w, h, initWeight)