technojam / AndroidCustomView

This repository consist of some custom views and UI components for android
4 stars 31 forks source link

[BUG] ProgressView text alignment #8

Closed danishjamal104 closed 3 years ago

danishjamal104 commented 3 years ago

Before reporting an issue I am agreeing to the points below

Description

The text in the progress view is not aligned and scalable. The main issue is with the reference from which it is drawn. It is required to be positioned correctly.

Steps to reproduce the behavior:

  1. Go to activity_main.xml line number 14.
  2. Alter the layout_width and layout_height to see how text behaves
  3. There is no app crash.

Expected behavior

Centered between the circle independent of layout_width and layout_height maintaining the aspect ratio.

Screenshot

<img src="https://raw.githubusercontent.com/technojam/AndroidCustomView/master/screenshots/ss_1.png" width="150" height="275">

Platform Info

noman2002 commented 3 years ago

I'd like to work on it . Please assign it to me. @danishjamal104

rahullli commented 3 years ago

I would like to work on this issue .

altruisticdream commented 3 years ago

I would to work on this issue, please assign it to me.

rahullli commented 3 years ago

I have fixed the issue , please check the PR and merge it .