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 | 31 |
Tags
- 안드로이드
- ViewModel
- Activity
- FRAGMENT
- nav_graph
- 밑줄
- BottomSheetDialog
- ROOM
- button
- androidstudio
- textview
- 뷰바인딩
- 랜덤ID
- Dialog
- firebasefunctions
- Imageview
- firebase
- RealtimeDB
- 코틀린
- Kotlin
- 팝업액티비티
- ArrayList
- Android
- EditText
- 안드로이드 스튜디오
- MaterialButton
- 안드로이드스튜디오
- lifecyclescope
- ButtonWithButton
- OutlinedButton
Archives
- Today
- Total
GA4 교육
Edittext 색상 값들 정리 본문
적용
1. Cursor 색상
drawble> cursor.xml -> edittext의 xml 속성에서 textCursor에 @drawable/로 적용
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<size android:width="@dimen/cursor_width"/>
<solid android:color="@color/mainBlue"/>
</shape>
2. textColorHighlight
android:textColorHighlight="@color/mainBlueTextColorHighlight"
3. colorControlNormal과 Activated는 theme에서 만들어준다음 xml에서 적용
<style name="이름" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorControlNormal">@color/transparent</item>
<item name="colorControlActivated">@color/mainBlue</item>
</style>
-> 적용
android:theme="@style/이름"