-
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.
[LH-112] Add Icon for board page #16
- Loading branch information
1 parent
489669e
commit eaa365c
Showing
8 changed files
with
168 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,17 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="16dp" | ||
android:height="16dp" | ||
android:viewportWidth="16" | ||
android:viewportHeight="16"> | ||
<group> | ||
<clip-path | ||
android:pathData="M0,0h16v16h-16z"/> | ||
<group> | ||
<clip-path | ||
android:pathData="M1.396,7.391C1.388,7.299 1.4,7.206 1.429,7.119C1.459,7.031 1.507,6.951 1.569,6.883C1.631,6.815 1.707,6.76 1.792,6.723C1.877,6.686 1.968,6.667 2.06,6.667H3.333C3.51,6.667 3.68,6.737 3.805,6.862C3.93,6.987 4,7.157 4,7.333V13.667C4,13.844 3.93,14.013 3.805,14.138C3.68,14.263 3.51,14.333 3.333,14.333H2.611C2.444,14.333 2.284,14.271 2.161,14.158C2.038,14.045 1.961,13.891 1.947,13.724L1.396,7.391ZM6,7.125C6,6.846 6.173,6.597 6.425,6.478C6.975,6.219 7.911,5.698 8.333,4.994C8.878,4.086 8.98,2.445 8.997,2.07C8.999,2.017 8.998,1.964 9.005,1.912C9.095,1.261 10.352,2.022 10.833,2.826C11.095,3.262 11.128,3.835 11.101,4.282C11.071,4.761 10.931,5.223 10.793,5.683L10.5,6.662H14.119C14.222,6.662 14.324,6.686 14.416,6.731C14.508,6.777 14.588,6.844 14.651,6.926C14.713,7.008 14.755,7.104 14.774,7.205C14.793,7.306 14.789,7.41 14.761,7.509L12.971,13.848C12.931,13.988 12.847,14.111 12.731,14.198C12.615,14.286 12.474,14.333 12.329,14.333H6.667C6.49,14.333 6.32,14.263 6.195,14.138C6.07,14.013 6,13.844 6,13.667V7.125Z"/> | ||
<path | ||
android:pathData="M0,0H16V16H0V0Z" | ||
android:fillColor="#17A9A0"/> | ||
</group> | ||
</group> | ||
</vector> |
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,83 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<androidx.cardview.widget.CardView 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="wrap_content" | ||
android:layout_marginVertical="10dp" | ||
app:cardCornerRadius="20dp" | ||
app:cardElevation="10dp"> | ||
|
||
<androidx.constraintlayout.widget.ConstraintLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<de.hdodenhof.circleimageview.CircleImageView | ||
android:id="@+id/iv_profile" | ||
android:layout_width="36dp" | ||
android:layout_height="36dp" | ||
android:layout_margin="16dp" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" | ||
tools:src="@drawable/placeholder" /> | ||
|
||
<ImageView | ||
android:id="@+id/iv_flag" | ||
android:layout_width="12dp" | ||
android:layout_height="12dp" | ||
app:layout_constraintBottom_toBottomOf="@id/iv_profile" | ||
app:layout_constraintEnd_toEndOf="@+id/iv_profile" | ||
tools:layout_editor_absoluteY="40dp" | ||
tools:src="@drawable/kr" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_name" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="10dp" | ||
android:includeFontPadding="false" | ||
android:textSize="14sp" | ||
android:textStyle="bold" | ||
app:layout_constraintBottom_toBottomOf="@+id/iv_profile" | ||
app:layout_constraintStart_toEndOf="@+id/iv_profile" | ||
app:layout_constraintTop_toTopOf="@+id/iv_profile" | ||
tools:text="name" /> | ||
|
||
<ImageView | ||
android:id="@+id/iv_like" | ||
android:layout_width="14dp" | ||
android:layout_height="14dp" | ||
android:layout_marginEnd="5dp" | ||
android:src="@drawable/like" | ||
app:layout_constraintBottom_toBottomOf="@+id/tv_like" | ||
app:layout_constraintEnd_toStartOf="@+id/tv_like" | ||
app:layout_constraintTop_toTopOf="@+id/tv_like" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_like" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginEnd="16dp" | ||
android:includeFontPadding="false" | ||
android:textColor="@color/main" | ||
android:textSize="14sp" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintTop_toTopOf="@+id/iv_profile" | ||
tools:text="50" /> | ||
|
||
<TextView | ||
android:id="@+id/tv_content" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="10dp" | ||
android:layout_marginBottom="16dp" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintEnd_toEndOf="@+id/tv_like" | ||
app:layout_constraintStart_toStartOf="@+id/iv_profile" | ||
app:layout_constraintTop_toBottomOf="@+id/iv_profile" | ||
tools:text="dasdsadasdsadasdasdasdsasdasds" /> | ||
|
||
|
||
</androidx.constraintlayout.widget.ConstraintLayout> | ||
|
||
</androidx.cardview.widget.CardView> |
5 changes: 5 additions & 0 deletions
5
feature/board/src/main/res/drawable/baseline_keyboard_arrow_down_24.xml
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,5 @@ | ||
<vector android:height="24dp" android:tint="#000000" | ||
android:viewportHeight="24" android:viewportWidth="24" | ||
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<path android:fillColor="@android:color/white" android:pathData="M7.41,8.59L12,13.17l4.59,-4.58L18,10l-6,6 -6,-6 1.41,-1.41z"/> | ||
</vector> |
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,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item> | ||
<layer-list> | ||
<item> | ||
<shape> | ||
<solid android:color="@color/white" /> | ||
</shape> | ||
</item> | ||
<item android:width="24dp" android:height="24dp" android:drawable="@drawable/baseline_keyboard_arrow_down_24" android:gravity="right|center_vertical" /> | ||
|
||
</layer-list> | ||
</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,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<TextView xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:id="@+id/tv_spinner" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="start" | ||
android:paddingStart="5dp" | ||
android:paddingTop="2dp" | ||
android:paddingEnd="10dp" | ||
android:paddingBottom="2dp" | ||
android:textColor="@color/brown_grey" | ||
android:textSize="14sp" | ||
app:drawableEndCompat="@drawable/down_arrow" /> |
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,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string-array name="sort_name"> | ||
<item>@string/sort_latest</item> | ||
<item>@string/sort_top_rated</item> | ||
</string-array> | ||
|
||
<string-array name="tab_name"> | ||
<item>@string/cooking</item> | ||
<item>@string/game</item> | ||
<item>@string/movie</item> | ||
<item>@string/music</item> | ||
<item>@string/travel</item> | ||
<item>@string/study</item> | ||
</string-array> | ||
</resources> |
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,4 @@ | ||
<resources> | ||
<!-- TODO: Remove or change this placeholder text --> | ||
<string name="hello_blank_fragment">Hello blank fragment</string> | ||
</resources> |
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,15 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<style name="TabTextSize" parent="TextAppearance.Design.Tab"> | ||
<item name="android:textSize">16sp</item> | ||
<item name="android:textStyle">bold</item> | ||
</style> | ||
|
||
<style name="SpinnerArrow" parent="Widget.AppCompat.Spinner"> | ||
<item name="overlapAnchor">true</item> | ||
<item name="android:background">@drawable/down_arrow</item> | ||
<item name="android:gravity">center_vertical</item> | ||
</style> | ||
|
||
</resources> |