ultrasonic-app-subsonic-and.../ultrasonic/src/main/res/layout/media_buttons.xml

93 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
a:layout_width="fill_parent"
a:layout_height="wrap_content"
a:orientation="horizontal"
a:layout_marginStart="12dp"
a:layout_marginEnd="12dp" >
<ImageView
a:id="@+id/button_shuffle"
a:layout_width="0dip"
a:layout_height="26dp"
a:layout_gravity="center"
a:layout_weight="1"
a:adjustViewBounds="true"
a:focusable="true"
a:scaleType="fitCenter"
a:src="?attr/media_shuffle"
a:contentDescription="@string/buttons.shuffle" />
<org.moire.ultrasonic.view.AutoRepeatButton
a:id="@+id/button_previous"
a:layout_width="0dip"
a:layout_height="42dp"
a:layout_gravity="center"
a:layout_weight="2"
a:adjustViewBounds="true"
a:focusable="true"
a:scaleType="fitCenter"
a:src="?attr/media_previous"
a:contentDescription="@string/buttons.previous" />
<ImageView
a:id="@+id/button_start"
a:layout_width="0dip"
a:layout_height="74dp"
a:layout_weight="2"
a:adjustViewBounds="true"
a:focusable="true"
a:scaleType="fitCenter"
a:src="?attr/media_play"
tools:visibility="gone"
a:contentDescription="@string/buttons.play" />
<ImageView
a:id="@+id/button_pause"
a:layout_width="0dip"
a:layout_height="74dp"
a:layout_weight="2"
a:adjustViewBounds="true"
a:focusable="true"
a:scaleType="fitCenter"
a:src="?attr/media_pause"
a:contentDescription="@string/buttons.pause" />
<ImageView
a:id="@+id/button_stop"
a:layout_width="0dip"
a:layout_height="74dp"
a:layout_weight="2"
a:adjustViewBounds="true"
a:focusable="true"
a:scaleType="fitCenter"
a:src="?attr/media_stop"
tools:visibility="gone"
a:contentDescription="@string/buttons.stop" />
<org.moire.ultrasonic.view.AutoRepeatButton
a:id="@+id/button_next"
a:layout_width="0dip"
a:layout_height="42dp"
a:layout_gravity="center"
a:layout_weight="2"
a:adjustViewBounds="true"
a:focusable="true"
a:scaleType="fitCenter"
a:src="?attr/media_next"
a:contentDescription="@string/buttons.next"/>
<ImageView
a:id="@+id/button_repeat"
a:layout_width="0dip"
a:layout_height="26dp"
a:layout_gravity="center"
a:layout_weight="1"
a:adjustViewBounds="true"
a:focusable="true"
a:scaleType="fitCenter"
a:src="?attr/media_repeat_off"
a:contentDescription="@string/buttons.repeat" />
</LinearLayout>