Last Modify : 28 November, 2018(06:02)
CollapsingToolbarLayout ¿¡ È¿°ú¸¦ »ç¿ëÇϱâ ÇØ¾ßµÇ³ª ViewPager ³»¿¡ WebView ¸¦ »ç¿ëÇÏ·Á°í Çϴµ¥
óÀ½ »ý°¢¾øÀÌ Çß´Ù°£ Á¦´ë·Î µ¿ÀÛÇÏÁö ¾ÊÀ½À» È®ÀÎÇϰí Äڵ带 Çϳª¾¿ È®ÀÎÇØº¸¸é¼ ÃÖÁ¾ÀûÀ¸·Î ¿Ã¹Ù¸£°Ô µ¿ÀÛÇÏ´Â Äڵ带 ÀÛ¼ºÇغ¸¾Ò´Ù.
<CoordinatorLayout>
<AppBarLayout>
<CollapsingToolbarLayout>
...
<TabLayout />
...
</AppBarLayout>
<ViewPager>
</CoordinatorLayout>
main_fragment ¸¦ ±¸¼ºÇÏ¿´°í
view pager ³» sub fragment ´Â ¾Æ·¡¿Í °°ÀÌ ±¸¼ºÇß´Ù.
<SwipeRefreshLayout>
<NestedScrollView>
<WebView
android:id="@+id/webview"
android:layout_width="match_parent" android:layout_height="wrap_content"/>
¾ÆÁ÷ ±îÁø Å« ¹®Á¦´Â ¹ß°ßÇÏÁö ¾Ê¾ÒÀ¸¹Ç·Î ÀÌ´ë·Î »ç¿ëÇÏ¸é µÉµí ½Í´Ù.
https://github.com/aucd29/clone-daum