1.Style 에서 noActionbar 로 안되어있으나 액션바가 나오지 않음
MainActivity 상속을 Activity를 받고 있었음 --> AppCompatActivity themach.tistory.com/372
2.XML에서 Weight 속성은 절대 dp나 sp 붙이면 안됨!!!
3.안드로이드 스튜디오 버전 4.0 이후로 버튼 등, 색상, 백그라운드 등 속성 지정 안될때
안스 4.0 이후로는 themes 라는 개념이 추가됨
* themes 에서 parent 테마를 Theme.AppCompat.Light.DarkActionBar 로 설정해주면 됨!!
'모바일 개발 > Android' 카테고리의 다른 글
[Android] 안드로이드 스튜디오 깃허브 연동 (macbook m1 github Commit) (0) | 2021.09.03 |
---|---|
Android Studio push button - 1 (Toast message) (0) | 2021.05.10 |
Android Studio 각 디렉토리의 사용처 및 의미 (0) | 2021.04.04 |
댓글