Skip to content

InflateException inflating CircularProgressBar  #5

@sol4ris2048

Description

@sol4ris2048

Hello,

When i launch my app with CircularProgressBar on tablets (which loads xlarge layout) i've NO PROBLEM.

But when i load it on smaller screen (with "normal" layout, not xlarge and not large) i have an inflateException during load of my layout XML at the line:

< com.mypackage.CircularProgressBar
android:id="@+id/cpbCheckupTest"
style="@style/Widget.ProgressBar.CircularProgressBar"
android:layout_width="40dp"
android:layout_height="40dp"/>

On small screens i tried with many devices with different version of android (Android 2.2 to Android 5.0 !) and it's the same problem.

But on big screens NO PROBLEMS!

The 2 files (xlarge layout and "normal" layout) are similars!
I don't understand......

Could you help me please?

Thanks a lot!

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