Skip to content

Looks odd on lower density screens #6

@MarcinOrlowski

Description

@MarcinOrlowski

It seems your widget does not correctly adapt to different screen densities as on i.e. 240dpi with 250x250dp container it all look ugly and massive and also seems not properly keeping aspect ratio (according to name it should be "circular" not "oval" :). Here's my XML:

            <com.github.glomadrian.dashedcircularprogress.DashedCircularProgress
                xmlns:custom="http://schemas.android.com/apk/res-auto"
                android:id="@+id/dashed_circular_progress"
                custom:base_color="#6eff0000"
                custom:duration="300"
                custom:external_color="#1aff00ff"

                custom:max="999"
                custom:min="0"
                custom:progress_color="#000000"
                custom:progress_icon="@drawable/ic_upload"
                android:layout_width="250dp"
                android:layout_height="250dp"
                android:layout_gravity="center"
                />

and this is how it looks here:

device-2015-06-09-112740

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions