在CollapsingToolbarLayout的标题周围设置边框

时间:2018-06-29 19:37:28

标签: android border android-collapsingtoolbarlayout

我将此用于我的CollapsingToolbarLayout:

        app:expandedTitleTextAppearance="@style/ExpandedTitle"

和样式:

<style name="ExpandedTitle" parent="@android:style/TextAppearance">
    <item name="android:textColor">#000000</item>
    <item name="android:shadowColor">#ffffff</item>
    <item name="android:shadowDx">1</item>
    <item name="android:shadowDy">1</item>
    <item name="android:shadowRadius">1</item>
</style>

现在,我想在标题文本周围添加笔触或边框。阴影看起来很傻...有什么建议吗?

0 个答案:

没有答案