Skip to content

Commit

Permalink
DEP-170 ui: 그라데이션 추가 (#54)
Browse files Browse the repository at this point in the history
* chore: fragment와 viewModel 생성

* ui: 짝꿍 만들기 1단계 ui 구현

* ui: 그라데이션 추가
  • Loading branch information
juhwankim-dev authored Dec 4, 2022
1 parent 258cde3 commit 669fd83
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
11 changes: 11 additions & 0 deletions presentation/mate/src/main/res/drawable/bg_white_gradient.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">

<gradient
android:startColor="#00FFFFFF"
android:centerColor="#FFFFFF"
android:endColor="#FFFFFF"
android:angle="270"/>

</shape>
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,17 @@
app:layout_constraintStart_toStartOf="@+id/gl_begin"
app:layout_constraintEnd_toEndOf="@id/gl_end"
app:layout_constraintTop_toBottomOf="@+id/tv_connect_habit_guide"
app:layout_constraintBottom_toTopOf="@+id/btn_next"
app:layout_constraintBottom_toBottomOf="parent"
tools:listitem="@layout/item_habit"/>

<View
android:layout_width="0dp"
android:layout_height="76dp"
android:background="@drawable/bg_white_gradient"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent" />

<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btn_next"
android:layout_width="0dp"
Expand Down

0 comments on commit 669fd83

Please sign in to comment.