Kaopiz / KProgressHUD

An implement of ProgressHUD for Android, similar to MBProgressHUD, SVProgressHUD for iOS.
Apache License 2.0
1.64k stars 381 forks source link

Layout alignment issues appeared only after adding to gradle #34

Closed nuwancy closed 6 years ago

nuwancy commented 6 years ago

The progress bar is working fine but as soon as I add "'com.kaopiz:kprogresshud:1.1.0'" to the gradle some of my layouts started displaying alignment issues and some overlapping controls as well.

To confirm this I took a fresh development and it worked fine and then I just added the above line to the gradle and compiled then I can see the alignment issues appears. Any idea?

Checked with 2-3 Gradle versions and Android studio versions. My current Android Studio version is 2.3.3 My current Gradle Version 2.10 My current Android Plugin Version 2.1.0

nuwancy commented 6 years ago

There was no any quick fix and had to manually fix all the alignment issues one by one. Most of the time the issues was with layout_toStartOf tag in the templates. Re aligned one by one and it got fixed one by one. Some times text boxes had center text tag but they were aligned left somehow and the center ta started working after this so had to remove unwanted center alignment tags as well. Closing the issue since there is a workaround.