Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 시그니처
- 홈플러스 시그니처 모카골드믹스커피
- 원스휴먼 스타크롬
- 일론머스크
- 2차계엄
- 원스휴먼 먹이
- 레시피 파밍
- 계엄령 외신반응
- 믹스커피추천
- 커피추천
- 원스휴먼 황금양
- 원스휴먼 쿠폰
- 유광버섯 통조림
- 1203계엄령
- 국방부
- 비상계엄령
- 2차 비상계엄
- 원스휴먼 레시피 파밍
- 원스휴먼 사료
- 원스휴먼 레시피
- 원달러환율
- 윤석열
- 홈플러스
- 믹스커피
- 원스휴먼 황금양 구하기
- 원스휴먼 동물
- 계엄령
- 원스휴먼 요리
- 원스휴먼 황금양털파밍
Archives
- Today
- Total
0101011001010111
리싸이클뷰 + 커스텀뷰 해서 애플마켓 만들기 본문
728x90
반응형
일단 item을 이렇게 만들어주었다.
뼈대
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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"
android:layout_width="match_parent"
android:layout_height="120dp">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/items_image_box"
android:layout_width="0dp"
android:layout_height="match_parent"
app:layout_constraintWidth_percent="0.3"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
/>
<!--정보 : 제목 , 주소 , [가격, 댓글+좋아요]-->
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/items_informationbox"
android:layout_width="0dp"
android:layout_height="match_parent"
app:layout_constraintStart_toEndOf="@+id/items_image_box"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/items_informationbox_title"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintHeight_percent="0.4"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent">
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/items_informationbox_address"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintHeight_percent="0.2"
app:layout_constraintTop_toBottomOf="@+id/items_informationbox_title">
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/items_informationbox_priceAndEct"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintTop_toBottomOf="@+id/items_informationbox_address"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/items_informationbox_priceAndEct_Price"
android:layout_width="0dp"
android:layout_height="match_parent"
app:layout_constraintWidth_percent="0.5"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="parent">
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/items_informationbox_priceAndEct_Ect"
android:layout_width="0dp"
android:layout_height="match_parent"
app:layout_constraintWidth_percent="0.5"
app:layout_constraintStart_toEndOf="@+id/items_informationbox_priceAndEct_Price"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent">
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
이제 쇽쇽쇽쇽 넣어줘볼까 ?!
728x90
반응형
'Kotlin > 스파르타_코틀린 문법' 카테고리의 다른 글
Kotlin- 4-9 Single-expression function (0) | 2023.08.03 |
---|---|
Kotlin - 컬렉션/ list, set, map / listOf, setOf, mapOf / mutableListOf, ArrayList, mutableMapOf,mutableSetOf/contains/ union,intersect,subtract (0) | 2023.08.03 |
Kotlin - 4-7강 배열 / array , arrayOf (4) | 2023.08.02 |
Kotlin_4-5 널 세이프티 ? !! ?. ?: (0) | 2023.08.02 |
kotlin4-4 지연 초기화 (0) | 2023.08.02 |