の内側に私はinside
LinearLayout
あるTextInputLayout
に包まれEditText
を持っていると私はLinearLayout
がtouched
ときfragment
を示したいと思います。しかしEditText
はtouch
を傍受しています。メイキングビューのクリック可能な、ないEDITTEXTビュー
私はEditText
とTextInputLayout
上focusable="false"
とclickable="false"
を設定しようとしたが、今touch
は少しのヒントcolor slightly
を変更を除いて何もしません。
enabled="false"
は灰色で表示されないため、style color
が変更されていません。
私の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>
私のソリューション:ただのEditText
それは、それも灰色ではありません私が望んでいないすべてのもの – nic