adding a slideshow menu button
This commit is contained in:
parent
1234d40316
commit
8ff6c8d1f7
|
@ -37,7 +37,7 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compile 'com.simplemobiletools:commons:2.23.8'
|
||||
compile 'com.simplemobiletools:commons:2.24.0'
|
||||
compile 'com.davemorrissey.labs:subsampling-scale-image-view:3.6.0'
|
||||
compile 'com.theartofdev.edmodo:android-image-cropper:2.4.0'
|
||||
compile 'com.bignerdranch.android:recyclerview-multiselect:0.2'
|
||||
|
|
|
@ -213,6 +213,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
|||
|
||||
when (item.itemId) {
|
||||
R.id.menu_set_as -> trySetAs(getCurrentFile())
|
||||
R.id.slideshow -> initSlideshow()
|
||||
R.id.menu_copy_to -> copyMoveTo(true)
|
||||
R.id.menu_move_to -> copyMoveTo(false)
|
||||
R.id.menu_open_with -> openWith(getCurrentFile())
|
||||
|
@ -245,6 +246,10 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
|
|||
}
|
||||
}
|
||||
|
||||
private fun initSlideshow() {
|
||||
|
||||
}
|
||||
|
||||
private fun copyMoveTo(isCopyOperation: Boolean) {
|
||||
val files = ArrayList<File>(1).apply { add(getCurrentFile()) }
|
||||
tryCopyMoveFilesTo(files, isCopyOperation) {
|
||||
|
|
|
@ -28,6 +28,10 @@
|
|||
android:title="@string/share"
|
||||
android:visible="false"
|
||||
app:showAsAction="ifRoom"/>
|
||||
<item
|
||||
android:id="@+id/slideshow"
|
||||
android:title="@string/slideshow"
|
||||
app:showAsAction="never"/>
|
||||
<item
|
||||
android:id="@+id/menu_copy_to"
|
||||
android:title="@string/copy_to"
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">Portrait aspect ratio</string>
|
||||
<string name="landscape_aspect_ratio">Landscape aspect ratio</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">Zobrazit skryté média</string>
|
||||
<string name="autoplay_videos">Automaticky přehrávat videa</string>
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">Hochformat</string>
|
||||
<string name="landscape_aspect_ratio">Querformat</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">Versteckte Ordner zeigen</string>
|
||||
<string name="autoplay_videos">Videos automatisch abspielen</string>
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">Relación de aspecto tipo retrato</string>
|
||||
<string name="landscape_aspect_ratio">Relación de aspecto tipo paisaje</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">Mostrar carpetas ocultas</string>
|
||||
<string name="autoplay_videos">Reproducir vídeos automáticamente</string>
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">Ratio aspect Portrait</string>
|
||||
<string name="landscape_aspect_ratio">Ratio aspect Paysage</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">Afficher les dossiers cachés</string>
|
||||
<string name="autoplay_videos">Lecture automatique des vidéos</string>
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">Portrait aspect ratio</string>
|
||||
<string name="landscape_aspect_ratio">Landscape aspect ratio</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">Show hidden media</string>
|
||||
<string name="autoplay_videos">Play videos automatically</string>
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">Proporzioni ritratto</string>
|
||||
<string name="landscape_aspect_ratio">Proporzioni panorama</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">Mostra cartelle nascoste</string>
|
||||
<string name="autoplay_videos">Riproduci video automaticamente</string>
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">Portrait aspect ratio</string>
|
||||
<string name="landscape_aspect_ratio">Landscape aspect ratio</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">非表示フォルダーを表示</string>
|
||||
<string name="autoplay_videos">自動的にビデオを再生</string>
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">Proporcje ekranu w trybie pionowym</string>
|
||||
<string name="landscape_aspect_ratio">Proporcje ekranu w trybie poziomym</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">Pokazuj ukryte foldery</string>
|
||||
<string name="autoplay_videos">Odtwarzaj filmy automatycznie</string>
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
<string name="open_camera">Abrir câmera</string>
|
||||
<string name="open_with">Abrir com</string>
|
||||
<string name="no_app_found">Nenhum aplicativo encontrado</string>
|
||||
<string name="hidden">(oculto)</string>
|
||||
|
||||
<string name="hidden">(oculto)</string>
|
||||
<string name="pin_folder">Fixar pasta</string>
|
||||
<string name="unpin_folder">Desfixar pasta</string>
|
||||
<string name="show_all">Mostrar conteúdo de todas as pastas</string>
|
||||
|
@ -79,6 +80,13 @@
|
|||
<string name="portrait_aspect_ratio">Retrato</string>
|
||||
<string name="landscape_aspect_ratio">Paisagem</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">Mostrar pastas ocultas</string>
|
||||
<string name="autoplay_videos">Reproduzir vídeos automaticamente</string>
|
||||
|
@ -91,7 +99,8 @@
|
|||
<string name="images_and_videos">Imagens e vídeos</string>
|
||||
<string name="loop_videos">Reproduzir vídeos em ciclo</string>
|
||||
<string name="animate_gifs">Animação de GIFs nas miniaturas</string>
|
||||
<string name="max_brightness">Brilho máximo ao visualizar mídia</string>
|
||||
|
||||
<string name="max_brightness">Brilho máximo ao visualizar mídia</string>
|
||||
<string name="crop_thumbnails">Recortar miniaturas em quadrados</string>
|
||||
<string name="screen_rotation_by">Critério para rotação de tela</string>
|
||||
<string name="screen_rotation_system_setting">Padrão do sistema</string>
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">Proporção na vertical</string>
|
||||
<string name="landscape_aspect_ratio">Proporção na horizontal</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">Mostrar pastas ocultas</string>
|
||||
<string name="autoplay_videos">Reproduzir vídeos automaticamente</string>
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">Формат изображения</string>
|
||||
<string name="landscape_aspect_ratio">Пейзажное соотношение сторон</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">Показать скрытые папки</string>
|
||||
<string name="autoplay_videos">Воспроизводить видео автоматически</string>
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">Orientácia nastojato</string>
|
||||
<string name="landscape_aspect_ratio">Orientácia naležato</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Prezentácia</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Zahrnúť videá</string>
|
||||
<string name="random_order">Náhodné poradie</string>
|
||||
<string name="use_fade">Používať miznúce animácie</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">Zobraziť skryté médiá</string>
|
||||
<string name="autoplay_videos">Spúšťať videá automaticky</string>
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">Stående bildförhållande</string>
|
||||
<string name="landscape_aspect_ratio">Liggande bildförhållande</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">Visa dolda mappar</string>
|
||||
<string name="autoplay_videos">Spela upp videos automatiskt</string>
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">Portrait aspect ratio</string>
|
||||
<string name="landscape_aspect_ratio">Landscape aspect ratio</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">Gizli klasörleri göster</string>
|
||||
<string name="autoplay_videos">Videoları otomatik olarak oynat</string>
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">纵向长宽比</string>
|
||||
<string name="landscape_aspect_ratio">横向长宽比</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">显示所有</string>
|
||||
<string name="autoplay_videos">自动播放</string>
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">Portrait aspect ratio</string>
|
||||
<string name="landscape_aspect_ratio">Landscape aspect ratio</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">秀出隱藏資料夾</string>
|
||||
<string name="autoplay_videos">自動播放影片</string>
|
||||
|
|
|
@ -79,6 +79,13 @@
|
|||
<string name="portrait_aspect_ratio">Portrait aspect ratio</string>
|
||||
<string name="landscape_aspect_ratio">Landscape aspect ratio</string>
|
||||
|
||||
<!-- Slideshow -->
|
||||
<string name="slideshow">Slideshow</string>
|
||||
<string name="interval">Interval</string>
|
||||
<string name="include_videos">Include videos</string>
|
||||
<string name="random_order">Random order</string>
|
||||
<string name="use_fade">Use fade animations</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="show_hidden_media">Show hidden media</string>
|
||||
<string name="autoplay_videos">Play videos automatically</string>
|
||||
|
|
Loading…
Reference in New Issue