我终于从垂直搜索栏填写家长将无法正常工作
How can I get a working vertical SeekBar in Android?
工作(感谢保罗Tsupikoff)垂直搜索条样品
但我现在有一个垂直线性布局,只实现的垂直搜索栏,看起来像
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<com.example.layouts.VerticalSeekbar
android:id="@+id/v_seekbar"
android:layout_width="wrap_content"
android:layout_height="fill_parent"/>
</LinearLayout>
而不是绘制垂直seekbar,直到它画的画面它的机智h没有限制。也许这是负责这种行为的工作Vertical SeekBar类中的东西? (How can I get a working vertical SeekBar in Android?) 还是有什么我失踪?
更新: 改变layout_height超过40dip也使得它绘制垂直搜索条在屏幕之外没有限制