隐藏评分吧阴影 [英] Hide shadow of rating bar

查看:151
本文介绍了隐藏评分吧阴影的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自定义的RatingBar 显示我的影子

如何隐藏这个影子?

 <的RatingBar
            机器人:ID =@ + ID / ratingBarMain
            机器人:layout_width =WRAP_CONTENT
            机器人:layout_height =WRAP_CONTENT
            机器人:layout_below =@ + ID / textView6
            机器人:layout_toRightOf =@ + ID / imgThumbFix
            机器人:可点击=假
            机器人:progressDrawable =@绘制/ ratingbar_red_small
            机器人:stepSize的=1/>


解决方案

设置

 的android:layout_height =EQUAL_TO_IMAGE_HEIGHT

例如

 的android:layout_height =35dp

Customizing RatingBar shows me shadow

How to hide this shadow ?

           <RatingBar
            android:id="@+id/ratingBarMain"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@+id/textView6"
            android:layout_toRightOf="@+id/imgThumbFix"
            android:clickable="false"
            android:progressDrawable="@drawable/ratingbar_red_small"
            android:stepSize="1" />

解决方案

set

android:layout_height="EQUAL_TO_IMAGE_HEIGHT"

example

android:layout_height="35dp"

这篇关于隐藏评分吧阴影的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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