Les FloatingActionButton
donnent frontière rose hilarante bien que je ne ai pas besoin que l'autre est mon image originale que je joins avec FloatingActionButton
bouton d'action flottante donne bordure de couleur non nécessaire
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.android.myapplication.MainActivity">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:src="@drawable/screen_logo"/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
>
<android.support.design.widget.FloatingActionButton
android:id="@+id/view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/view"
android:layout_margin="5dp"/>
<android.support.design.widget.FloatingActionButton
android:id="@+id/search"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:src="@drawable/search"/>
<android.support.design.widget.FloatingActionButton
android:id="@+id/add"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin='5dp'
android:src="@drawable/add"/>
</LinearLayout>
parts votre mise en page XML pour le bouton d'action flottante –
attach Code à la question –