Comment faire pour désactiver la touche de mise en page précédente
J'ai android de mise en page comme suit:
<RelativeLayout>
<Layout
android:id="@+id/login_fragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:name="com.test.console.LoginFragment" />
<Layout
android:id="@+id/transperent_fragment"
android:name="com.test.transperentFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/body_texture"
android:alpha="0.2"> />
</RelativeLayout>
Si je touche sur la couche transparente encore de connexion bouton cliqué. Alors, comment éviter de connexion cliquez sur le bouton après contact sur le transparent de mise en page
OriginalL'auteur Vishwanath Deshmukh | 2013-01-10
Vous devez vous connecter pour publier un commentaire.
Il y a 2 options pour faire de votre fond de mise en page non cliquable:
android:clickable="false"
android:clickable="true"
, puis touchez ne pas passer aux couches inférieures.Espère que cela vous aide!
le point 2 est grande. Merci
#2 a fonctionné parfaitement pour moi pour une Feuille Inférieure.
OriginalL'auteur
utilisation wrap_content pour bouton de connexion
OriginalL'auteur