第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

為什么我的text size不起作用呢?無(wú)論怎么設(shè)置,都很小

mTextSize這個(gè)變量,在整個(gè)過(guò)程中都沒(méi)有使用啊

<co.customview.RoundProgressBar
? ?android:visibility="visible"
? ?android:id="@+id/progressbar"
? ?android:background="@color/black5"
? ?android:layout_width="wrap_content"
? ?android:layout_height="wrap_content"
? ?android:layout_centerInParent="true"
? ?custom:progress_radius="30dp"
? ?custom:progress_text_size="12dp"
? ?custom:progress_text_color="@color/white_bg"
? ?custom:progress_reach_color="@color/colorAccent"
? ?custom:progress_unReach_color="@color/white_bg"/>

正在回答

1 回答

你換成sp看看?老師的源代碼:

https://github.com/hongyangAndroid/Android-ProgressBarWidthNumber

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

brucezhang 提問(wèn)者

我找到原因了,在寫環(huán)形進(jìn)度條時(shí)沒(méi)有在構(gòu)造方法中設(shè)置 mpaint.setTextSize(),老師的是繼承關(guān)系,所以沒(méi)事
2016-05-26 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
Android-打造炫酷進(jìn)度條
  • 參與學(xué)習(xí)       30838    人
  • 解答問(wèn)題       59    個(gè)

Android開(kāi)發(fā)中各種各樣的自定義進(jìn)度條介紹,讓你的APP更炫酷

進(jìn)入課程

為什么我的text size不起作用呢?無(wú)論怎么設(shè)置,都很小

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)