전체 글 (65) 썸네일형 리스트형 [안드로이드][프로젝트2] disabled ratingbar 만들기 + ratingbar 크기 줄이기 1. disabled ratingbar 만들기 In XML Layout android:isIndicator="true" 출처: https://stackoverflow.com/questions/7745020/disable-rating-on-ratingbar Disable rating on RatingBar I'm using a RatingBar and OnRatingBarChangeListener in my Code. The user can the rating once and after this I set ratingBar.setEnabled(false) . I want to show the user advice that he can't... stackoverflow.com 2. ratingbar 크기 줄.. [안드로이드][프로젝트2]BottomNavigationView 색상 변경하는 법 1. drawable에서 menu_selector_color.xml을 만든다. 2. menu_selector_color.xml에서 색상을 지정한다. 3. BottomNavigationView 속성에 적용한다. app:itemIconTint="@drawable/menu_selector_color" app:itemTextColor="@drawable/menu_selector_color" 이렇게 하면 원하는 색상으로 변경이 가능하다! 참고: https://lcw126.tistory.com/330 안드로이드 BottomNavigationView ( icon, text 색상 변경 ) BottomNavigationView 사용을 위해 라이브러리를 추가해줍니다. Gradle dependencies { implemen.. [안드로이드][프로젝트2] ratingBar 별 색깔 바꾸기 1. res/values/style.xml에서 다음과 같이 코드를 쓴다. colorControlNormal에선 안 채워졌을 때의 색을, colorControlActivated에선 채워졌을 때의 색을 넣으면 된다. 2. layout RatingBar에 다음과 같이 theme을 적용해준다. android:theme="@style/RatingBar" 참고: https://stackoverflow.com/questions/39913495/ratingbar-color-difference-on-different-devices 이전 1 ··· 7 8 9 10 11 12 13 ··· 22 다음