我終於從垂直搜索欄填寫家長將無法正常工作
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也使得它繪製垂直搜索條在屏幕之外沒有限制