안드로이드 개발 질문/답변
(글 수 45,052)
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:panel="http://schemas.android.com/apk/res/org.panel"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<include layout="@layout/top" android:id="@+id/top"
android:layout_width="fill_parent" android:layout_height="70px"
android:layout_alignParentTop="true"
/>
<WebView android:id="@+id/menuWebView" android:layout_height="fill_parent"
android:layout_width="fill_parent"
/>
</LinearLayout>
include부분을 버튼을 누르거나 어떤 액션이 취할때 include부분을 다른 include로 변경하고 싶습니다
예를 들어서
상단에 달력선택이 하나 에서 달력선택이 2개나 3개로 화면을 변화되어야 됩니다
가능한가요?
가능하다면 방법을 알려주세요




findViewById(R.layout.top).setVisibility(View.GONE);