Videoplayer controls weren't visible on some api versions

This commit is contained in:
daniel oeh 2012-08-05 14:17:07 +02:00
parent c07bf6691d
commit f25c1f80ec
2 changed files with 10 additions and 6 deletions

View File

@ -15,8 +15,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center"
android:alpha="0"
android:background="@color/white"
android:background="@color/actionbar_gray"
android:orientation="vertical" >
<RelativeLayout
@ -66,7 +65,10 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_alignParentTop="true"
android:layout_marginBottom="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:text="@string/position_default_label" />
<TextView
@ -74,15 +76,16 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_alignParentTop="true"
android:layout_marginBottom="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:text="@string/position_default_label" />
<SeekBar
android:id="@+id/sbPosition"
android:layout_width="0px"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_toLeftOf="@+id/txtvLength"
android:layout_toRightOf="@+id/txtvPosition"
android:max="500" />

View File

@ -20,5 +20,6 @@
<color name="bright_blue">#33B5E5</color>
<color name="ics_gray">#858585</color>
<color name="selection_background">#FEBB20</color>
<color name="actionbar_gray">#DDDDDD</color>
</resources>