Неактивная FloatingActionButton

Рейтинг: 0Ответов: 2Опубликовано: 05.04.2015

В приложении кнопка полупрозрачна, и при попытке нажать на неё, откликается нижележащее поле, но fab исчезает при прокрутке экрана

Скриншот сделан во время касания кнопки Скриншот сделан во время касания кнопки

Пишу в Android Studio

Раздел activity_main:

<FrameLayout android:id="@+id/container" android:layout_width="match_parent"
    android:layout_height="match_parent" >
    <requestFocus android:layout_gravity="center_horizontal|top" />
    <requestFocus android:layout_gravity="center" />

    <com.melnykov.fab.FloatingActionButton
        android:id="@+id/fab"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="right|bottom"
        android:layout_margin="16dp"
        android:src="@drawable/ic_plus"
        fab:fab_colorNormal="#009688"
        fab:fab_colorPressed="#4DB6AC"
        fab:fab_colorRipple="#4DB6AC"
        fab:fab_shadow="true"/>
</FrameLayout>


<fragment android:id="@+id/navigation_drawer"
    android:layout_width="200dp" android:layout_height="match_parent"
    android:layout_gravity="start"
    android:name="com.example.nigga.fuelcontrol.NavigationDrawerFragment"
    tools:layout="@layout/fragment_navigation_drawer" />

<ListView
    android:id="@android:id/list"
    android:layout_width="match_parent"
    android:layout_height="match_parent" />

Ответы

Ответов пока нет.