[mobile] adjust full layout

pull/137/head
FongMi 2 years ago
parent a6ed745608
commit 14b8b47a4a
  1. 6
      app/src/main/java/com/fongmi/android/tv/bean/Vod.java
  2. 5
      app/src/mobile/res/layout/adapter_vod_full.xml

@ -199,7 +199,11 @@ public class Vod {
}
public boolean isFolder() {
return getVodTag().equals("folder") || getVodTag().equals("cover");
return getVodTag().equals("folder");
}
public boolean isComic() {
return getVodTag().equals("comic");
}
public Style getStyle(Style style) {

@ -3,13 +3,14 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp">
<com.google.android.material.imageview.ShapeableImageView
android:id="@+id/image"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:background="@color/black_20"
android:scaleType="center"
app:shapeAppearanceOverlay="@style/Vod.Grid"

Loading…
Cancel
Save