什么是默认动作条标题字体大小? [英] What is the Default ActionBar Title Font Size?

查看:171
本文介绍了什么是默认动作条标题字体大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好像是17dip。只是想确认是否有人知道确切的尺寸。

Seems to be 17dip. Just want to confirm it if anyone knows the exact size.

推荐答案

该短的一个...

$ grep的动作条的平台/ Android为11 /数据/ RES /价值/ * 引出

styles.xml:

styles.xml:

<style name="TextAppearance.Widget.ActionBar.Title"
       parent="@android:style/TextAppearance.Medium">
</style>

<style name="TextAppearance.Widget.ActionBar.Subtitle"
       parent="@android:style/TextAppearance.Small">
</style>

[…]

<style name="TextAppearance.Medium">
    <item name="android:textSize">18sp</item>
</style>

<style name="TextAppearance.Small">
    <item name="android:textSize">14sp</item>
    <item name="android:textColor">?textColorSecondary</item>
</style>

这篇关于什么是默认动作条标题字体大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆