티스토리 뷰
manifests.xml 파일에서 thema를 바꿔주면 된다.
다음 코드를 적용해보자.
android:theme="@android:style/Theme.NoTitleBar
혹은 아래와같이 테마를 같이 적용해도 좋다.
만약 기존에 잘 돌아가던 앱이 런타임오류가 나서 비정상 종료 한다면....
이 문제로 구글에 검색을 해보니 알맞은 검색결과가 stackoverflow에 있었다.
http://stackoverflow.com/questions/22828118/app-crashes-after-setting-to-theme-notitlebar-fullscreen
ActionBarActivity
assumes you are using an ActionBar
, while Theme.NoTitleBar
themes remove the ActionBar (as that is part of the title bar on newer devices and ActionBarActivity
assumes you are using a Theme.AppCompat
theme which controls styling for the ActionBar).
Change your activity to extend FragmentActivity
if you are okay with not having an Action Bar, although as per the Android design docs is a critical component for making your app feel like an Android app (although some would say that games are granted more leeway).
간단히 요약하자면 MainActivity가 ActionBarActivity를 extends하고 있어서 발생하는 오류입니다.
FragmentActivity를 extneds 하는 것으로 바꿔주기만 하면 크래시 없이 정상적으로 잘 실행됩니다.
'안드로이드' 카테고리의 다른 글
안드로이드 : 퍼미션의 종류 (0) | 2015.06.11 |
---|---|
안드로이드 : 프레그먼트(Fragment)의 개념 (0) | 2015.06.08 |
안드로이드 URL을 통한 HTML 삽입 (0) | 2015.05.19 |
안드로이드 URL을 이용한 비트맵 삽입 (0) | 2015.05.19 |
안드로이드 스케일 타입 예제 (0) | 2015.05.19 |
- Total
- Today
- Yesterday
- 티그널
- 자료구조
- 라즈베리파이
- 터미널
- 소켓
- 티라노 시그널
- 디렉터리
- Sort
- socket
- 유즈케이스
- C
- MFC
- 소켓 프로그래밍
- 스레드
- 프로세스
- 정렬
- 파일
- 클래스
- C/C++
- 클라이언트
- 데이터베이스
- UML
- 파이썬
- 쓰레드
- 악보
- C++
- 안드로이드
- 액터
- 리눅스
- 파이썬예제
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |