-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Design/#1] 코드 입력 textInputLayout 디자인
- Loading branch information
Showing
4 changed files
with
39 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,5 @@ | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:color="@color/grey_300" android:state_focused="true"/> | ||
<item android:color="@color/grey_300" android:state_hovered="true"/> | ||
<item android:color="@color/grey_300" android:state_hovered="true"/> | ||
</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 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="24dp" | ||
android:height="24dp" | ||
android:viewportWidth="24" | ||
android:viewportHeight="24"> | ||
<path | ||
android:pathData="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" | ||
android:fillColor="#FF0000"/> | ||
</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
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 |
---|---|---|
@@ -1,9 +1,33 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<style name="toolbar"> | ||
<item name="android:layout_width">match_parent</item> | ||
<item name="android:layout_height">?attr/actionBarSize</item> | ||
<item name="android:background">@color/white</item> | ||
<item name="contentInsetStart">0dp</item> | ||
</style> | ||
|
||
<style name="TextInputLayoutStyle" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox"> | ||
|
||
<!--FilledBox일 경우 밑줄 색상, OutlinedBox일 경우 테두리 색상--> | ||
<item name="boxStrokeColor">@color/sel_invite_code_input_layout</item> | ||
<!--Error--> | ||
<item name="errorEnabled">true</item> | ||
<item name="colorError">@color/error_red</item> | ||
<item name="errorIconDrawable">@drawable/ic_close</item> | ||
<item name="boxStrokeErrorColor">@color/error_red</item> | ||
<item name="errorTextAppearance">@style/ErrorTextAppearance</item> | ||
<!--Radius--> | ||
<item name="boxCornerRadiusTopStart">50dp</item> | ||
<item name="boxCornerRadiusTopEnd">50dp</item> | ||
<item name="boxCornerRadiusBottomEnd">50dp</item> | ||
<item name="boxCornerRadiusBottomStart">50dp</item> | ||
</style> | ||
|
||
<style name="ErrorTextAppearance"> | ||
<item name="android:textStyle">normal</item> | ||
<item name="android:includeFontPadding">false</item> | ||
<item name="android:textSize">16sp</item> | ||
</style> | ||
</resources> |