---
title: "android seekbar定义高度"
author: "flyering"
date: "2012-07-26T10:34:42Z"
tags: []
categories: ["移动开发"]
slug: "android-seekbar"
draft: false
lastmod: "2012-07-26T10:34:42Z"
id: 1607633
url: "https://flyering.iteye.com/blog/1607633"
---

用SeekBar，并设置属性style="?android:attr/progressBarStyleHorizontal"
就是水平进度条了。

设置高度：
android:layout_height="wrap_content"
android:minHeight="10dip"
android:maxHeight="10dip"