Some improvements with media
This commit is contained in:
parent
9c17f00387
commit
b25ba006c0
|
@ -68,7 +68,7 @@ public class TLSSocketFactory extends SSLSocketFactory {
|
|||
|
||||
private Socket enableTLSOnSocket(Socket socket) {
|
||||
if(socket != null && (socket instanceof SSLSocket)) {
|
||||
((SSLSocket)socket).setEnabledProtocols(new String[] {"TLSv1.1", "TLSv1.2",});
|
||||
((SSLSocket)socket).setEnabledProtocols(new String[] {"TLSv1.1", "TLSv1.2"});
|
||||
}
|
||||
return socket;
|
||||
}
|
||||
|
|
|
@ -67,13 +67,11 @@
|
|||
android:layout_height="match_parent"
|
||||
tools:ignore="ContentDescription" />
|
||||
<VideoView
|
||||
android:layout_below="@+id/loader"
|
||||
android:layout_centerInParent="true"
|
||||
android:visibility="gone"
|
||||
android:id="@+id/media_video"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<ImageView
|
||||
android:visibility="gone"
|
||||
android:layout_margin="5dp"
|
||||
|
|
|
@ -61,10 +61,11 @@
|
|||
|
||||
<style name="Theme.Transparent" parent="Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="android:windowIsTranslucent">true</item>
|
||||
<item name="colorPrimaryDark">@color/transparent</item>
|
||||
<item name="colorPrimary">@color/transparent</item>
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:windowContentOverlay">@null</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowIsFloating">true</item>
|
||||
<item name="android:backgroundDimEnabled">false</item>
|
||||
<item name="colorAccent">@color/mastodonC4</item>
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue