티스토리 뷰
Eclipse에서 안드로이드 프로젝트를 새로 만들게 되면 appcompat_v7이라는 library가 기본적으로 붙는 것을 확인 할 수 있다.
이로 인해 귀찮은 에러들이 발생하는 일이 있기에 appcompat_v7 library의 의존성을 제거합니다.
다음과 같이 프로젝트의 Properties->Android를 선택하게 되면 library의 존재를 확인할 수 있습니다.
1. appcompat_v7을 선택 후 remove를 합니다.
2. res/values/styles.xml
AppBaseTheme의 Theme.AppCompat.Light를 @android:style/Theme.Light로 변경합니다.
3. res/values-v11/styles.xml
AppBaseTheme의 Theme.AppCompat.Light를 @android:style/Theme.Holo.Light로 변경합니다.
4. res/values-v14/styles.xml
AppBaseTheme의 Theme.AppCompat.Light.DarkActionBar를 @android:style/Theme.Holo.Light.DarkActionBar로 변경합니다.
5. res/menu/main.xml
<menu>의 xmlns:app="http://schemas.android.com/apk/res-auto" 제거
<item>의 app:showAsAction="never" 제거
6. MainActivity의 ActionBarActivity를 FragmentActivity로 변경합니다.
'android' 카테고리의 다른 글
[Android / RecyclerView] #2 밀어서 아이템 삭제 구현 (0) | 2020.02.05 |
---|---|
[Android / Recycler View] #1 기본 타입 구현 (0) | 2020.02.05 |
[UI] 원을 따라 움직이는 버튼 구현 (0) | 2016.03.21 |
[UI] bottom-up slide view (0) | 2016.03.06 |
drag & drop 처리 (0) | 2016.02.22 |
- Total
- Today
- Yesterday
- kotlinx serialization
- git server
- expandable recyclerview
- serializable
- 오픈 소스 배포
- build server
- 자동 배포
- kotlin
- swip
- 리사이클러뷰 확장
- security.ubuntu.com
- RecyclerView
- delete item
- android serialization
- qtwebengine
- Apache
- Jenkins
- jitpack
- data transfer
- Parcelable
- ubuntu 16.04
- auto depoly
- Git
- type inference
- weak_ptr
- C++
- android open source
- git hook
- publish opensource
- remove item
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |