我是靠谱客的博主 美好心锁,这篇文章主要介绍在文字周围环绕一层阴影效果[android:shadow] 使用,现在分享给大家,希望可以做个参考。

采用对style配置完成在文字周围环绕一层阴影效果.   具体配置如下: 

 

<TextView android:layout_height="wrap_content"

android:layout_width="wrap_content" android:layout_centerInParent="true"

android:clickable="false" android:text="@string/book_title_desc"

style="@style/LauncherTitleTextAppearance" android:textColor="@color/text_book_title_color"

android:textSize="15sp"></TextView>  

 

 

 

<style name="LauncherTitleTextAppearance">

<item name="android:shadowColor">#ffffffff</item>

<item name="android:shadowDx">0.0</item>

<item name="android:shadowDy">-1.0</item>

<item name="android:shadowRadius">0.1</item>

</style>

最后

以上就是美好心锁最近收集整理的关于在文字周围环绕一层阴影效果[android:shadow] 使用的全部内容,更多相关在文字周围环绕一层阴影效果[android:shadow]内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(46)

评论列表共有 0 条评论

立即
投稿
返回
顶部