의외로 해당정보 찾는데 쫌 헤맸다
stackoverflow.com/questions/13509989/how-to-set-the-android-progressbars-height
How to set the Android progressbar's height?
My activity_main.xml is below, as you see, the height is set 40 dip. And in MyEclipse, it looks like below: But when I run it on my phone, it looks like below: So my question is why the real
stackoverflow.com
xml
android:scaleY="2"
Programmatically
progressBar.setScaleY(2f);
progressbar 가로 Linear는 xml 에서 주고
style="?android:attr/progressBarStyleHorizontal"
색상은 이렇게 주었다
android:indeterminateTint="#ffa1a1"
라운드는 xml drawable 로
radius
'안드로이드' 카테고리의 다른 글
[Android] email 정규식 pattern check (0) | 2021.04.06 |
---|---|
[firestorage] IllegalArgumentException: location should not be a full URL. (0) | 2021.04.05 |
[kotlin] java <-> kotlin _Can not find symbol (0) | 2021.03.25 |
[카카오_안드로이드_key] getHashKey (0) | 2021.03.22 |
The application could not be installed: INSTALL_FAILED_INSUFFICIENT_STORAGE (0) | 2021.03.16 |