일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- 테스트
- DART
- android
- Coroutines
- activity
- Button
- 앱
- appbar
- tabbar
- Kotlin
- 안드로이드
- 앱바
- Navigation
- ScrollView
- Flutter
- textview
- CustomScrollView
- binding
- LifeCycle
- TEST
- data
- textfield
- Dialog
- viewmodel
- drift
- 계측
- intent
- scroll
- Compose
- livedata
- Today
- Total
목록menu (2)
Study Record
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/G30Wn/btsomYekJ4D/XRBDW6KyDwYgRmMXxzTDw0/img.png)
😶 Menu 앱바에서 선택할 수 있는 메뉴를 만들 수 있다. menu 디렉터리 만들기 res/menu 디렉터리가 없다면 res 에서 새로운 Android Resource Directory을 만든다. menu 디렉터리에 새로운 Android Resource file 을 만든다. (ex. menu.xml) 태그로 메뉴를 만들 수 있는데 android:id 는 메뉴 옵션이 가지는 id 로 코드에서 참조할 때 쓰인다. android:title 은 화면에서는 보이지 않지만 타이틀 이름이다. android:icon 은 메뉴 아이콘을 설정한다. android:showAsAction 을 always 로 하면 앱바에서 항상 보여지게 되고 overflow 메뉴로 보여지지 않는다. Activity 에서 메뉴를 클릭했을 때의..
https://developer.android.com/codelabs/kotlin-android-training-add-navigation#8 Android Kotlin Fundamentals: 03.2 Define navigation paths | Android Developers Learn how to use Android Studio’s Navigation Editor to define the flows (navigation paths) through your app. You will understand how to implement an Up button, add an options menu, and create a navigation drawer for your app. developer.and..