diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt index 71a424365..4c64fd184 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt @@ -57,6 +57,7 @@ class SettingsActivity : SimpleActivity() { setupAllowVideoGestures() setupAllowDownGesture() setupBottomActions() + setupVideoLength() setupShowMediaCount() setupKeepLastModified() setupShowInfoBubble() @@ -196,6 +197,14 @@ class SettingsActivity : SimpleActivity() { } } + private fun setupVideoLength() { + settings_show_video_length.isChecked = config.videoLengthThumbnail + settings_show_video_length_holder.setOnClickListener { + settings_show_video_length.toggle() + config.videoLengthThumbnail = settings_show_video_length.isChecked + } + } + private fun setupDarkBackground() { settings_black_background.isChecked = config.blackBackground settings_black_background_holder.setOnClickListener { diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt index df1cb2e51..7e5fa5f02 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt @@ -451,6 +451,8 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList + + + + + + + + عرض صور GIF المتحركة في الصور المصغرة أقصى سطوع عند عرض الوسائط قص الصور المصغرة الى مستطيلات + Show length of the video تدوير وسائط ملء الشاشة بواسطة اعدادات النظام تدوير الجهاز diff --git a/app/src/main/res/values-az/strings.xml b/app/src/main/res/values-az/strings.xml index d2eb21889..c97770bc3 100644 --- a/app/src/main/res/values-az/strings.xml +++ b/app/src/main/res/values-az/strings.xml @@ -139,6 +139,7 @@ Animate GIFs at thumbnails Max brightness when viewing fullscreen media Crop thumbnails into squares + Show length of the video Rotate fullscreen media by System setting Device rotation diff --git a/app/src/main/res/values-ca/strings.xml b/app/src/main/res/values-ca/strings.xml index a5272db32..2eb653964 100644 --- a/app/src/main/res/values-ca/strings.xml +++ b/app/src/main/res/values-ca/strings.xml @@ -139,6 +139,7 @@ Animar les miniatures dels GIFs Brillantor màxima quan es mostra multimèdia Retallar miniatures en quadrats + Show length of the video Gira els mitjans a pantalla completa segons Configuració del sistema Rotació del dispositiu diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml index 48c5c77aa..f80f0f054 100644 --- a/app/src/main/res/values-cs/strings.xml +++ b/app/src/main/res/values-cs/strings.xml @@ -139,6 +139,7 @@ Animovat náhledy souborů GIF Nastavit jas obrazovky na max při zobrazení médií Oříznout náhledy na čtverce + Show length of the video Otočit média podle Systémového nastavení Otočení zařízení diff --git a/app/src/main/res/values-da/strings.xml b/app/src/main/res/values-da/strings.xml index 945387d93..e23ecef3f 100644 --- a/app/src/main/res/values-da/strings.xml +++ b/app/src/main/res/values-da/strings.xml @@ -139,6 +139,7 @@ Animér GIF\'er i miniaturer Maksimal lysstyrke ved fuldskærmsvisning af medier Beskær miniaturer til kvadrater + Show length of the video Roter fuldskærmsmedier efter Systemindstilling Enhedens orientering diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 640abceae..38b8a4fba 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -139,6 +139,7 @@ Kacheln von GIFs animieren Helligkeit beim Betrachten maximieren Kacheln quadratisch zuschneiden + Show length of the video Im Vollbild ausrichten nach: Systemeinstellung Gerätedrehung diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index 60e75cf2e..04d149dfe 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -139,6 +139,7 @@ Εμφάνιση κινούμενων GIFs στα εικονίδια Μέγιστη φωτεινότητα κατά την προβολή πλήρους οθόνης Κόψιμο εικονιδίων σε τετράγωνα + Show length of the video Περιστροφή σε πλήρη οθόνη απο Ρυθμίσεις συστήματος Περιστροφή συσκευής diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 7213ee1b7..b05f01a21 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -139,6 +139,7 @@ Animar las miniaturas de GIFs Brillo máximo cuando se muestra multimedia Recortar miniaturas en cuadrados + Show length of the video Rotar multimedia en pantalla completa según Configuración del sistema Rotación del dispositivo diff --git a/app/src/main/res/values-fi/strings.xml b/app/src/main/res/values-fi/strings.xml index c862f51f2..c3a879d10 100644 --- a/app/src/main/res/values-fi/strings.xml +++ b/app/src/main/res/values-fi/strings.xml @@ -139,6 +139,7 @@ Animoi GIFit pienoiskuvissa Täysi kirkkaus mediaa katsoessa Leikkaa pienoiskuvat neliöiksi + Show length of the video Käännä koko ruudun mediaa Järjestelmän asetukset Laitteen kierto diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index d7ec4d5c2..470e84808 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -139,6 +139,7 @@ GIFs animés sur les miniatures Luminosité maximale Recadrer les miniatures en carrés + Show length of the video Pivoter l\'affichage selon Paramètres système Rotation de l\'appareil diff --git a/app/src/main/res/values-gl/strings.xml b/app/src/main/res/values-gl/strings.xml index 0a7f4032f..2a583912f 100644 --- a/app/src/main/res/values-gl/strings.xml +++ b/app/src/main/res/values-gl/strings.xml @@ -139,6 +139,7 @@ Animar os GIFs na icona Brillo ao máximo cando mire medios Recortar iconas a cadrados + Show length of the video Rotar medios a pantalla completa a Axuste do sistema Rotación do dispositivo diff --git a/app/src/main/res/values-hr/strings.xml b/app/src/main/res/values-hr/strings.xml index 5ac572a6e..5e1d73b54 100644 --- a/app/src/main/res/values-hr/strings.xml +++ b/app/src/main/res/values-hr/strings.xml @@ -139,6 +139,7 @@ Prikaz animacije GIF-ova na sličicama Maksimalna svjetlina pri pregledu datoteka Izreži sličice u kvadrate + Show length of the video Rotiraj datoteku u punom zaslonu za Postavke sustava Rotacija uređaja diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 94360236b..e37995d8e 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -140,6 +140,7 @@ Animált GIF miniatűr Maximális fényerő a teljes képernyős médiánál Miniatűrök négyzet alakúra vágva + Show length of the video Teljes képernyős média forgatása Rendszer beállítások Eszköz elforgatás diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 21b24254c..622899c56 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -139,6 +139,7 @@ Anima le GIF in miniatura Luminosità max durante la visualizzazione Ritaglia le miniature in quadrati + Show length of the video Ruota schermo per Impostazione di sistema Rotazione dispositivo diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 96707db26..1fb37bbe1 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -139,6 +139,7 @@ アニメーションGIFを動かす 再生時には明るさを最大にする サムネイルを正方形に切り取る + Show length of the video フルスクリーン再生の表示切り替え システム設定に従う 端末の向きに従う diff --git a/app/src/main/res/values-ko-rKR/strings.xml b/app/src/main/res/values-ko-rKR/strings.xml index 9a69c6c48..478276804 100644 --- a/app/src/main/res/values-ko-rKR/strings.xml +++ b/app/src/main/res/values-ko-rKR/strings.xml @@ -139,6 +139,7 @@ 섬네일에서 GIFs 애니메이션 활성화 미디어 최대 밝기 미리보기 사각형으로 자름 + Show length of the video 전체화면으로 회전기준 시스템 설정 디바이스 회전 diff --git a/app/src/main/res/values-lt/strings.xml b/app/src/main/res/values-lt/strings.xml index 37d2ff2e7..88d76893d 100644 --- a/app/src/main/res/values-lt/strings.xml +++ b/app/src/main/res/values-lt/strings.xml @@ -139,6 +139,7 @@ Animuoti GIF\'us miniatiūrose Maksimalus ryškumas, kai medija peržiūrima viso ekrano rėžimu Apkirpti miniatiūras kvadratu + Show length of the video Sukti viso ekrano mediją pagal Sistemos nustatymai Įrenginio sukimas diff --git a/app/src/main/res/values-nb/strings.xml b/app/src/main/res/values-nb/strings.xml index 07b01f30e..dd90bb4b7 100644 --- a/app/src/main/res/values-nb/strings.xml +++ b/app/src/main/res/values-nb/strings.xml @@ -139,6 +139,7 @@ Animert GIF i minibildevisning Maks lysstyrke ved mediavisning Beskjær minibilder i kvadrater + Show length of the video Roter media etter Systeminnstilling Enhetsrotasjon diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml index f62a9bf3f..54eb07781 100644 --- a/app/src/main/res/values-nl/strings.xml +++ b/app/src/main/res/values-nl/strings.xml @@ -139,6 +139,7 @@ GIF-bestanden afspelen in overzicht Maximale helderheid in volledig scherm Miniatuurvoorbeelden bijsnijden + Show length of the video Media in volledig scherm roteren volgens Systeeminstelling Oriëntatie van apparaat diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 39b32cbf5..ac0e46515 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -139,6 +139,7 @@ Animowane miniatury GIFów Maksymalna jasność podczas wyświetlania multimediów Przycinaj miniatury do kwadratów + Show length of the video Obracaj pełnoekranowe multimedia według Ustawień systemowych Orientacji urządzenia diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index dddb7b49f..9173b3749 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -139,6 +139,7 @@ Animação de GIFs nas miniaturas Brilho máximo ao visualizar mídia Recortar miniaturas em quadrados + Show length of the video Critério para rotação de tela Padrão do sistema Sensor do aparelho diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml index 6298c9547..899b7b3b3 100644 --- a/app/src/main/res/values-pt/strings.xml +++ b/app/src/main/res/values-pt/strings.xml @@ -139,6 +139,7 @@ Animação de GIF nas miniaturas Brilho máximo permitido Recortar miniaturas em quadrados + Show length of the video Rodar em ecrã completo por Definições do sistema Rotação do dispositivo diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 110dc6bd8..ef0f855ef 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -139,6 +139,7 @@ Анимировать эскизы GIF Максимальная яркость при просмотре файлов Нарезать миниатюры в квадраты + Show length of the video Поворот экрана при просмотре изображения Использовать системные настройки При повороте устройства diff --git a/app/src/main/res/values-sk/strings.xml b/app/src/main/res/values-sk/strings.xml index 7d057a389..d26e8e0e5 100644 --- a/app/src/main/res/values-sk/strings.xml +++ b/app/src/main/res/values-sk/strings.xml @@ -139,6 +139,7 @@ Animovať GIF súbory pri náhľade Maximálny jas pri prezeraní médií Orezať náhľady na štvorce + Show length of the video Otáčať obrazovku podľa Rotate fullscreen media by Systémového nastavenia Otočenia zariadenia diff --git a/app/src/main/res/values-sl/strings.xml b/app/src/main/res/values-sl/strings.xml index 3158315bc..0367f6674 100644 --- a/app/src/main/res/values-sl/strings.xml +++ b/app/src/main/res/values-sl/strings.xml @@ -139,6 +139,7 @@ Animiraj GIFe v predogledu Najvišja svetlost pri celozaslonskem predvajanju Obreži predoglede slik v kvadrate + Show length of the video Zavrti celozaslonski medij za Sistemska nastavitev Obračanje naprave diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 3137d4210..fd598bfb4 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -139,6 +139,7 @@ Animera GIF-bilders miniatyrer Maximal ljusstyrka när media visas i helskärmsläge Beskär miniatyrer till kvadrater + Show length of the video Rotera media i helskärmsläge Systeminställning Enhetens rotation diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index 85f7b971b..2620d945a 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -139,6 +139,7 @@ Küçük resimlerdeki GIF\'leri hareketlendir Tam ekran medya görüntülerken maksimum parlaklık Küçük resimleri karelere kırp + Show length of the video Tam ekran medyayı döndür Sistem ayarları Cihaz yönü diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml index abcf3fd33..0a7bbd815 100644 --- a/app/src/main/res/values-uk/strings.xml +++ b/app/src/main/res/values-uk/strings.xml @@ -139,6 +139,7 @@ Анімувати ескізи GIF-файлів Максимальна яскравість екрану при повноекранному перегляді медіафайлу Обрізати ескізи у квадрат + Show length of the video При повноекранному перегляді обертати за… системними налаштуваннями поворотом пристрою diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 04164d705..c848349d4 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -139,6 +139,7 @@ GIF 缩略图 浏览时最大亮度 裁剪缩略图 + Show length of the video 全屏方向 系统设置 设备方向 diff --git a/app/src/main/res/values-zh-rTW/strings.xml b/app/src/main/res/values-zh-rTW/strings.xml index fadb18f64..953bfc6b9 100644 --- a/app/src/main/res/values-zh-rTW/strings.xml +++ b/app/src/main/res/values-zh-rTW/strings.xml @@ -139,6 +139,7 @@ 縮圖顯示GIF動畫 瀏覽時最大亮度 縮圖裁剪成正方形 + Show length of the video 全螢幕時旋轉方向 系統設定方向 裝置實際方向 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ef69c4da9..d0c56abf3 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -139,6 +139,7 @@ Animate GIFs at thumbnails Max brightness when viewing fullscreen media Crop thumbnails into squares + Show length of the video Rotate fullscreen media by System setting Device rotation