Commit 088cd004 authored by Sébastien Toque's avatar Sébastien Toque

audio player: center shuffle & repeat buttons

parent 661f6386
...@@ -31,8 +31,7 @@ ...@@ -31,8 +31,7 @@
<LinearLayout <LinearLayout
android:layout_width="90dip" android:layout_width="90dip"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:gravity="bottom" android:gravity="center"
android:paddingLeft="15dip"
android:orientation="vertical"> android:orientation="vertical">
<ImageButton <ImageButton
android:src="@drawable/ic_shuffle" android:src="@drawable/ic_shuffle"
...@@ -51,21 +50,21 @@ ...@@ -51,21 +50,21 @@
android:padding="10dip" android:padding="10dip"
android:layout_height="60dip" android:layout_height="60dip"
android:layout_width="60dip" android:layout_width="60dip"
android:layout_marginTop="10dip"
android:id="@+id/repeat" android:id="@+id/repeat"
android:onClick="onRepeatClick" /> android:onClick="onRepeatClick" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<LinearLayout <FrameLayout
android:orientation="horizontal"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_marginLeft="15dip" android:layout_marginLeft="15dip"
android:layout_marginTop="10dip" android:layout_marginTop="10dip"
android:layout_marginRight="15dip"> android:layout_marginRight="15dip">
<TextView <TextView
android:layout_width="0dip" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_gravity="left"
android:textSize="18dip" android:textSize="18dip"
android:text="@string/time_0" android:text="@string/time_0"
android:textColor="#ffffff" android:textColor="#ffffff"
...@@ -73,15 +72,14 @@ ...@@ -73,15 +72,14 @@
android:clickable="true" android:clickable="true"
android:onClick="onTimeLabelClick" /> android:onClick="onTimeLabelClick" />
<TextView <TextView
android:layout_width="0dip" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_gravity="right"
android:textSize="18dip" android:textSize="18dip"
android:text="@string/time_0" android:text="@string/time_0"
android:gravity="right"
android:textColor="#ffffff" android:textColor="#ffffff"
android:id="@+id/length" /> android:id="@+id/length" />
</LinearLayout> </FrameLayout>
<SeekBar <SeekBar
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment