Wie, um einen transparenten Rahmen-Schaltflächen

Ich versuche, um einen transparenten button ich ein layout erstellen camera und eine button überlagerung der Vorschau, aber die button ist orbed und ich sehe ein Quadrat, hintergrund, Grenze. Wie kann diese Grenze?


<FrameLayout
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" 
    android:layout_alignParentBottom="true"
    android:layout_centerInParent="true">

    <Button
        android:id="@+id/camera_button"
        android:layout_width="90dp"
        android:layout_height="90dp" 
        android:layout_gravity="center"

        />

    <ImageView
        android:contentDescription="@string/camera_button"
        android:background="@android:color/transparent"
        android:layout_width="85dp"
        android:layout_height="85dp"
        android:layout_gravity="center"
        android:scaleType="fitXY"
        android:src="@drawable/camera_buton" />
</FrameLayout>

Thx a lot

  • u müssen, um transparent setzen-bg, die
  • sind Sie sicher, dass Sie nicht mischen, hintergrund mit Rahmen?
InformationsquelleAutor user3157778 | 2014-03-13
Schreibe einen Kommentar