Removed unused cast button
|
@ -93,9 +93,6 @@ public class AudioplayerActivity extends MediaplayerInfoActivity {
|
|||
return;
|
||||
}
|
||||
super.setupGUI();
|
||||
if (butCastDisconnect != null) {
|
||||
butCastDisconnect.setVisibility(View.GONE);
|
||||
}
|
||||
if (butPlaybackSpeed != null) {
|
||||
butPlaybackSpeed.setOnClickListener(v -> {
|
||||
if (controller == null) {
|
||||
|
|
|
@ -51,10 +51,6 @@ public class CastplayerActivity extends MediaplayerInfoActivity {
|
|||
butPlaybackSpeed.setVisibility(View.GONE);
|
||||
txtvPlaybackSpeed.setVisibility(View.GONE);
|
||||
}
|
||||
// if (butCastDisconnect != null) {
|
||||
// butCastDisconnect.setOnClickListener(v -> castManager.disconnect());
|
||||
// butCastDisconnect.setVisibility(View.VISIBLE);
|
||||
// }
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -94,7 +94,6 @@ public abstract class MediaplayerInfoActivity extends MediaplayerActivity implem
|
|||
|
||||
PlaybackSpeedIndicatorView butPlaybackSpeed;
|
||||
TextView txtvPlaybackSpeed;
|
||||
ImageButton butCastDisconnect;
|
||||
private DrawerLayout drawerLayout;
|
||||
private NavListAdapter navAdapter;
|
||||
private ListView navList;
|
||||
|
@ -251,7 +250,6 @@ public abstract class MediaplayerInfoActivity extends MediaplayerActivity implem
|
|||
|
||||
butPlaybackSpeed = findViewById(R.id.butPlaybackSpeed);
|
||||
txtvPlaybackSpeed = findViewById(R.id.txtvPlaybackSpeed);
|
||||
butCastDisconnect = findViewById(R.id.butCastDisconnect);
|
||||
|
||||
pager = findViewById(R.id.pager);
|
||||
pager.setOffscreenPageLimit(3);
|
||||
|
|
|
@ -186,22 +186,6 @@
|
|||
android:textColor="?android:attr/textColorSecondary"
|
||||
android:clickable="false" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/butCastDisconnect"
|
||||
android:layout_width="@dimen/audioplayer_playercontrols_length"
|
||||
android:layout_height="@dimen/audioplayer_playercontrols_length"
|
||||
android:layout_toLeftOf="@id/butRev"
|
||||
android:layout_toStartOf="@id/butRev"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/cast_disconnect_label"
|
||||
android:src="?attr/ic_cast_disconnect"
|
||||
android:scaleType="fitCenter"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"
|
||||
tools:src="@drawable/ic_cast_disconnect_white_36dp"
|
||||
tools:background="@android:color/holo_green_dark" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/butFF"
|
||||
android:layout_width="@dimen/audioplayer_playercontrols_length"
|
||||
|
|
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 968 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 694 B |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.9 KiB |
|
@ -43,7 +43,6 @@
|
|||
<attr name="ic_sort" format="reference"/>
|
||||
<attr name="ic_key" format="reference"/>
|
||||
<attr name="ic_volume_adaption" format="reference"/>
|
||||
<attr name="ic_cast_disconnect" format="reference"/>
|
||||
<attr name="ic_network" format="reference"/>
|
||||
<attr name="ic_appearance" format="reference"/>
|
||||
<attr name="ic_questionmark" format="reference" />
|
||||
|
|
|
@ -55,7 +55,6 @@
|
|||
<item name="ic_select_none">@drawable/ic_select_none_black</item>
|
||||
<item name="ic_sort">@drawable/ic_sort_black</item>
|
||||
<item name="ic_sliders">@drawable/ic_sliders_black</item>
|
||||
<item name="ic_cast_disconnect">@drawable/ic_cast_disconnect_grey600_36dp</item>
|
||||
<item name="ic_appearance">@drawable/ic_appearance_black</item>
|
||||
<item name="ic_questionmark">@drawable/ic_questionmark_black</item>
|
||||
<item name="ic_chat">@drawable/ic_chat_black</item>
|
||||
|
@ -126,7 +125,6 @@
|
|||
<item name="ic_select_none">@drawable/ic_select_none_white</item>
|
||||
<item name="ic_sort">@drawable/ic_sort_white</item>
|
||||
<item name="ic_sliders">@drawable/ic_sliders_white</item>
|
||||
<item name="ic_cast_disconnect">@drawable/ic_cast_disconnect_white_36dp</item>
|
||||
<item name="ic_appearance">@drawable/ic_appearance_white</item>
|
||||
<item name="ic_questionmark">@drawable/ic_questionmark_white</item>
|
||||
<item name="ic_chat">@drawable/ic_chat_white</item>
|
||||
|
|