-
Notifications
You must be signed in to change notification settings - Fork 79
XfxEntry and XfxComboBox colors #6
Comments
+1 |
Any progress in this bug?:( |
None yet. It actually takes a bit of planning to figure out how I want to handle all of the states.
On Fri, Mar 31, 2017 at 2:42pm, Bryan Sanchez < [email protected] [[email protected]] > wrote:
Any progress in this bug?:(
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub [#6 (comment)] , or mute the thread [https://github.com/notifications/unsubscribe-auth/AAcySuD8mfIadG12U5lCmoS6A71wrxVcks5rrXNDgaJpZM4Mhn4K] .
|
Can i help you, or you wanna to handle this bug yourself? I need this functionality :( |
I'm keen on the help for sure! So I was originally thinking we'd use These would set the color of the floated label and the underline (but not the placeholder). The default FocusedColor should should be Also keep in mind that an error will override the underline color to RED, but the floated label stays the same color for it's state. Feel free to bounce ideas around here, or run with the implementation if you like. FYI the Also note that you don't have to touch the ComboBox as the EntryRenderer will handle it for both. |
Okey i will see what can i do, if i able to get any progress i will tell you :D |
@bryansan did you get anywhere with this? |
No :/ i didn't any useful, I will keep trying when I get some free time
Enviado desde mi iPhone
El may. 11, 2017, a las 7:39 PM, Chase Florell <[email protected]<mailto:[email protected]>> escribió:
@bryansan<https://github.com/bryansan> did you get anywhere with this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#6 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/APp14oaVkkMGHCcqI60AIH3mfCPUjUncks5r46pMgaJpZM4Mhn4K>.
|
Just a note to say this hasn't fallen off the tracks yet. It is hard however to find time, and every time I go to tackle it I get overwhelmed with Xamarin Forms |
I am not sure if this might help, but I modified the cursor color, default hint color, and text color when activated like this:
|
@DevAnkur does this require anything special in the app styles xml or can it be fully programmatic? I'd be interested in a PR if you have time. I can handle the iOS stuff if you want to PR the Android stuff. Also note we need to handle the state when active vs inactive. |
@ChaseFlorell , sorry for late reply. For changing the placeholder color and text color, we won't require style.xml, it is fully programmatic. I will try to work on PR over the weekend but I can't commit as I am a bit occupied with office work. |
Whatever you can do I appreciate. I'm also tied up on other tasks and haven't been able to fully commit to this lately. |
Is there any update here? |
This would be very nice, any updates? |
+1 |
Still super tied up right now. If anyone wants to submit a PR, it'll be greatly appreciated. Otherwise there's going to be a delay until I can dedicate several hours to this one. |
@ChaseFlorell |
For me, it would already be a big help, if the color would be set to the Accent/Tint color on iOS (that is what is actually happening in Android). Because that is actually the default color I want to set it to. I cannot get the project to compile, still working on that here. But I think this would do the trick. In the iOS Project in FloatLabeledTextField.cs: Line 30, add:
Line 60:
and add
If I get the project to compile, I will make a push request. |
@RudolfVonKrugstein definitely a good stop-gap |
I added a pull request here: #32 It is not as simple as I wrote a few posts up because one has to be careful at what point the Accent color is set. |
Merged, thank you @RudolfVonKrugstein . |
@ChaseFlorell Is it fixed? |
@jariwalahetal no. The merged PR simply makes it so that the color is set to the Accent color on iOS. It is only a stop-gap until we can get the bindings wired up. |
I have completed the iOS (read easy) work. |
I'm pretty close to being finished this story, however I'm struggling with the underline on Android. I've asked for help on StackOverflow as I just can't figure this out. |
Finally solved the Android debacle. Had to go pure AppCompat. |
Bug
Expected Behavior
Setting Placeholder color will set the color of the placeholder
Actual Behavior
Setting the Placeholder color has no effect
Steps to reproduce the Behavior
Try to set the color of a placeholder
Feature Request:
There's also a feature request attached. Currently there's no way to set the Highlight color of a control. The Highlight color should update the underline as well as the label of an XfxEntry and an XfxComboBox.
Api Change:
The text was updated successfully, but these errors were encountered: