-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
body: footer
- Loading branch information
Showing
18 changed files
with
718 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<!-- 에디트텍스트가 포커스를 받았을때의 모양 및 색상 --> | ||
<item android:state_focused="true"> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> | ||
<stroke | ||
android:width="1dp" | ||
android:color="#486047" /> | ||
<corners android:radius="4dp"/> | ||
<solid | ||
android:color="#FFFFFF" /> | ||
</shape> | ||
</item> | ||
|
||
<!-- EditText 가 포커스를 받지 않은 일반 상태일 때의 모양 및 색상 --> | ||
<item android:state_focused="false"> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> | ||
<stroke | ||
android:width="1dp" | ||
android:color="#EEEEEE" /> | ||
<corners android:radius="4dp"/> | ||
<solid | ||
android:color="#FFFFFF" /> | ||
</shape> | ||
</item> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="rectangle"> | ||
<solid android:color="#C3CCBB"/> | ||
<corners android:radius="15dp"/> | ||
</shape> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<!-- seekbar 배경 1 --> | ||
<item android:id="@android:id/background"> | ||
<!-- 선 : 길이 --> | ||
<shape android:shape="line"> | ||
<stroke android:width="8dp" android:color="@color/appColorLightGreen" /> | ||
</shape> | ||
</item> | ||
|
||
<!-- seekbar 프로그래스 바 --> | ||
<item android:id="@android:id/progress" > | ||
<clip> | ||
<shape android:shape="line"> | ||
<stroke android:width="6dp" android:color="@color/appColorGreen" /> | ||
</shape> | ||
</clip> | ||
</item> | ||
|
||
</layer-list> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- 원모양의 seekbar thumb --> | ||
<shape xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:shape="oval" | ||
android:useLevel="false" > | ||
<!-- 배경 색상 --> | ||
|
||
<solid android:color="@color/appColorGreen" /> | ||
<!-- 테두리 색상 (생략 가능) | ||
<stroke | ||
android:width="2dp" | ||
android:color="@color/appColorLightGreen" /> --> | ||
<!-- 크기 --> | ||
<size | ||
android:width="18dp" | ||
android:height="18dp"/> | ||
</shape> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item> | ||
<shape> | ||
<stroke android:width="2dp" android:color="@color/appColorGreen" /> | ||
<corners android:radius="10dp"/> | ||
</shape> | ||
</item> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item> | ||
<shape> | ||
<solid android:color="@color/appColorGreen" /> | ||
<corners android:radius="10dp"/> | ||
</shape> | ||
</item> | ||
</selector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<font-family xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<font android:fontStyle="normal" | ||
android:fontWeight="400" | ||
android:font="@font/gangwon_bold" /> | ||
|
||
</font-family> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<?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="match_parent" | ||
android:background="@drawable/edittext_round_corner"> | ||
|
||
<org.techtown.bookshelf.RoundImageView | ||
android:id="@+id/friendImage" | ||
android:layout_width="45dp" | ||
android:layout_height="45dp" | ||
android:layout_gravity="center" | ||
android:layout_marginStart="5dp" | ||
android:layout_marginTop="5dp" | ||
android:scaleType="centerCrop" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:srcCompat="@drawable/iu_test" /> | ||
|
||
<TextView | ||
android:id="@+id/userBookshelfTV2" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center" | ||
android:layout_marginStart="4dp" | ||
android:fontFamily="@font/gangwon_bold" | ||
android:text="TextView" | ||
android:textColor="#486047" | ||
android:textSize="20dp" | ||
app:layout_constraintBottom_toBottomOf="@+id/friendImage" | ||
app:layout_constraintStart_toEndOf="@+id/friendImage" | ||
app:layout_constraintTop_toTopOf="@+id/friendImage" /> | ||
|
||
<ImageView | ||
android:id="@+id/shelf2" | ||
android:layout_width="match_parent" | ||
android:layout_height="20dp" | ||
android:scaleType="fitXY" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@+id/friendBookshelf" | ||
app:srcCompat="@drawable/sunban" /> | ||
|
||
<ImageView | ||
android:id="@+id/shelf1" | ||
android:layout_width="wrap_content" | ||
android:layout_height="17dp" | ||
android:layout_marginTop="5dp" | ||
android:scaleType="fitXY" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@+id/friendImage" | ||
app:srcCompat="@drawable/sunban" /> | ||
|
||
<androidx.recyclerview.widget.RecyclerView | ||
android:id="@+id/friendBookshelf" | ||
android:layout_width="match_parent" | ||
android:layout_height="150dp" | ||
android:layout_marginStart="17dp" | ||
android:layout_marginEnd="17dp" | ||
android:scrollbars="horizontal" | ||
app:layout_constraintBottom_toTopOf="@+id/shelf2" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintHorizontal_bias="0.0" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@+id/shelf1" | ||
app:layout_constraintVertical_bias="1.0" | ||
tools:listitem="@layout/item_bookshelf" /> | ||
|
||
<FrameLayout | ||
android:id="@+id/frame_bookInfo2" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@+id/shelf2" /> | ||
</androidx.constraintlayout.widget.ConstraintLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
<?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="match_parent" | ||
android:orientation="vertical"> | ||
|
||
<ImageView | ||
android:id="@+id/imageView6" | ||
android:layout_width="40dp" | ||
android:layout_height="50dp" | ||
android:scaleType="fitXY" | ||
app:layout_constraintEnd_toStartOf="@+id/imageView7" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:srcCompat="@drawable/wood_board_left" /> | ||
|
||
<ImageView | ||
android:id="@+id/imageView7" | ||
android:layout_width="40dp" | ||
android:layout_height="50dp" | ||
android:layout_gravity="center" | ||
android:scaleType="fitXY" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toEndOf="@+id/imageView6" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:srcCompat="@drawable/wood_board_right" /> | ||
|
||
<LinearLayout | ||
android:id="@+id/linearLayout" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="32dp" | ||
android:background="@drawable/layout_background" | ||
android:orientation="vertical" | ||
android:visibility="visible" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintHorizontal_bias="0.0" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toBottomOf="@+id/imageView6"> | ||
|
||
<androidx.constraintlayout.widget.ConstraintLayout | ||
android:id="@+id/book_info" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="5dp" | ||
android:orientation="horizontal"> | ||
|
||
|
||
<ImageView | ||
android:id="@+id/bookimage_f" | ||
android:layout_width="80dp" | ||
android:layout_height="120dp" | ||
android:layout_marginStart="5dp" | ||
android:layout_marginTop="5dp" | ||
android:layout_marginBottom="5dp" | ||
android:scaleType="fitXY" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:layout_constraintVertical_bias="0.0" | ||
tools:srcCompat="@drawable/test_bookimage" /> | ||
|
||
<TextView | ||
android:id="@+id/list_title_f" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="5dp" | ||
android:layout_marginTop="5dp" | ||
android:fontFamily="@font/gangwon_bold" | ||
android:text="책 제목" | ||
android:textColor="#000000" | ||
android:textColorHint="#000000" | ||
android:textSize="20dp" | ||
android:textStyle="bold" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintHorizontal_bias="0.0" | ||
app:layout_constraintStart_toEndOf="@+id/bookimage_f" | ||
app:layout_constraintTop_toTopOf="parent" /> | ||
|
||
<TextView | ||
android:id="@+id/list_author_f" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="3dp" | ||
android:fontFamily="@font/gangwon_light" | ||
android:text="저자" | ||
android:textColor="#000000" | ||
android:textColorHint="#000000" | ||
android:textSize="16dp" | ||
app:layout_constraintStart_toStartOf="@+id/list_title_f" | ||
app:layout_constraintTop_toBottomOf="@+id/list_title_f" /> | ||
|
||
<TextView | ||
android:id="@+id/currentPageTV_f" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="3dp" | ||
android:fontFamily="@font/gangwon_light" | ||
android:text="0" | ||
android:textColor="#000000" | ||
android:textSize="16dp" | ||
app:layout_constraintStart_toStartOf="@+id/list_title_f" | ||
app:layout_constraintTop_toBottomOf="@+id/list_author_f" /> | ||
|
||
<SeekBar | ||
android:id="@+id/readAmountSeekBar_f" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="5dp" | ||
android:layout_marginEnd="5dp" | ||
android:max="100" | ||
android:progress="50" | ||
android:progressDrawable="@drawable/seekbar" | ||
android:thumb="@drawable/seekbar_thumb" | ||
app:layout_constraintEnd_toStartOf="@+id/pagesTV_f" | ||
app:layout_constraintHorizontal_bias="0.0" | ||
app:layout_constraintStart_toEndOf="@+id/currentPageTV_f" | ||
app:layout_constraintTop_toTopOf="@+id/currentPageTV_f" /> | ||
|
||
<TextView | ||
android:id="@+id/pagesTV_f" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:fontFamily="@font/gangwon_light" | ||
android:text="400" | ||
android:textColor="#000000" | ||
android:textSize="16dp" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintHorizontal_bias="1.0" | ||
app:layout_constraintStart_toEndOf="@+id/currentPageTV_f" | ||
app:layout_constraintTop_toTopOf="@+id/currentPageTV_f" /> | ||
|
||
<TextView | ||
android:id="@+id/list_record_num_f" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginBottom="24dp" | ||
android:fontFamily="@font/gangwon_light" | ||
android:text="기록 수" | ||
android:textColor="#000000" | ||
android:textSize="16dp" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" /> | ||
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> | ||
|
||
|
||
<androidx.recyclerview.widget.RecyclerView | ||
android:id="@+id/recordRecyclerView_f" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="5dp" | ||
android:nestedScrollingEnabled="false" /> | ||
|
||
</LinearLayout> | ||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> |
Oops, something went wrong.