질문&답변
게시판 만들기에서 게시글 ListView만들기 에서 발생한 문제 질문드립니다.
xml version ="1.0" encoding ="utf-8" ?> xmlns: android ="http://schemas.android.com/apk/res/android" android :layout_width ="match_parent" android :layout_height ="100dp" android :orientation ="vertical" > android :id ="@+id/titleArea" android :layout_width ="wrap_content" android :layout_height ="wrap_content" android :layout_margin ="15dp" android :text ="title" android :textColor ="@color/black" android :textSize ="20sp" android :textStyle ="bold" /> android :id ="@+id/contentArea" android :layout_width ="wrap_content" android :layout_height ="wrap_content" android :layout_marginLeft ="20dp" android :layout_marginRight ="20dp" android :text ="content" android :textColor ="@color/black" android :textSize ="15sp" /> android :id ="@+id/timeArea" android :layout_width ="wrap_content" android :layout_height ="wrap_content" android :layout_marginLeft ="20dp" android :layout_marginTop ="5dp" android :text ="time" android :textColor ="#999999" android :textSize ="10sp" /> // 위 코드는 board_list_item.xml 코드 입니다 (title, content, time이 적혀있는) // 아래 코드는 택시 그림과 오른쪽에 메뉴를 선택할 수 있는 코드입니다.(board_list_item.xml과 겹치는) xml version ="1.0" encoding ="utf-8" ?> xmlns: android ="http://schemas.android.com/apk/res/android" xmlns: app ="http://schemas.android.com/apk/res-auto" xmlns: tools ="http://schemas.android.com/tools" > TODO: Update blank fragment layout --> android :layout_width ="match_parent" android :layout_height ="match_parent" > android :id ="@+id/boardListView" android :layout_width ="match_parent" android :layout_height ="match_parent" android :layout_marginBottom ="70dp" /> android :id ="@+id/writeBtn" android :layout_width ="50dp" android :layout_height ="50dp" android :layout_marginRight ="20dp" android :layout_marginBottom ="80dp" android :src ="@drawable/write" app :layout_constraintBottom_toBottomOf ="parent" app :layout_constraintEnd_toEndOf ="parent" /> android :layout_width ="match_parent" android :layout_height ="5dp" app :layout_constraintBottom_toTopOf ="@+id/linearLayout" > android :layout_width ="match_parent" android :layout_height ="match_parent" android :layout_weight ="1" /> android :layout_width ="match_parent" android :layout_height ="match_parent" android :layout_weight ="1" /> android :layout_width ="match_parent" android :layout_height ="match_parent" android :layout_weight ="1" android :background ="@color/mainColor" /> android :id ="@+id/linearLayout" android :layout_width ="match_parent" android :layout_height ="60dp" android :background ="@color/white" app :layout_constraintBottom_toBottomOf ="parent" > android :id ="@+id/homeTap" android :layout_width ="match_parent" android :layout_height ="wrap_content" android :layout_weight ="1" android :src ="@drawable/home" /> android :id ="@+id/talkTap" android :layout_width ="match_parent" android :layout_height ="wrap_content" android :layout_weight ="1" android :src ="@drawable/talk" /> android :id ="@+id/writeTap" android :layout_width ="match_parent" android :layout_height ="wrap_content" android :layout_weight ="1" android :src ="@drawable/note" />
- 좋아요수
- 0
- 댓글수
- 3
- 조회수
- 745





