SeekBar.png

 

이와 같이 SeekBar의 Progress가 잘립니다.

 

0%로 진입해도 마찬가지로 잘리고요.

 

layout XML은 다음과 같이 작성하였습니다.

 

       <LinearLayout
            android:layout_width="0px"
            android:layout_height="match_parent"
            android:layout_weight="3"
            android:orientation="horizontal" >

            <TextView
                android:id="@+id/tvBatObject"
                android:layout_width="0px"
                android:layout_height="match_parent"
                android:layout_weight="2"
                android:gravity="center_vertical"
                android:textStyle="bold"/>

            <TextView
                android:layout_width="0px"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:text="%"
                android:gravity="center_vertical"
                android:alpha="0"/>

            <SeekBar
                android:id="@+id/sbObject"
                android:layout_width="158dp"
                android:layout_height="wrap_content"
                android:layout_gravity="center_vertical"
                android:max="100"
                android:progress="50" />

            <LinearLayout
                android:layout_width="0px"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:alpha="0" />
        </LinearLayout>
    </LinearLayout>

무엇을 고쳐야 0%나 100% 갔을 때 Progress Bar가 잘리지 않는 것일까요?

도움 요청 드립니다.

감사합니다.