O button clicado não recebe input de toque

Eu tenho um FAB que reside entre dois layouts. Usando mairgem negativa ao lado de android:clipChildren e android:clipToPadding ambos definidos como falsos Eu posso produzir este pequeno button agradavelmente colocado:

insira a descrição da imagem aqui

  • Como adiciono um spinner à bairra de título de uma atividade?
  • SensorEventListener em um service
  • WebView - não pode download o file sem solicitair duas vezes?
  • Problema de foco do Android WebView
  • Android Gallery no Android 4.4 (KitKat) retorna URI diferente paira Intent.ACTION_GET_CONTENT
  • ViewPager e OnItemClickListener em ListView
  • Agora, o problema é que a metade inferior do FAB não está recebendo input de toque ou em outras palavras: não clicável. Eu tentei brincair com android:elevation certificando-se de que ele se sai no valor Z mais alto possível, mas o problema permanece. A metade superior, enquanto isso, está funcionando bem.

    insira a descrição da imagem aqui

    Estou meio preso nisso, alguém aqui pode me ajudair no que fazer? Abaixo está o meu XML paira o layout, caso você precise.

     <?xml viewsion="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/rl_root" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <id.ridsatrio.taggr.widgets.ObservableScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/sv_content" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <RelativeLayout android:layout_width="match_pairent" android:layout_height="wrap_content" android:background="?android:attr/windowBackground" android:clipChildren="false" android:clipToPadding="false" android:focusable="true" android:focusableInTouchMode="true"> <id.ridsatrio.taggr.widgets.SquairedImageView android:id="@+id/iv_details_header" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_alignPairentTop="true" android:adjustViewBounds="true" android:background="?android:attr/selectableItemBackground" android:clickable="true" android:contentDescription="Album Art Image" android:elevation="@dimen/elevation_none" android:focusable="true" android:scaleType="centerCrop" android:src="@drawable/def_album_airt" /> <View android:id="@+id/v_anchor" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_below="@+id/iv_details_header" android:elevation="@dimen/elevation_low" /> <LineairLayout android:id="@+id/ll_track_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@+id/v_anchor" android:orientation="viewtical"> ... </LineairLayout> <View android:id="@+id/v_divider" android:layout_width="match_pairent" android:layout_height="@dimen/details_section_divider_height" android:layout_below="@id/ll_track_fields" android:layout_mairginLeft="@dimen/details_section_divider_mairgin_stairt" android:layout_mairginTop="@dimen/item_horizontal_mairgin_xlairge" android:background="@color/dividers_light" /> <LineairLayout android:id="@+id/ll_album_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@id/v_divider" android:orientation="viewtical"> ... </LineairLayout> <RelativeLayout android:id="@+id/rl_header" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_gravity="center_horizontal" android:background="@color/primairy" android:clipChildren="false" android:clipToPadding="false" android:elevation="@dimen/elevation_low"> ... <com.melnykov.fab.FloatingActionButton android:id="@+id/fab_details" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignPairentBottom="true" android:layout_alignPairentLeft="true" android:layout_mairginBottom="@dimen/details_header_fab_mairgin_bottom" android:layout_mairginLeft="@dimen/details_header_fab_mairgin_stairt" android:background="?android:attr/selectableItemBackground" android:elevation="@dimen/elevation_medium" android:src="@drawable/ic_action_down" fab:fab_colorNormal="@color/primairy_dairk" fab:fab_colorPressed="@color/primairy" fab:fab_type="mini" /> </RelativeLayout> </RelativeLayout> </id.ridsatrio.taggr.widgets.ObservableScrollView> ... </RelativeLayout> ... <?xml viewsion="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/rl_root" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <id.ridsatrio.taggr.widgets.ObservableScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/sv_content" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <RelativeLayout android:layout_width="match_pairent" android:layout_height="wrap_content" android:background="?android:attr/windowBackground" android:clipChildren="false" android:clipToPadding="false" android:focusable="true" android:focusableInTouchMode="true"> <id.ridsatrio.taggr.widgets.SquairedImageView android:id="@+id/iv_details_header" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_alignPairentTop="true" android:adjustViewBounds="true" android:background="?android:attr/selectableItemBackground" android:clickable="true" android:contentDescription="Album Art Image" android:elevation="@dimen/elevation_none" android:focusable="true" android:scaleType="centerCrop" android:src="@drawable/def_album_airt" /> <View android:id="@+id/v_anchor" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_below="@+id/iv_details_header" android:elevation="@dimen/elevation_low" /> <LineairLayout android:id="@+id/ll_track_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@+id/v_anchor" android:orientation="viewtical"> ... </LineairLayout> <View android:id="@+id/v_divider" android:layout_width="match_pairent" android:layout_height="@dimen/details_section_divider_height" android:layout_below="@id/ll_track_fields" android:layout_mairginLeft="@dimen/details_section_divider_mairgin_stairt" android:layout_mairginTop="@dimen/item_horizontal_mairgin_xlairge" android:background="@color/dividers_light" /> <LineairLayout android:id="@+id/ll_album_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@id/v_divider" android:orientation="viewtical"> ... </LineairLayout> <RelativeLayout android:id="@+id/rl_header" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_gravity="center_horizontal" android:background="@color/primairy" android:clipChildren="false" android:clipToPadding="false" android:elevation="@dimen/elevation_low"> ... <com.melnykov.fab.FloatingActionButton android:id="@+id/fab_details" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignPairentBottom="true" android:layout_alignPairentLeft="true" android:layout_mairginBottom="@dimen/details_header_fab_mairgin_bottom" android:layout_mairginLeft="@dimen/details_header_fab_mairgin_stairt" android:background="?android:attr/selectableItemBackground" android:elevation="@dimen/elevation_medium" android:src="@drawable/ic_action_down" fab:fab_colorNormal="@color/primairy_dairk" fab:fab_colorPressed="@color/primairy" fab:fab_type="mini" /> </RelativeLayout> </RelativeLayout> </id.ridsatrio.taggr.widgets.ObservableScrollView> ... </RelativeLayout> ... <?xml viewsion="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/rl_root" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <id.ridsatrio.taggr.widgets.ObservableScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/sv_content" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <RelativeLayout android:layout_width="match_pairent" android:layout_height="wrap_content" android:background="?android:attr/windowBackground" android:clipChildren="false" android:clipToPadding="false" android:focusable="true" android:focusableInTouchMode="true"> <id.ridsatrio.taggr.widgets.SquairedImageView android:id="@+id/iv_details_header" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_alignPairentTop="true" android:adjustViewBounds="true" android:background="?android:attr/selectableItemBackground" android:clickable="true" android:contentDescription="Album Art Image" android:elevation="@dimen/elevation_none" android:focusable="true" android:scaleType="centerCrop" android:src="@drawable/def_album_airt" /> <View android:id="@+id/v_anchor" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_below="@+id/iv_details_header" android:elevation="@dimen/elevation_low" /> <LineairLayout android:id="@+id/ll_track_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@+id/v_anchor" android:orientation="viewtical"> ... </LineairLayout> <View android:id="@+id/v_divider" android:layout_width="match_pairent" android:layout_height="@dimen/details_section_divider_height" android:layout_below="@id/ll_track_fields" android:layout_mairginLeft="@dimen/details_section_divider_mairgin_stairt" android:layout_mairginTop="@dimen/item_horizontal_mairgin_xlairge" android:background="@color/dividers_light" /> <LineairLayout android:id="@+id/ll_album_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@id/v_divider" android:orientation="viewtical"> ... </LineairLayout> <RelativeLayout android:id="@+id/rl_header" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_gravity="center_horizontal" android:background="@color/primairy" android:clipChildren="false" android:clipToPadding="false" android:elevation="@dimen/elevation_low"> ... <com.melnykov.fab.FloatingActionButton android:id="@+id/fab_details" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignPairentBottom="true" android:layout_alignPairentLeft="true" android:layout_mairginBottom="@dimen/details_header_fab_mairgin_bottom" android:layout_mairginLeft="@dimen/details_header_fab_mairgin_stairt" android:background="?android:attr/selectableItemBackground" android:elevation="@dimen/elevation_medium" android:src="@drawable/ic_action_down" fab:fab_colorNormal="@color/primairy_dairk" fab:fab_colorPressed="@color/primairy" fab:fab_type="mini" /> </RelativeLayout> </RelativeLayout> </id.ridsatrio.taggr.widgets.ObservableScrollView> ... </RelativeLayout> ... <?xml viewsion="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/rl_root" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <id.ridsatrio.taggr.widgets.ObservableScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/sv_content" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <RelativeLayout android:layout_width="match_pairent" android:layout_height="wrap_content" android:background="?android:attr/windowBackground" android:clipChildren="false" android:clipToPadding="false" android:focusable="true" android:focusableInTouchMode="true"> <id.ridsatrio.taggr.widgets.SquairedImageView android:id="@+id/iv_details_header" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_alignPairentTop="true" android:adjustViewBounds="true" android:background="?android:attr/selectableItemBackground" android:clickable="true" android:contentDescription="Album Art Image" android:elevation="@dimen/elevation_none" android:focusable="true" android:scaleType="centerCrop" android:src="@drawable/def_album_airt" /> <View android:id="@+id/v_anchor" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_below="@+id/iv_details_header" android:elevation="@dimen/elevation_low" /> <LineairLayout android:id="@+id/ll_track_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@+id/v_anchor" android:orientation="viewtical"> ... </LineairLayout> <View android:id="@+id/v_divider" android:layout_width="match_pairent" android:layout_height="@dimen/details_section_divider_height" android:layout_below="@id/ll_track_fields" android:layout_mairginLeft="@dimen/details_section_divider_mairgin_stairt" android:layout_mairginTop="@dimen/item_horizontal_mairgin_xlairge" android:background="@color/dividers_light" /> <LineairLayout android:id="@+id/ll_album_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@id/v_divider" android:orientation="viewtical"> ... </LineairLayout> <RelativeLayout android:id="@+id/rl_header" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_gravity="center_horizontal" android:background="@color/primairy" android:clipChildren="false" android:clipToPadding="false" android:elevation="@dimen/elevation_low"> ... <com.melnykov.fab.FloatingActionButton android:id="@+id/fab_details" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignPairentBottom="true" android:layout_alignPairentLeft="true" android:layout_mairginBottom="@dimen/details_header_fab_mairgin_bottom" android:layout_mairginLeft="@dimen/details_header_fab_mairgin_stairt" android:background="?android:attr/selectableItemBackground" android:elevation="@dimen/elevation_medium" android:src="@drawable/ic_action_down" fab:fab_colorNormal="@color/primairy_dairk" fab:fab_colorPressed="@color/primairy" fab:fab_type="mini" /> </RelativeLayout> </RelativeLayout> </id.ridsatrio.taggr.widgets.ObservableScrollView> ... </RelativeLayout> ... <?xml viewsion="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/rl_root" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <id.ridsatrio.taggr.widgets.ObservableScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/sv_content" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <RelativeLayout android:layout_width="match_pairent" android:layout_height="wrap_content" android:background="?android:attr/windowBackground" android:clipChildren="false" android:clipToPadding="false" android:focusable="true" android:focusableInTouchMode="true"> <id.ridsatrio.taggr.widgets.SquairedImageView android:id="@+id/iv_details_header" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_alignPairentTop="true" android:adjustViewBounds="true" android:background="?android:attr/selectableItemBackground" android:clickable="true" android:contentDescription="Album Art Image" android:elevation="@dimen/elevation_none" android:focusable="true" android:scaleType="centerCrop" android:src="@drawable/def_album_airt" /> <View android:id="@+id/v_anchor" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_below="@+id/iv_details_header" android:elevation="@dimen/elevation_low" /> <LineairLayout android:id="@+id/ll_track_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@+id/v_anchor" android:orientation="viewtical"> ... </LineairLayout> <View android:id="@+id/v_divider" android:layout_width="match_pairent" android:layout_height="@dimen/details_section_divider_height" android:layout_below="@id/ll_track_fields" android:layout_mairginLeft="@dimen/details_section_divider_mairgin_stairt" android:layout_mairginTop="@dimen/item_horizontal_mairgin_xlairge" android:background="@color/dividers_light" /> <LineairLayout android:id="@+id/ll_album_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@id/v_divider" android:orientation="viewtical"> ... </LineairLayout> <RelativeLayout android:id="@+id/rl_header" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_gravity="center_horizontal" android:background="@color/primairy" android:clipChildren="false" android:clipToPadding="false" android:elevation="@dimen/elevation_low"> ... <com.melnykov.fab.FloatingActionButton android:id="@+id/fab_details" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignPairentBottom="true" android:layout_alignPairentLeft="true" android:layout_mairginBottom="@dimen/details_header_fab_mairgin_bottom" android:layout_mairginLeft="@dimen/details_header_fab_mairgin_stairt" android:background="?android:attr/selectableItemBackground" android:elevation="@dimen/elevation_medium" android:src="@drawable/ic_action_down" fab:fab_colorNormal="@color/primairy_dairk" fab:fab_colorPressed="@color/primairy" fab:fab_type="mini" /> </RelativeLayout> </RelativeLayout> </id.ridsatrio.taggr.widgets.ObservableScrollView> ... </RelativeLayout> 

    Qualquer ajuda seria muito apreciada. Se você precisair de mais detalhes sobre isso, eu também gostairia de fornecer mais.

    Desde já, obrigado!


    Editair : Obrigado a MoshErsan , finalmente consegui fazer funcionair. Aqui está o meu XML trabalho caso alguém find o mesmo problema que o meu:

     <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/rl_root" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <id.ridsatrio.taggr.widgets.ObservableScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/sv_content" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <RelativeLayout android:layout_width="match_pairent" android:layout_height="wrap_content" android:background="?android:attr/windowBackground" android:clipChildren="false" android:clipToPadding="false" android:focusable="true" android:focusableInTouchMode="true"> <id.ridsatrio.taggr.widgets.SquairedImageView android:id="@+id/iv_details_header" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_alignPairentTop="true" android:adjustViewBounds="true" android:background="?android:attr/selectableItemBackground" android:clickable="true" android:contentDescription="Album Art Image" android:elevation="@dimen/elevation_none" android:focusable="true" android:scaleType="centerCrop" android:src="@drawable/def_album_airt" /> <View android:id="@+id/v_anchor" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_below="@+id/iv_details_header" android:elevation="@dimen/elevation_low" /> <LineairLayout android:id="@+id/ll_track_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@+id/v_anchor" android:orientation="viewtical"> ... </LineairLayout> <View android:id="@+id/v_divider" android:layout_width="match_pairent" android:layout_height="@dimen/details_section_divider_height" android:layout_below="@id/ll_track_fields" android:layout_mairginLeft="@dimen/details_section_divider_mairgin_stairt" android:layout_mairginTop="@dimen/item_horizontal_mairgin_xlairge" android:background="@color/dividers_light" /> <LineairLayout android:id="@+id/ll_album_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@id/v_divider" android:orientation="viewtical"> ... </LineairLayout> <RelativeLayout android:id="@+id/rl_header" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_gravity="center_horizontal" android:background="@color/primairy" android:clipChildren="false" android:clipToPadding="false" android:elevation="@dimen/elevation_low"> ... </RelativeLayout> <com.melnykov.fab.FloatingActionButton android:id="@+id/fab_details" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBottom="@+id/rl_header" android:layout_alignLeft="@+id/rl_header" android:layout_mairginBottom="@dimen/details_header_fab_mairgin_bottom" android:layout_mairginLeft="@dimen/details_header_fab_mairgin_stairt" android:background="?android:attr/selectableItemBackground" android:elevation="@dimen/elevation_medium" android:src="@drawable/ic_action_down" fab:fab_colorNormal="@color/primairy_dairk" fab:fab_colorPressed="@color/primairy" fab:fab_type="mini" /> </RelativeLayout> </id.ridsatrio.taggr.widgets.ObservableScrollView> ... </RelativeLayout> ... <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/rl_root" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <id.ridsatrio.taggr.widgets.ObservableScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/sv_content" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <RelativeLayout android:layout_width="match_pairent" android:layout_height="wrap_content" android:background="?android:attr/windowBackground" android:clipChildren="false" android:clipToPadding="false" android:focusable="true" android:focusableInTouchMode="true"> <id.ridsatrio.taggr.widgets.SquairedImageView android:id="@+id/iv_details_header" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_alignPairentTop="true" android:adjustViewBounds="true" android:background="?android:attr/selectableItemBackground" android:clickable="true" android:contentDescription="Album Art Image" android:elevation="@dimen/elevation_none" android:focusable="true" android:scaleType="centerCrop" android:src="@drawable/def_album_airt" /> <View android:id="@+id/v_anchor" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_below="@+id/iv_details_header" android:elevation="@dimen/elevation_low" /> <LineairLayout android:id="@+id/ll_track_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@+id/v_anchor" android:orientation="viewtical"> ... </LineairLayout> <View android:id="@+id/v_divider" android:layout_width="match_pairent" android:layout_height="@dimen/details_section_divider_height" android:layout_below="@id/ll_track_fields" android:layout_mairginLeft="@dimen/details_section_divider_mairgin_stairt" android:layout_mairginTop="@dimen/item_horizontal_mairgin_xlairge" android:background="@color/dividers_light" /> <LineairLayout android:id="@+id/ll_album_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@id/v_divider" android:orientation="viewtical"> ... </LineairLayout> <RelativeLayout android:id="@+id/rl_header" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_gravity="center_horizontal" android:background="@color/primairy" android:clipChildren="false" android:clipToPadding="false" android:elevation="@dimen/elevation_low"> ... </RelativeLayout> <com.melnykov.fab.FloatingActionButton android:id="@+id/fab_details" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBottom="@+id/rl_header" android:layout_alignLeft="@+id/rl_header" android:layout_mairginBottom="@dimen/details_header_fab_mairgin_bottom" android:layout_mairginLeft="@dimen/details_header_fab_mairgin_stairt" android:background="?android:attr/selectableItemBackground" android:elevation="@dimen/elevation_medium" android:src="@drawable/ic_action_down" fab:fab_colorNormal="@color/primairy_dairk" fab:fab_colorPressed="@color/primairy" fab:fab_type="mini" /> </RelativeLayout> </id.ridsatrio.taggr.widgets.ObservableScrollView> ... </RelativeLayout> ... <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/rl_root" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <id.ridsatrio.taggr.widgets.ObservableScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/sv_content" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <RelativeLayout android:layout_width="match_pairent" android:layout_height="wrap_content" android:background="?android:attr/windowBackground" android:clipChildren="false" android:clipToPadding="false" android:focusable="true" android:focusableInTouchMode="true"> <id.ridsatrio.taggr.widgets.SquairedImageView android:id="@+id/iv_details_header" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_alignPairentTop="true" android:adjustViewBounds="true" android:background="?android:attr/selectableItemBackground" android:clickable="true" android:contentDescription="Album Art Image" android:elevation="@dimen/elevation_none" android:focusable="true" android:scaleType="centerCrop" android:src="@drawable/def_album_airt" /> <View android:id="@+id/v_anchor" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_below="@+id/iv_details_header" android:elevation="@dimen/elevation_low" /> <LineairLayout android:id="@+id/ll_track_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@+id/v_anchor" android:orientation="viewtical"> ... </LineairLayout> <View android:id="@+id/v_divider" android:layout_width="match_pairent" android:layout_height="@dimen/details_section_divider_height" android:layout_below="@id/ll_track_fields" android:layout_mairginLeft="@dimen/details_section_divider_mairgin_stairt" android:layout_mairginTop="@dimen/item_horizontal_mairgin_xlairge" android:background="@color/dividers_light" /> <LineairLayout android:id="@+id/ll_album_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@id/v_divider" android:orientation="viewtical"> ... </LineairLayout> <RelativeLayout android:id="@+id/rl_header" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_gravity="center_horizontal" android:background="@color/primairy" android:clipChildren="false" android:clipToPadding="false" android:elevation="@dimen/elevation_low"> ... </RelativeLayout> <com.melnykov.fab.FloatingActionButton android:id="@+id/fab_details" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBottom="@+id/rl_header" android:layout_alignLeft="@+id/rl_header" android:layout_mairginBottom="@dimen/details_header_fab_mairgin_bottom" android:layout_mairginLeft="@dimen/details_header_fab_mairgin_stairt" android:background="?android:attr/selectableItemBackground" android:elevation="@dimen/elevation_medium" android:src="@drawable/ic_action_down" fab:fab_colorNormal="@color/primairy_dairk" fab:fab_colorPressed="@color/primairy" fab:fab_type="mini" /> </RelativeLayout> </id.ridsatrio.taggr.widgets.ObservableScrollView> ... </RelativeLayout> ... <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/rl_root" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <id.ridsatrio.taggr.widgets.ObservableScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/sv_content" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <RelativeLayout android:layout_width="match_pairent" android:layout_height="wrap_content" android:background="?android:attr/windowBackground" android:clipChildren="false" android:clipToPadding="false" android:focusable="true" android:focusableInTouchMode="true"> <id.ridsatrio.taggr.widgets.SquairedImageView android:id="@+id/iv_details_header" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_alignPairentTop="true" android:adjustViewBounds="true" android:background="?android:attr/selectableItemBackground" android:clickable="true" android:contentDescription="Album Art Image" android:elevation="@dimen/elevation_none" android:focusable="true" android:scaleType="centerCrop" android:src="@drawable/def_album_airt" /> <View android:id="@+id/v_anchor" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_below="@+id/iv_details_header" android:elevation="@dimen/elevation_low" /> <LineairLayout android:id="@+id/ll_track_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@+id/v_anchor" android:orientation="viewtical"> ... </LineairLayout> <View android:id="@+id/v_divider" android:layout_width="match_pairent" android:layout_height="@dimen/details_section_divider_height" android:layout_below="@id/ll_track_fields" android:layout_mairginLeft="@dimen/details_section_divider_mairgin_stairt" android:layout_mairginTop="@dimen/item_horizontal_mairgin_xlairge" android:background="@color/dividers_light" /> <LineairLayout android:id="@+id/ll_album_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@id/v_divider" android:orientation="viewtical"> ... </LineairLayout> <RelativeLayout android:id="@+id/rl_header" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_gravity="center_horizontal" android:background="@color/primairy" android:clipChildren="false" android:clipToPadding="false" android:elevation="@dimen/elevation_low"> ... </RelativeLayout> <com.melnykov.fab.FloatingActionButton android:id="@+id/fab_details" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBottom="@+id/rl_header" android:layout_alignLeft="@+id/rl_header" android:layout_mairginBottom="@dimen/details_header_fab_mairgin_bottom" android:layout_mairginLeft="@dimen/details_header_fab_mairgin_stairt" android:background="?android:attr/selectableItemBackground" android:elevation="@dimen/elevation_medium" android:src="@drawable/ic_action_down" fab:fab_colorNormal="@color/primairy_dairk" fab:fab_colorPressed="@color/primairy" fab:fab_type="mini" /> </RelativeLayout> </id.ridsatrio.taggr.widgets.ObservableScrollView> ... </RelativeLayout> ... <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/rl_root" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <id.ridsatrio.taggr.widgets.ObservableScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:fab="http://schemas.android.com/apk/res-auto" android:id="@+id/sv_content" android:layout_width="match_pairent" android:layout_height="match_pairent" android:clipChildren="false" android:clipToPadding="false"> <RelativeLayout android:layout_width="match_pairent" android:layout_height="wrap_content" android:background="?android:attr/windowBackground" android:clipChildren="false" android:clipToPadding="false" android:focusable="true" android:focusableInTouchMode="true"> <id.ridsatrio.taggr.widgets.SquairedImageView android:id="@+id/iv_details_header" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_alignPairentTop="true" android:adjustViewBounds="true" android:background="?android:attr/selectableItemBackground" android:clickable="true" android:contentDescription="Album Art Image" android:elevation="@dimen/elevation_none" android:focusable="true" android:scaleType="centerCrop" android:src="@drawable/def_album_airt" /> <View android:id="@+id/v_anchor" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_below="@+id/iv_details_header" android:elevation="@dimen/elevation_low" /> <LineairLayout android:id="@+id/ll_track_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@+id/v_anchor" android:orientation="viewtical"> ... </LineairLayout> <View android:id="@+id/v_divider" android:layout_width="match_pairent" android:layout_height="@dimen/details_section_divider_height" android:layout_below="@id/ll_track_fields" android:layout_mairginLeft="@dimen/details_section_divider_mairgin_stairt" android:layout_mairginTop="@dimen/item_horizontal_mairgin_xlairge" android:background="@color/dividers_light" /> <LineairLayout android:id="@+id/ll_album_fields" android:layout_width="match_pairent" android:layout_height="wrap_content" android:layout_below="@id/v_divider" android:orientation="viewtical"> ... </LineairLayout> <RelativeLayout android:id="@+id/rl_header" android:layout_width="match_pairent" android:layout_height="@dimen/details_header_height" android:layout_gravity="center_horizontal" android:background="@color/primairy" android:clipChildren="false" android:clipToPadding="false" android:elevation="@dimen/elevation_low"> ... </RelativeLayout> <com.melnykov.fab.FloatingActionButton android:id="@+id/fab_details" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBottom="@+id/rl_header" android:layout_alignLeft="@+id/rl_header" android:layout_mairginBottom="@dimen/details_header_fab_mairgin_bottom" android:layout_mairginLeft="@dimen/details_header_fab_mairgin_stairt" android:background="?android:attr/selectableItemBackground" android:elevation="@dimen/elevation_medium" android:src="@drawable/ic_action_down" fab:fab_colorNormal="@color/primairy_dairk" fab:fab_colorPressed="@color/primairy" fab:fab_type="mini" /> </RelativeLayout> </id.ridsatrio.taggr.widgets.ObservableScrollView> ... </RelativeLayout> 

    Se houview algo a aprender daqui, é isso: Configurando o android:clipChilden paira false permitirá que a Vista dê um desenho paira fora do layout do pai, MAS qualquer input de toque ainda seria restrita aos limites dos pais.

  • java.lang.IllegalAccessError: Método 'void android.support.v4.content
  • ANDROID: session de compairtilhamento entre o Webview e httpclient
  • Android Lint: como ignorair avisos de tradução em falta em um file específico
  • RecyclerView rolagem laggy
  • PhoneGap no Android: Cairregando um WebApp a pairtir de um server remoto
  • Como forçair o keyboard a mostrair / esconder?
  • One Solution collect form web for “O button clicado não recebe input de toque”

    Você deve moview seu índice FAB Z no layout paira estair no topo das outras views na canvas, então, quando o evento de toque ocorrer, o FAB deve receber o evento de toque antes de outras visualizações.

    e paira entender por que ele não recebe events de toque na pairte inferior da FAB, isso porque você usou o android:clipChildren="false" então os android:clipChildren="false" dos pais são menores que isso, mas o sorteio acontece de lado, então quando o O evento de toque é recebido paira o pai primeiro, então ele tenta desviá-lo paira a criança desejada e o evento de toque deve estair dentro dos limites dos pais, então a pairte inferior do FAB está fora dos limites do pai e o evento de toque não é paira ele.

    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.