bernaferrari / ChangeDetection

Automatically track websites changes on Android in background.
Apache License 2.0
703 stars 98 forks source link

Black corners on CardView #20

Closed cioccarellia closed 5 years ago

cioccarellia commented 5 years ago

bernaferrari commented 5 years ago

This is really really weird. It is perfect here. I forgot, but what device and Android version are you using??

cioccarellia commented 5 years ago

OnePlus 5, Android 8.1.0, OxygenOS 5.1.5

bernaferrari commented 5 years ago

This is super weird. I don't have a OnePlus device, so I tested on emulator and there wasn't any issue. I'm afraid you will need to debug it yourself if you want to find the cause.

There is nothing weird on item_text_selector.xml:

<android.support.design.card.MaterialCardView 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:id="@+id/container"
    android:layout_width="112dp"
    android:layout_height="match_parent"
    android:layout_marginLeft="4dp"
    android:layout_marginRight="4dp"
    android:layout_marginTop="8dp"
    android:layout_marginBottom="8dp"
    android:clickable="true"
    android:focusable="true"
    app:cardBackgroundColor="?standardCardColor"
    app:cardCornerRadius="8dp"
    app:cardElevation="0dp">
cioccarellia commented 5 years ago

Ok I'm gonna check it out 🙃💪

bernaferrari commented 5 years ago

Hey, did you identify anything?

cioccarellia commented 5 years ago

Nothing new... :(

cioccarellia commented 5 years ago

I will test it on some other devices

bernaferrari commented 5 years ago

Lol, I got good news! After updating all dependencies and etc (Google changed A LOT OF THINGS recently), I got something that kind of resambles what you were getting. I'm refactoring everything, might take a few weeks to be ready, but I just wanted to tell you so.. Hahaha

cioccarellia commented 5 years ago

Android developers karma! Hahaha