Optimize ui

pull/605/head
jhengazuki 4 months ago
parent 38dd7c591d
commit 401ece6fd1
  1. 27
      app/src/leanback/res/layout/view_progress.xml
  2. 2
      app/src/leanback/res/layout/view_widget_cast.xml
  3. 2
      app/src/leanback/res/layout/view_widget_live.xml
  4. 2
      app/src/leanback/res/layout/view_widget_vod.xml
  5. 0
      app/src/mobile/res/layout/view_progress.xml

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
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">
<com.google.android.material.progressindicator.CircularProgressIndicator
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:indeterminate="true"
app:indicatorColor="@color/white" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/traffic"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="40dp"
android:textColor="@color/white"
android:textSize="16sp"
android:visibility="gone"
tools:text="120 KB/s"
tools:visibility="visible" />
</FrameLayout>

@ -43,7 +43,7 @@
android:layout_alignParentEnd="true"
android:fontFeatureSettings="tnum"
android:textColor="@color/white"
android:textSize="24sp"
android:textSize="20sp"
tools:text="09:20:00" />
</RelativeLayout>

@ -44,7 +44,7 @@
android:layout_alignParentEnd="true"
android:fontFeatureSettings="tnum"
android:textColor="@color/white"
android:textSize="24sp"
android:textSize="20sp"
tools:text="09:20:00" />
</RelativeLayout>

@ -42,7 +42,7 @@
android:layout_alignParentEnd="true"
android:fontFeatureSettings="tnum"
android:textColor="@color/white"
android:textSize="24sp"
android:textSize="20sp"
tools:text="09:20:00" />
</RelativeLayout>

Loading…
Cancel
Save