pref: 调整贴吧数据标题字体

This commit is contained in:
HuanChengFly 2020-10-05 21:17:35 +08:00
parent 2131610e04
commit 019240ac16
3 changed files with 5 additions and 0 deletions

Binary file not shown.

View File

@ -98,6 +98,9 @@ class ForumActivity : BaseActivity(), View.OnClickListener, OnRefreshedListener,
@BindView(R.id.header_view_parent)
lateinit var headerView: View
@BindView(R.id.forum_header_stat_title)
lateinit var statTitleTextView: TextView
@BindView(R.id.forum_header_name)
lateinit var headerNameTextView: TextView
@ -427,6 +430,7 @@ class ForumActivity : BaseActivity(), View.OnClickListener, OnRefreshedListener,
).forEach {
it.typeface = Typeface.createFromAsset(assets, "bebas.ttf")
}
//statTitleTextView.typeface = Typeface.createFromAsset(assets, "TiebaStatFont.ttf")
statMembersTextView.text = getNumStr(mDataBean!!.forum!!.memberNum!!)
statPostsTextView.text = getNumStr(mDataBean!!.forum!!.postNum!!)
statThreadsTextView.text = getNumStr(mDataBean!!.forum!!.threadNum!!)

View File

@ -161,6 +161,7 @@
android:orientation="vertical">
<TextView
android:id="@+id/forum_header_stat_title"
android:layout_marginStart="16dp"
android:textStyle="bold"
android:textColor="@color/color_text_translucent_light"