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 |
Tags
- 밑줄
- ViewModel
- nav_graph
- RealtimeDB
- 안드로이드
- 코틀린
- BottomSheetDialog
- Kotlin
- textview
- ArrayList
- Activity
- ROOM
- lifecyclescope
- MaterialButton
- OutlinedButton
- 팝업액티비티
- 안드로이드 스튜디오
- Android
- 랜덤ID
- button
- firebasefunctions
- 뷰바인딩
- Dialog
- FRAGMENT
- androidstudio
- 안드로이드스튜디오
- EditText
- Imageview
- firebase
- ButtonWithButton
Archives
- Today
- Total
안드로이드 앱 개발
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/이름"