1
Est-il possible de gérer l'info-bulle dans widget.TextInputLayout
Comme Edittext
il est pas le seul dans le widget de groupe. Avec TextInputLayout
l'indice n'a pas fonctionné. Dites-moi s'il y a un moyen de demander de l'aide?
C'est ma mise en page:
<android.support.design.widget.TextInputLayout
android:id="@+id/til_account"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="10dp"
android:layout_weight="1"
android:textColorHint="@color/colorTextHint">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<EditText
android:id="@+id/et_account_tint"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/colorTextHint"
android:maxLines="1"
android:theme="@style/EditText"
android:textSize="16sp" />
<EditText
android:id="@+id/et_account"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:drawableRight="@mipmap/ic_selectcontact"
android:hint="@string/enter_phone_number_contact_name"
android:inputType="text"
android:maxLines="1"
android:textColorHint="@color/colorTextHint"
android:textSize="16sp"
android:theme="@style/EditText" />
<TextView
android:id="@+id/et_account_button"
android:layout_width="70dp"
android:layout_height="35dp"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:background="@android:color/transparent"
android:onClick="@{presenter::onClick}"
android:textSize="16sp"
tools:ignore="LabelFor" />
</RelativeLayout>
</android.support.design.widget.TextInputLayout>
ne fonctionne pas, j'ai besoin tous les EditView et TextView étaient à un moment donné. –
mettre ces deux comme app: hintEnabled = "true" app: hintAnimationEnabled = "false" dans tous