Skip to content

Two rectangles showing up on top and bottom of CircleView #71

Description

@MostafaAryan

Hi,
Two rectangles are showing up on top and bottom of my CircleView.
Screenshot is from an Android API 20 Genymotion device.

shape of view error

<com.github.florent37.shapeofview.shapes.CircleView
                                    android:id="@+id/circle_view"
                                    android:layout_width="wrap_content"
                                    android:layout_height="wrap_content"
                                    app:layout_constraintEnd_toStartOf="@+id/switch_view"
                                    app:layout_constraintTop_toTopOf="@+id/switch_view"
                                    app:layout_constraintBottom_toBottomOf="@+id/switch_view">

                                    <ir.uneed.app.app.components.widgets.MyTextView
                                        android:id="@+id/badge_text"
                                        android:layout_width="wrap_content"
                                        android:layout_height="wrap_content"
                                        android:padding="5dp"
                                        tools:text="20"
                                        android:textSize="11dp"
                                        android:textColor="@color/text_white"
                                        android:background="@color/background_blue"/>

                                </com.github.florent37.shapeofview.shapes.CircleView>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions