Chamaeleon (Your Material Textfield)

Yes, but it will improve in the next update!

2 Likes

great extension @hammerhai !
I was just trying the new version, but unfortunately, i didn’t get it working :sweat: It always throws this error:

java.lang.NoSuchMethodError: No virtual method setTextCursorDrawable(Landroid/graphics/drawable/Drawable;)V in class Landroid/support/design/widget/TextInputEditText; or its super classes (declaration of 'android.support.design.widget.TextInputEditText appears in base.apk)

My blocks for testing are:


However, this error is quite clear, setTextCursorDrawable method was added in api 29 ( In the textView class ).Mine is 24 ( Android 7.0 Nougat ) :sweat_smile:

2 Likes

Critical Fix (#24)

This release fixes a critical issue that would prevent the creation of textfields.

io.gitlab.stormifire.textfields.aix (3.1 MB)
The version was not changed, we are still in the month of November.

6 Likes

great and too sized extension great.
but how do u reduce size of aix?

1 Like

At the moment I have not reduced the size, however that will be fixed shortly!

1 Like

2020.11.12 — V2

This release has been incremented and is experimental. Use with caution. If problems occur, please downgrade to 2020-12 after reporting the issue.

This release includes:

  • A reduced library size.
  • The “mode” property has moved to the designer. This will not effect current dictionaries used in the Configure method, they will just be useless blocks and there is no need to remove them unless you’d like to!

io.gitlab.stormifire.textfields.aix (664.8 KB)

6 Likes

Thanks for reducing size

1 Like

Is there any way to change the border color? I’ve used the same blocks as yours and changed themes but it’s still a grey, barely visible color.

tested on 2020.11.12 and 20220.11.11

1 Like

is this like a custom textbox extension?

This version I have noticed has issues with the border color.

I can add this if you’d like, but I do have to figure out why the border won’t change colors from 12 days ago.

Sure? :thinking:

2 Likes

If you can do this it would be fantastic! Since it’s not visible on a gradient background.

2 Likes

It’s not a matter of whether I can or can’t. I can, but I weighed the decision of adding it in the beginning because I did not know if people would contrast colors correctly, so instead I based it on whether the background of what it was being place in was light or dark.

@progr It seems I made a mistake on my part, I must’ve forgot that I moved the mode property while testing after building. I’ll add a custom color option for the border!

2 Likes

PLSSSS SAY ME
is this extension like addylins tutorial or u can create other designs with this
but i feel addylins trick is tough so which is best .extension vs tutorial

1 Like

I’m sorry, did you not try the extension? From what I understand, you were telling me to reduce the size of the extension so I’m going to assume you’ve tried it.

2 Likes

error
image

1 Like

Thanks, appreciate your work :grin:

2 Likes

What version are you using?

2 Likes

Great extension . :golfing_man:t2:

1 Like

v2.2.1

Additions

  • Theme property, only available in the designer
    • Added Do not apply.
      • This will make sure you can customize both the border and hint color without it doing so automatically.
  • Added SetBorderColor so the border color of each text field can be changed by inputting their ID and a new color.
  • Added SetHintColor so the hint color of each text field can be changed by inputting their ID and a new color.
  • Added SetInput so the text of each text field can be changed by inputting their ID and new text.
  • Added SetInputColor so the input (text) color of each text field can be changed by inputting their ID and a new color.
  • Added SetSecondaryColor so the focused border color of each text field can be changed by inputting their ID and a new color.
    • By using the Configure method, you can still set this property, but it will be extension-wide so you don’t have to change the secondary color with this method every time.

Changes

  • Renamed Mode property to Theme
    • Renamed DARK to Dark
    • Renamed LIGHT to Light

Deletions

  • Removed TEXT_COLOR from the configuration structure. This is now set for each individual text field upon creation if it’s specified. Otherwise it will default to #FFFFFF. Of course as before, this does not have to be removed unless you’d like to remove it, but you will have to set this property for each text field upon creation now.

Improvements

  • Size has improved by 90%. New size is 67.9 KB.

Go here to preview an example of all the new blocks and go here to download io.gitlab.stormifire.textfields.aix.

7 Likes

Thank you!

Very good