2012-11-26 6 views
2

지금까지 작업 진행 가로 막대가 있습니다. 기본 수평 ProgressBar를 수직으로 변경하는 방법은 무엇입니까?

내 xml 파일

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
xmlns:tools="http://schemas.android.com/tools" 
android:layout_width="match_parent" 
android:layout_height="match_parent" > 

<ProgressBar 
    android:id="@+id/progressBar1" 
    style="?android:attr/progressBarStyleHorizontal" 
    android:layout_width="200dp" 
    android:layout_height="wrap_content" 
    android:layout_alignParentLeft="true" 
    android:layout_alignParentTop="true" 
    android:layout_marginTop="168dp" /> 
나는 액체 탱크의 시각적 표시로 사용하겠습니다

입니다. (레벨로 진행)

내가 방법을 알고 싶어요 그것을 vertcal로 설정하십시오. 가능하지 않은 경우 일부 사람이 내 문제에 대한 다른 옵션을 제안 할 수 있습니다.

+0

http://stackoverflow.com/questions/3926395/을 설정 android-set-a-progressbar-to-be-a-vertical-bar-of-horizontal는 도움이 될 수 있습니다 :) – invariant

답변

관련 문제