게시판 즐겨찾기
편집
드래그 앤 드롭으로
즐겨찾기 아이콘 위치 수정이 가능합니다.
[안드로이드]이미지뷰 넣고나서 앱실행하면 바로꺼지네요 ㅠㅠ[초보주의]
게시물ID : programmer_16214짧은주소 복사하기
작성자 : Bisue
추천 : 0
조회수 : 419회
댓글수 : 4개
등록시간 : 2016/03/15 20:00:21
옵션
  • 본인삭제금지
안녕하세요 그저께 안드로이드스튜디오 깔고 테스트중인 고2학생입니다.

어제 텍스트만 넣고 실행했을때는 잘 되던데
오늘 이미지뷰를 추가하고 에뮬레이터에서 실행을 해보니깐 Unfortunately, dailycheck has stopped. 라고 뜨면서 켜지지않고 바로꺼지네요 ㅠㅠ
건드린건 레이아웃 파일밖에없는데 왜그럴까요??

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.dailycheck.chanhuk.dailycheck.HomeActivity"
android:orientation="vertical"
android:padding="8dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="수집 테스트"
android:textSize="30dp"
android:textColor="#006ec9"
android:textStyle="bold"/>
<LinearLayout
android:paddingTop="30dp"
android:layout_gravity="center"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="태어난 년도"
android:textSize="20dp"
android:textStyle="bold"/>
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="태어난 년도를 입력하세요."
android:textSize="15dp"/>
<TextView
android:paddingTop="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="별명"
android:textSize="20dp"
android:textStyle="bold"/>
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="별명을 입력하세요."
android:textSize="15dp"/>
<TextView
android:paddingTop="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="좋아하는 색깔"
android:textSize="20dp"
android:textStyle="bold"/>
<LinearLayout
android:paddingTop="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_marginRight="5dp"
android:layout_marginBottom="5dp"
android:layout_width="32dp"
android:layout_height="32dp"
android:background="@drawable/r"/>
<ImageView
android:layout_width="32dp"
android:layout_height="32dp"
android:background="@drawable/g"/>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:layout_marginRight="5dp"
android:layout_marginBottom="5dp"
android:layout_width="32dp"
android:layout_height="32dp"
android:background="@drawable/b"/>
<ImageView
android:layout_width="32dp"
android:layout_height="32dp"
android:background="@drawable/y"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
꼬릿말 보기
전체 추천리스트 보기
새로운 댓글이 없습니다.
새로운 댓글 확인하기
글쓰기
◀뒤로가기
PC버전
맨위로▲
공지 운영 자료창고 청소년보호