일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 테스트
- tabbar
- Flutter
- CustomScrollView
- 앱
- TEST
- intent
- 앱바
- livedata
- Coroutines
- DART
- Compose
- 안드로이드
- Dialog
- Button
- viewmodel
- scroll
- data
- android
- binding
- activity
- ScrollView
- appbar
- LifeCycle
- textfield
- Navigation
- drift
- 계측
- Kotlin
- textview
- Today
- Total
목록Theme (3)
Study Record
😶 style 과 theme 개요 android 에서 style 은 단일 View 모양을 지정하는 속성의 모음이고 theme 는 단일 View 뿐만 아니라 Activity, 앱, 뷰 계층 구조에 전체적으로 적용되는 속성 모음이다. theme 에는 상태 표시줄 및 창 배경과 같이 뷰가 아닌 요소에도 스타일을 적용할 수 있다. 😶 style 적용하기 style 은 단일 View 에 적용할 수 있으며 res/values/styles.xml 파일에 추가할 수 있다. style 은 속성이 추가된 요소(ex. View) 만 적용되고 하위 뷰에는 스타일이 적용되지 않는다. 하위 뷰가 스타일을 받게 하려면 android:theme 속성을 사용해야 한다. res/values/styles.xml ) 이렇게 선언한 styl..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/dyX4p1/btr2Px3sTPV/NouDMInMd4bKlrwp6e7lYk/img.png)
✍ Scrollbar 스크롤할 수 있는 위젯의 상위 위젯에 Scrollbar 위젯을 넣으면 스크롤 바가 생긴다. 일반적으로 ListView, GridView CustomScrollView 등의 상위 위젯에 Scrollbar 를 사용하는데 리스트 뷰의 항목 개수가 명확하지 않을 경우(itemCount, childCount 가 명시되지 않은 경우 무한 스크롤) 스크롤 바가 보이지 않는다. Scrollbar({ Key? key, required Widget child, ScrollController? controller, bool? thumbVisibility, bool? trackVisibility, double? thickness, Radius? radius, bool Function(ScrollNotif..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/qoJ2C/btrX7Za8NXA/JKsKL7oQChNFEgUlLsT78k/img.png)
✍ Slider Widget 사용자가 인디케이터를 움직임으로써 값을 설정할 수 있는 위젯이다. import 'package:flutterd/material.art'; Slider({ Key? key, required double value, required void Function(double)? onChanged, void Function(double)? onChangeStart, void Function(double)? onChangeEnd, double min = 0.0, double max = 1.0, int? divisions, String? label, Color? activeColor, Color? inactiveColor, Color? thumbColor, MouseCursor? mouse..