안에 나는 inside
LinearLayout
인 TextInputLayout
에 싸여되는 EditText
을 가지고 있고 나는 LinearLayout
이 touched
때 fragment
을 보여주고 싶어요. 그러나 EditText
은 touch
을 가로 채고 있습니다. 만들기보기 클릭 아닌 EDITTEXT보기
color slightly
변경을 제외하고 아무것도하지 않는
EditText
과
TextInputLayout
하지만 지금은
touch
에
focusable="false"
및
clickable="false"
을 설정했습니다.
회색으로 바뀐 style color
변경으로 인해 enabled="false"
을 설정하고 싶지 않습니다.
내 XML : 지금은
<LinearLayout
android:id="@+id/type_layout"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:id="@+id/type_input_layout"
android:clickable="false"
android:focusable="false">
<EditText
android:id="@+id/type_input"
android:hint="Type"
android:text="Public"
android:clickable="false"
android:focusable="false"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textNoSuggestions|textMultiLine"
android:background="@color/transparent"
android:gravity="left"
android:textSize="22sp"/>
</android.support.design.widget.TextInputLayout>
</LinearLayout>
내 솔루션 : 단지
그렇지 않습니다. 회색이기도합니다. 내가 원하지 않는 모든 것. – nic