-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix text color not working issue with PinEntryEditText.
Add support for pin background drawable in PinEntryEditText.
- Loading branch information
Ali Muzaffar
committed
Apr 28, 2016
1 parent
5a0d645
commit 7b31d1c
Showing
8 changed files
with
139 additions
and
24 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
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
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
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,6 +1,6 @@ | ||
#Wed Oct 21 11:34:03 PDT 2015 | ||
#Sun Apr 17 11:55:01 AEST 2016 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip |
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,31 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<!-- Space contains text --> | ||
<item android:state_checked="true" android:state_focused="true"> | ||
<shape android:shape="rectangle"> | ||
<stroke android:width="2dp" android:color="@android:color/holo_green_light" /> | ||
<solid android:color="#CCCCCC" /> | ||
</shape> | ||
</item> | ||
<!--Space is the next space for character input --> | ||
<item android:state_focused="true" android:state_selected="true"> | ||
<shape android:shape="rectangle"> | ||
<stroke android:width="2dp" android:color="@android:color/holo_green_light" /> | ||
<solid android:color="@android:color/white" /> | ||
</shape> | ||
</item> | ||
<!-- PinEntryEditText is focused --> | ||
<item android:state_focused="true"> | ||
<shape android:shape="rectangle"> | ||
<stroke android:width="2dp" android:color="#CCCCCC" /> | ||
<solid android:color="@android:color/white" /> | ||
</shape> | ||
</item> | ||
<!-- PinEntryEditText is not focused --> | ||
<item> | ||
<shape android:shape="rectangle"> | ||
<solid android:color="@android:color/darker_gray" /> | ||
</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