Update empty ui

release
jhengazuki 8 months ago
parent 03a015783e
commit e7fddf8734
  1. 1
      app/build.gradle
  2. 2
      app/src/leanback/res/values/strings.xml
  3. BIN
      app/src/main/res/drawable-hdpi/ic_empty.png
  4. BIN
      app/src/main/res/drawable-xhdpi/ic_empty.png
  5. BIN
      app/src/main/res/drawable-xxhdpi/ic_empty.png
  6. 14
      app/src/main/res/layout/view_empty.xml
  7. 1
      app/src/main/res/raw/empty.json
  8. 2
      app/src/main/res/values-zh-rCN/strings.xml
  9. 2
      app/src/main/res/values-zh-rTW/strings.xml
  10. 4
      app/src/main/res/values/strings.xml
  11. 2
      app/src/mobile/res/values/strings.xml

@ -100,6 +100,7 @@ dependencies {
implementation 'androidx.media:media:1.7.1'
implementation 'androidx.room:room-runtime:2.8.0'
implementation 'cat.ereza:customactivityoncrash:2.4.0'
implementation 'com.airbnb.android:lottie:6.6.7'
implementation 'com.github.bassaer:materialdesigncolors:1.0.0'
implementation 'com.github.bumptech.glide:glide:' + glideVersion
implementation 'com.github.bumptech.glide:annotations:' + glideVersion

@ -1,4 +1,4 @@
<resources xmlns:tools="http://schemas.android.com/tools" xmlns:xliff="http://schemas.android.com/apk/res-auto" tools:ignore="MissingTranslation">
<resources xmlns:xliff="http://schemas.android.com/apk/res-auto">
<!-- Home -->
<string name="home_vod">Vod</string>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

@ -1,22 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/icon"
android:layout_width="120dp"
android:layout_height="120dp"
android:scaleType="fitCenter"
android:src="@drawable/ic_empty" />
<com.airbnb.lottie.LottieAnimationView
android:layout_width="200dp"
android:layout_height="200dp"
app:lottie_autoPlay="true"
app:lottie_loop="true"
app:lottie_rawRes="@raw/empty" />
<TextView
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/error_empty"
android:textColor="@color/white"
android:textSize="16sp" />

File diff suppressed because one or more lines are too long

@ -129,7 +129,7 @@
<string name="error_play_flag">暂无线路数据</string>
<string name="error_play_timeout">连接超时</string>
<string name="error_detail">暂无播放数据</string>
<string name="error_empty">找不到数据</string>
<string name="error_empty">这里什麽都没有 👀</string>
<!-- Update -->
<string name="update_version">发现新版本 <xliff:g name="name">%s</xliff:g></string>

@ -129,7 +129,7 @@
<string name="error_play_flag">暫無線路資料</string>
<string name="error_play_timeout">連線逾時</string>
<string name="error_detail">暫無播放資料</string>
<string name="error_empty">找不到資料</string>
<string name="error_empty">這裡什麼都沒有 👀</string>
<!-- Update -->
<string name="update_version">發現新版本 <xliff:g name="name">%s</xliff:g></string>

@ -1,4 +1,4 @@
<resources xmlns:tools="http://schemas.android.com/tools" xmlns:xliff="http://schemas.android.com/apk/res-auto" tools:ignore="MissingTranslation">
<resources xmlns:xliff="http://schemas.android.com/apk/res-auto">
<!-- App -->
<string name="app_name">TV</string>
@ -130,7 +130,7 @@
<string name="error_play_flag">No flag data</string>
<string name="error_play_timeout">Timed out</string>
<string name="error_detail">No play data</string>
<string name="error_empty">Not found</string>
<string name="error_empty">Nothing here 👀</string>
<!-- Update -->
<string name="update_version">New version <xliff:g name="name">%s</xliff:g></string>

@ -1,4 +1,4 @@
<resources xmlns:tools="http://schemas.android.com/tools" xmlns:xliff="http://schemas.android.com/apk/res-auto" tools:ignore="MissingTranslation">
<resources xmlns:xliff="http://schemas.android.com/apk/res-auto">
<!-- App -->
<string name="app_keep">Keep</string>

Loading…
Cancel
Save