9월 29, 2023

Navigation Drawer 링크 문제

앱 제작 프로그램 안드로이드 스튜디오가 제공하는 기본 앱 Navigation Drawer을 실행 후, 프래그먼트 간에 연결이 안 되면 ‘레이아우트’ 디렉토리에 있는 activity_main xml 의 코드를 다음과 같이 변경만 하면 된다.

변경 전


Update Plan

Fragments

Background

Different color background for each Menu

Example site

Number

  1. Add 7 to be identical to the original fragments 3
  2. Move between fragments with a Swipe instead of an Onclick
Example site

Icon

change to

Option Menu

  1. Different color background for each Menu
  2. Example site
  3. Icon
  4. Link to local html file