Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
Tags
- Activity
- firebasefunctions
- Android
- 안드로이드스튜디오
- firebase
- BottomSheetDialog
- 뷰바인딩
- 코틀린
- 안드로이드
- MaterialButton
- EditText
- FRAGMENT
- 안드로이드 스튜디오
- ArrayList
- 팝업액티비티
- button
- lifecyclescope
- ViewModel
- nav_graph
- Dialog
- Imageview
- 랜덤ID
- textview
- RealtimeDB
- androidstudio
- 밑줄
- OutlinedButton
- ROOM
- ButtonWithButton
- Kotlin
Archives
- Today
- Total
목록안드로이드앱 (51)
안드로이드 앱 개발
Ripple effect가 안 먹을 때?
가끔 fragment에 listview나 gridview를 넣었을 때 클릭 효과(ripple effect)가 안 먹을 때가 있었다. 그럴 때 single_row나 single_cell의 xml에 속성을 추가해주면 된다. android:foreground="?android:attr/selectableItemBackground" 이러면 기본 ripple 효과가 먹음 If, 색깔을 커스터마이징 해주고싶다면 drawable에 ripple.xml을 생성한다음 추가해주면 된다. 앱 전체의 ripple 색을 지정할 수도 있음 styles.xml에서 전체 앱 theme에 속성추가 #dfdfdf
안드로이드앱/ListView_리스트뷰
2021. 3. 9. 17:28