chore: code refactor
This commit is contained in:
parent
8d7b86a667
commit
a2e44da99d
334 changed files with 3550 additions and 3092 deletions
|
@ -312,96 +312,96 @@
|
|||
android:orientation="horizontal"
|
||||
android:padding="8dp">
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/exo_back"
|
||||
android:layout_width="43dp"
|
||||
android:layout_height="match_parent"
|
||||
android:backgroundTint="#00FFFFFF"
|
||||
android:src="@drawable/ic_round_arrow_back_ios_new_24"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
tools:ignore="ContentDescription,SpeakableTextPresentCheck" />
|
||||
<ImageButton
|
||||
android:id="@+id/exo_back"
|
||||
android:layout_width="43dp"
|
||||
android:layout_height="match_parent"
|
||||
android:backgroundTint="#00FFFFFF"
|
||||
android:src="@drawable/ic_round_arrow_back_ios_new_24"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
tools:ignore="ContentDescription,SpeakableTextPresentCheck" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ani.dantotsu.SpinnerNoSwipe
|
||||
android:id="@+id/exo_ep_sel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginEnd="0dp"
|
||||
android:layout_marginBottom="-10dp"
|
||||
android:background="@drawable/spinner_icon"
|
||||
android:backgroundTint="#fff"
|
||||
android:backgroundTintMode="src_atop"
|
||||
android:entries="@array/tips"
|
||||
android:popupBackground="@drawable/round_corner"
|
||||
tools:ignore="SpeakableTextPresentCheck" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/exo_anime_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
android:layout_marginEnd="48dp"
|
||||
android:alpha="0.75"
|
||||
android:fontFamily="@font/poppins"
|
||||
android:singleLine="false"
|
||||
android:textColor="@color/bg_white"
|
||||
android:textSize="12sp"
|
||||
tools:ignore="TextContrastCheck"
|
||||
tools:text="@string/popular_anime" />
|
||||
|
||||
<ani.dantotsu.SpinnerNoSwipe
|
||||
android:id="@+id/exo_ep_sel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginEnd="0dp"
|
||||
android:layout_marginBottom="-10dp"
|
||||
android:background="@drawable/spinner_icon"
|
||||
android:backgroundTint="#fff"
|
||||
android:backgroundTintMode="src_atop"
|
||||
android:entries="@array/tips"
|
||||
android:popupBackground="@drawable/round_corner"
|
||||
tools:ignore="SpeakableTextPresentCheck" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/exo_anime_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="48dp"
|
||||
android:alpha="0.75"
|
||||
android:fontFamily="@font/poppins"
|
||||
android:singleLine="false"
|
||||
android:textColor="@color/bg_white"
|
||||
android:textSize="12sp"
|
||||
tools:ignore="TextContrastCheck"
|
||||
tools:text="@string/popular_anime" />
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="-6dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginBottom="-6dp">
|
||||
<ImageButton
|
||||
android:id="@id/exo_playback_speed"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:backgroundTint="#00FFFFFF"
|
||||
android:src="@drawable/ic_round_slow_motion_video_24"
|
||||
app:tint="#fff"
|
||||
tools:ignore="ContentDescription,SpeakableTextPresentCheck" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@id/exo_playback_speed"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:backgroundTint="#00FFFFFF"
|
||||
android:src="@drawable/ic_round_slow_motion_video_24"
|
||||
app:tint="#fff"
|
||||
tools:ignore="ContentDescription,SpeakableTextPresentCheck" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/exo_lock"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:backgroundTint="#00FFFFFF"
|
||||
app:tint="@color/bg_white"
|
||||
app:srcCompat="@drawable/ic_round_lock_open_24"
|
||||
tools:ignore="ContentDescription,SpeakableTextPresentCheck" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/exo_video_info"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:alpha="0.75"
|
||||
android:textAlignment="textEnd"
|
||||
android:textColor="@color/bg_white"
|
||||
android:textSize="12sp"
|
||||
tools:ignore="TextContrastCheck"
|
||||
tools:text="720x1080" />
|
||||
<ImageButton
|
||||
android:id="@+id/exo_lock"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:backgroundTint="#00FFFFFF"
|
||||
app:srcCompat="@drawable/ic_round_lock_open_24"
|
||||
app:tint="@color/bg_white"
|
||||
tools:ignore="ContentDescription,SpeakableTextPresentCheck" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/exo_video_info"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:alpha="0.75"
|
||||
android:textAlignment="textEnd"
|
||||
android:textColor="@color/bg_white"
|
||||
android:textSize="12sp"
|
||||
tools:ignore="TextContrastCheck"
|
||||
tools:text="720x1080" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
|
||||
|
@ -438,10 +438,10 @@
|
|||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=" / "
|
||||
android:includeFontPadding="false"
|
||||
android:textSize="14sp"
|
||||
android:text=" / "
|
||||
android:textColor="#80FFFFFF"
|
||||
android:textSize="14sp"
|
||||
tools:ignore="HardcodedText,TextContrastCheck" />
|
||||
|
||||
<TextView
|
||||
|
@ -459,10 +459,10 @@
|
|||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=" • "
|
||||
android:textSize="14sp"
|
||||
android:includeFontPadding="false"
|
||||
android:text=" • "
|
||||
android:textColor="#80FFFFFF"
|
||||
android:textSize="14sp"
|
||||
tools:ignore="HardcodedText,TextContrastCheck" />
|
||||
|
||||
<TextView
|
||||
|
@ -478,8 +478,9 @@
|
|||
|
||||
</LinearLayout>
|
||||
|
||||
<view class="ani.dantotsu.media.anime.ExoplayerView$ExtendedTimeBar"
|
||||
<view
|
||||
android:id="@id/exo_progress"
|
||||
class="ani.dantotsu.media.anime.ExoplayerView$ExtendedTimeBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="24dp"
|
||||
app:ad_marker_color="#A9FFFFFF"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue