在android中,CircularSekbar不显示在ScrollView中
我在android应用程序中使用Matt Joseph的CircularSekbar。在布局文件顶部添加ScrollView时,CircularSekbar不会显示。如果我删除ScrollView,那么CircularSekbar工作得非常好。我想在我的活动中使用滚动条,在这个问题上的任何帮助都将是巨大的。 我的代码如下-在android中,CircularSekbar不显示在ScrollView中,android,seekbar,Android,Seekbar,我在android应用程序中使用Matt Joseph的CircularSekbar。在布局文件顶部添加ScrollView时,CircularSekbar不会显示。如果我删除ScrollView,那么CircularSekbar工作得非常好。我想在我的活动中使用滚动条,在这个问题上的任何帮助都将是巨大的。 我的代码如下- <ScrollView android:layout_width="wrap_content" android:layout_height="wrap
<ScrollView
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<in.company.appname.CircularSeekBar
android:id="@+id/ratingBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:start_angle="180"
app:end_angle="0"
app:circle_stroke_width="16"
app:pointer_radius="0"
app:lock_enabled="true"
/>
<TextView
android:text="4.5"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="130dp"
android:textSize="60dp"
android:layout_marginTop="-250dp"/>
</LinearLayout>
</ScrollView>
上面的代码没有显示任何搜索栏 您是否尝试为您的scrollView设置宽度和高度?@hojjat-是的,我也尝试过,但仍然无效您是否尝试将宽度和高度设置为ciruclarseekbar@Ramesh-设置高度宽度解决了问题,非常感谢您的解决方案!