を取られた
の入力を開始しないことが起こっています
<android.support.design.widget.TextInputLayout
android:id="@+id/ti_keyword_error"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/defaultLayoutPadding"
android:layout_marginRight="@dimen/defaultLayoutPadding"
android:layout_marginTop="@dimen/adv_top_padding">
<android.support.v7.widget.AppCompatEditText
android:id="@+id/et_keyword_search"
style="@style/match_wrap.white_hint.no_focusable"
android:textColorHint="@color/color_white"
android:hint="@string/m_adv_keyskills" />
</android.support.design.widget.TextInputLayout>
私はこれはあなたのxmlファイルを共有することができTextInputLayout
final boolean hasText = mEditText != null && !TextUtils.isEmpty(mEditText.getText());
final boolean isFocused = arrayContains(getDrawableState(), android.R.attr.state_focused);
final boolean isErrorShowing = !TextUtils.isEmpty(getError());
if (mDefaultTextColor != null) {
mCollapsingTextHelper.setExpandedTextColor(mDefaultTextColor.getDefaultColor());
}
if (mCounterOverflowed && mCounterView != null) {
mCollapsingTextHelper.setCollapsedTextColor(mCounterView.getCurrentTextColor());
} else if (isErrorShowing && mErrorView != null) {
mCollapsingTextHelper.setCollapsedTextColor(mErrorView.getCurrentTextColor());
} else if (isFocused && mFocusedTextColor != null) {
mCollapsingTextHelper.setCollapsedTextColor(mFocusedTextColor.getDefaultColor());
} else if (mDefaultTextColor != null) {
mCollapsingTextHelper.setCollapsedTextColor(mDefaultTextColor.getDefaultColor());
}
if (hasText || isFocused || isErrorShowing) {
// We should be showing the label so do so if it isn't already
collapseHint(animate);
} else {
// We should not be showing the label so hide it
expandHint(animate);
}
foのデフォルトの動作で、コードをチェックしていますか? – Eenvincible
私のXMLが追加されました。 – Bytecode