release
jhengazuki 8 months ago
parent 518f604888
commit 3627ef150c
  1. 2
      app/src/main/java/com/fongmi/android/tv/ui/custom/CustomWallView.java
  2. 4
      app/src/main/res/layout/view_wall.xml

@ -48,7 +48,7 @@ public class CustomWallView extends FrameLayout implements DefaultLifecycleObser
}
private void init() {
binding = ViewWallBinding.inflate(LayoutInflater.from(getContext()), this);
binding = ViewWallBinding.inflate(LayoutInflater.from(getContext()), this, true);
((ComponentActivity) getContext()).getLifecycle().addObserver(this);
createPlayer();
refresh();

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
@ -21,4 +21,4 @@
app:surface_type="texture_view"
app:use_controller="false" />
</merge>
</FrameLayout>
Loading…
Cancel
Save