Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Implemented #2018: Added support for multi-lined input fields of a given line count #2042

Open
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

gobrien37
Copy link

Per issue #2018, It is now possible to have input dialogs that wrap to additional lines. The allowed number of lines that can be displayed at once is declared in the maxLines parameter of input. Any lines beyond maxLines can still be scrolled. Multi-line input fields require the TYPE_TEXT_FLAG_MULTI_LINE inputType to work.

An additional sample, input_multiline, has been created to demonstrate this implementation.

Mauker1 and others added 25 commits February 17, 2020 19:30
Updating documentation to show that you can also set the maxDate parameter.
Set hint on TextInputLayout instead of EditText so that it animates properly when you start typing.

From documentation:
* The hint should be set on the TextInputLayout, rather than the EditText. If a hint is specified
 * on the child EditText in XML, the TextInputLayout might still work correctly; TextInputLayout
 * will use the EditText's hint as its floating label. However, future calls to modify the hint will
 * not update TextInputLayout's hint.
…atically (afollestad#1972)

* Change RadioButton's colors programmatically

* Update sample to demonstrate changing RadioButton's colors programmatically
@jacobceles
Copy link

@afollestad Could you please review and merge this PR if it looks okay?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants