From 8fe30d83442b36729b6e26d547aa6b5acb13aa21 Mon Sep 17 00:00:00 2001 From: Stylogey Date: Sun, 10 Nov 2019 00:26:16 +0700 Subject: [PATCH] Cherish: Introduce Adaptive Playback [2/2] --- res/drawable/ic_headset.xml | 4 ++++ res/values-vi/cherish_strings.xml | 10 ++++++++++ res/values/cherish_arrays.xml | 16 ++++++++++++++++ res/values/cherish_strings.xml | 12 ++++++++++++ res/xml/cherish_settings_misc.xml | 20 ++++++++++++++++++++ 5 files changed, 62 insertions(+) create mode 100644 res/drawable/ic_headset.xml diff --git a/res/drawable/ic_headset.xml b/res/drawable/ic_headset.xml new file mode 100644 index 0000000..fbfd5f5 --- /dev/null +++ b/res/drawable/ic_headset.xml @@ -0,0 +1,4 @@ + + + \ No newline at end of file diff --git a/res/values-vi/cherish_strings.xml b/res/values-vi/cherish_strings.xml index 8e9a0b6..6dd02d9 100644 --- a/res/values-vi/cherish_strings.xml +++ b/res/values-vi/cherish_strings.xml @@ -255,4 +255,14 @@ Thanh đệm thêm thanh trạng thái Sử dụng các giá trị khung Hữu ích nếu thiết bị thực sự có các góc tròn + + Âm nhạc/phương tiện + Phát lại thích ứng + Tạm dừng phương tiện khi âm lượng bị tắt và tiếp tục lại bằng cách tăng âm lượng trong thời gian chờ + Thời hạn phát lại + 30 giây + 1 phút + 2 phút + 5 phút + 10 phút diff --git a/res/values/cherish_arrays.xml b/res/values/cherish_arrays.xml index 8034a85..1d4c0e8 100644 --- a/res/values/cherish_arrays.xml +++ b/res/values/cherish_arrays.xml @@ -287,4 +287,20 @@ 7 8 + + + + @string/adaptive_playback_timeout_30_secs + @string/adaptive_playback_timeout_1_min + @string/adaptive_playback_timeout_2_min + @string/adaptive_playback_timeout_5_min + @string/adaptive_playback_timeout_10_min + + + 30000 + 60000 + 120000 + 300000 + 600000 + diff --git a/res/values/cherish_strings.xml b/res/values/cherish_strings.xml index 867e885..c34b133 100644 --- a/res/values/cherish_strings.xml +++ b/res/values/cherish_strings.xml @@ -294,4 +294,16 @@ Use framework values Useful if the device actually has rounded corners + + + Media + Adaptive playback + Pause media when volume is muted and resume it by increasing volume within the timeout + Playback timeout + 30 seconds + 1 minute + 2 minutes + 5 minutes + 10 minutes + diff --git a/res/xml/cherish_settings_misc.xml b/res/xml/cherish_settings_misc.xml index ae0a8e8..301ea77 100644 --- a/res/xml/cherish_settings_misc.xml +++ b/res/xml/cherish_settings_misc.xml @@ -18,6 +18,26 @@ android:title="@string/misc_title" xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"> + + + + + + +