Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looks odd on lower density screens #6

Open
MarcinOrlowski opened this issue Jun 9, 2015 · 0 comments
Open

Looks odd on lower density screens #6

MarcinOrlowski opened this issue Jun 9, 2015 · 0 comments
Assignees
Labels

Comments

@MarcinOrlowski
Copy link

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

@glomadrian glomadrian added the bug label Jun 9, 2015
@glomadrian glomadrian self-assigned this Jun 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants