diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-09-15 12:44:55 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-09-15 12:44:55 +0200 |
commit | 9cf049775fd529d3d9afa6b6eca169a0d0943990 (patch) | |
tree | 861fa848051381390865cd68fe48d6c4f8dbfd7c /ui/src/main/java/com/wireguard/android/widget | |
parent | 92122e60c633b20afe28a2b8e49a20713ed53d62 (diff) |
MonkeyedTextInputEditText: add note about sunset plan
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src/main/java/com/wireguard/android/widget')
-rw-r--r-- | ui/src/main/java/com/wireguard/android/widget/MonkeyedTextInputEditText.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/src/main/java/com/wireguard/android/widget/MonkeyedTextInputEditText.kt b/ui/src/main/java/com/wireguard/android/widget/MonkeyedTextInputEditText.kt index 97746c09..f9b81bea 100644 --- a/ui/src/main/java/com/wireguard/android/widget/MonkeyedTextInputEditText.kt +++ b/ui/src/main/java/com/wireguard/android/widget/MonkeyedTextInputEditText.kt @@ -13,6 +13,12 @@ import com.google.android.material.R import com.google.android.material.textfield.TextInputEditText import com.google.android.material.textfield.TextInputLayout +/* Is this no longer necessary? + * https://github.com/material-components/material-components-android/pull/1163 was merged via + * https://github.com/material-components/material-components-android/commit/22973ff10305397bfc72fed41684175fee8aeefb . + * It would seem like we can now set expandedHintEnabled=false + * TODO: when a new material-components library comes out, switch to expandedHintEnabled=false. + */ class MonkeyedTextInputEditText @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.editTextStyle) : TextInputEditText(context, attrs, defStyleAttr) { @Override override fun getText(): Editable? { |