1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-10-28 13:57:40 +00:00
- made "could not find a streamingplayer" thing inside ActionBarHandler yield stacktraces
- remove watermark
- fixed fab layout
- changed version number to 0.5.0
This commit is contained in:
Christian Schabesberger
2015-10-29 18:37:32 +01:00
parent c22c2009d4
commit f67158a2a7
9 changed files with 19 additions and 36 deletions

View File

@@ -320,6 +320,8 @@ public class ActionBarHandler {
}
});
builder.create().show();
Log.d(TAG, "Either no Streaming player for audio was installed, or something importand crashed:");
e.printStackTrace();
}
}
}

View File

@@ -63,7 +63,6 @@ public class VideoItemListActivity extends AppCompatActivity
// onQueryTextSubmit to trigger twice when focus is not cleared.
// See: http://stackoverflow.com/questions/17874951/searchview-onquerytextsubmit-runs-twice-while-i-pressed-once
getCurrentFocus().clearFocus();
hideWatermark();
} catch(Exception e) {
e.printStackTrace();
}
@@ -77,13 +76,6 @@ public class VideoItemListActivity extends AppCompatActivity
}
private void hideWatermark() {
ImageView waterMark = (ImageView) findViewById(R.id.list_view_watermark);
if(waterMark != null) {
waterMark.setVisibility(View.GONE);
}
}
/**
* Whether or not the activity is in two-pane mode, i.e. running on a tablet
* device.
@@ -109,7 +101,6 @@ public class VideoItemListActivity extends AppCompatActivity
searchQuery = savedInstanceState.getString(QUERY);
currentStreamingServiceId = savedInstanceState.getInt(STREAMING_SERVICE);
if(!searchQuery.isEmpty()) {
hideWatermark();
listFragment.search(searchQuery);
}
}

View File

@@ -190,7 +190,7 @@
<View
android:layout_width="match_parent"
android:layout_height="70dip"
android:layout_height="90dp"
android:layout_below="@id/detailNextVideoRootLayout"/>
</RelativeLayout>

View File

@@ -42,12 +42,6 @@
android:layout_width="0dp"
android:layout_weight="4">
<ImageView android:id="@+id/list_view_watermark"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:src="@drawable/new_pipe_watermark"/>
<FrameLayout android:id="@+id/videoitem_detail_container"
android:layout_width="match_parent"
android:layout_height="match_parent" />

View File

@@ -190,7 +190,7 @@
<View
android:layout_width="match_parent"
android:layout_height="70dip"
android:layout_height="90dp"
android:layout_below="@id/detailNextVideoRootLayout"/>
</RelativeLayout>

View File

@@ -3,12 +3,6 @@
android:layout_height="match_parent"
android:orientation="vertical">
<ImageView android:id="@+id/list_view_watermark"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:src="@drawable/new_pipe_watermark"/>
<fragment
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/videoitem_list"

View File

@@ -187,7 +187,7 @@
<View
android:layout_width="match_parent"
android:layout_height="70dip"
android:layout_height="90dp"
android:layout_below="@id/detailNextVideoRootLayout"/>
</RelativeLayout>