acefalobi / android-stepper

A library for creating a wizard-like step-through user interface that uses navigation components and menus for displaying steps with advanced customization.
Apache License 2.0
325 stars 38 forks source link

Different colors on Preview and runtime. #38

Open Imadlekal opened 2 years ago

Imadlekal commented 2 years ago

The tab type is not working properly. The white dots are showing differently after compiling.

Preview:

studio64_m4ateqIntO

After compiling the app:

qemu-system-i386_x6yaaV4Bcm

Imadlekal commented 2 years ago

I also noticed the following behaviors with API 24 and 26:

This is the XML:

<FrameLayout 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">

    <com.aceinteract.android.stepper.StepperNavigationView
        android:id="@+id/stepper"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@id/toolbar"

        android:visibility="visible"
        app:layout_constraintEnd_toEndOf="@+id/toolbar"
        app:layout_constraintStart_toStartOf="@+id/toolbar"
        app:layout_constraintTop_toBottomOf="@+id/toolbar"
        app:stepperItems="@menu/stepper_menu"
        app:stepperTextColor="@color/white"
        app:stepperType="progress"
        app:stepperWidgetColor="@color/purple_300" />

It's the same as above. Everything seem fine in the preview, but once I compile the app, these glitches start to show.