mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-06 10:09:33 +02:00
move stream title to top
This commit is contained in:
parent
d57e8e6e6d
commit
c6a3f40b73
2 changed files with 34 additions and 27 deletions
|
@ -62,7 +62,6 @@ public class GroupItem extends LinearLayout implements SeekBar.OnSeekBarChangeLi
|
||||||
ibMute.setImageResource(R.drawable.ic_speaker_icon);
|
ibMute.setImageResource(R.drawable.ic_speaker_icon);
|
||||||
ibMute.setOnClickListener(this);
|
ibMute.setOnClickListener(this);
|
||||||
ibSettings = (ImageButton) findViewById(R.id.ibSettings);
|
ibSettings = (ImageButton) findViewById(R.id.ibSettings);
|
||||||
ibSettings.setImageAlpha(138);
|
|
||||||
ibSettings.setOnClickListener(this);
|
ibSettings.setOnClickListener(this);
|
||||||
llVolume = (LinearLayout) findViewById(R.id.llVolume);
|
llVolume = (LinearLayout) findViewById(R.id.llVolume);
|
||||||
llVolume.setVisibility(GONE);
|
llVolume.setVisibility(GONE);
|
||||||
|
|
|
@ -38,6 +38,40 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
|
<ImageButton
|
||||||
|
android:id="@+id/ibSettings"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_centerVertical="true"
|
||||||
|
android:background="@null"
|
||||||
|
android:alpha="0.54"
|
||||||
|
android:src="@drawable/ic_settings_black_24dp"/>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/tvStreamState"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentEnd="true"
|
||||||
|
android:layout_alignParentLeft="true"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_alignParentStart="true"
|
||||||
|
android:padding="5dp"
|
||||||
|
android:text="Stream state"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
||||||
|
</RelativeLayout>
|
||||||
|
<View
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="1dip"
|
||||||
|
android:layout_marginLeft="5dip"
|
||||||
|
android:layout_marginRight="5dip"
|
||||||
|
android:alpha="0.1"
|
||||||
|
android:background="#000000" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/llClient"
|
android:id="@+id/llClient"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -91,32 +125,6 @@
|
||||||
android:max="100"/>
|
android:max="100"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/ibSettings"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_alignParentRight="true"
|
|
||||||
android:layout_centerVertical="true"
|
|
||||||
android:background="@null"
|
|
||||||
android:src="@drawable/ic_settings_black_24dp"/>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/tvStreamState"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_alignParentEnd="true"
|
|
||||||
android:layout_alignParentLeft="true"
|
|
||||||
android:layout_alignParentRight="true"
|
|
||||||
android:layout_alignParentStart="true"
|
|
||||||
android:padding="5dp"
|
|
||||||
android:text="Stream state"
|
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
|
||||||
</RelativeLayout>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</android.support.v7.widget.CardView>
|
</android.support.v7.widget.CardView>
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue