Adrian Ulrich
92a23a09d5
Fix song.hashCode() to work on Android 4.x devices.
...
Older android releases do not implement java.lang.Long.hashCode.
2018-12-11 20:17:02 +01:00
Adrian Ulrich
7fa8833e20
adjust margins for the new seek bar position
2018-12-10 20:21:46 +01:00
Adrian Ulrich
719bed268f
make the seek bar 4dip higher
2018-12-10 20:11:42 +01:00
Adrian Ulrich
17920a5103
do not compare song object by reference
2018-12-10 20:04:35 +01:00
Adrian Ulrich
7fe09ad005
override hashCode and equals for song object
2018-12-10 20:04:25 +01:00
Adrian Ulrich
e997ac9207
Set notifyForDescendants to true.
...
This is needed for newer api versions to make contentObserver work.
2018-12-03 22:01:55 +01:00
Adrian Ulrich
66bebc8709
move seek bar to bottom
2018-12-03 21:56:00 +01:00
Adrian Ulrich
1a4484b0c1
Make controls.xml more re-usable.
...
Note that we also must update the themes to have PopupWindow provide overlay_background_color.
2018-12-03 21:25:43 +01:00
Adrian Ulrich
b8d5953cf0
unify seek-bar layout
2018-12-03 21:17:21 +01:00
Adrian Ulrich
9e23dfce15
report whether we consumed the event, so we don't need to lie to the parent view
2018-12-03 20:29:11 +01:00
Adrian Ulrich
b9fe7547d4
tag patchlevel 1
2018-11-26 20:18:32 +01:00
Adrian Ulrich
873674232c
do not enforce height on Holo
2018-11-25 17:06:51 +01:00
Adrian Ulrich
7ffd0169b3
patch DragSortListView to support setOnTouchListener calls.
...
This enables users of a DSLV to call setOnTouchListener without breaking the drag functionality.
2018-11-25 14:42:09 +01:00
Adrian Ulrich
597d704e4e
Have the popup menu overlap its parent
2018-11-24 21:12:24 +01:00
Adrian Ulrich
bad663761a
fix horizontal calculation
2018-11-24 20:45:03 +01:00
Adrian Ulrich
f8fd73999e
improve size calculation
2018-11-24 20:33:09 +01:00
Adrian Ulrich
89b110e5ea
Improve listview measurement
2018-11-24 20:14:11 +01:00
Adrian Ulrich
02de9b3cba
update translations
2018-11-22 21:18:24 +01:00
Adrian Ulrich
82d8b7cccd
use coordclicklistener in all places
2018-11-22 21:15:08 +01:00
Adrian Ulrich
715b80044f
Make fancymenu a ListPopupWindow
2018-11-22 21:07:34 +01:00
Adrian Ulrich
d85120e9a1
add padding to fancymenu row
2018-11-22 21:07:34 +01:00
Dmitri Davydok
eea0e444db
Add stop to allowed actions. ( #874 )
2018-11-21 20:32:42 +01:00
Adrian Ulrich
4fe3cb707b
target 1.0.80
2018-11-17 11:14:39 +01:00
Adrian Ulrich
5f532ac045
update translations
2018-11-17 11:11:43 +01:00
Toby Hsieh
d00b3e4769
Add a Jump to Time dialog ( #868 )
...
* Add a Jump to Time dialog
This implements #827 by adding a context menu entry to open a dialog
that allows the user to input a time/position to seek to for the current
song.
* Use callback interface for JumpToTimeDialog position submission
* Automatically show soft keyboard for JumpToTimeDialog
* Automatically move to next EditText in JumpToTimeDialog
* Crash if JumpToTimeDialog is started by wrong activity
2018-11-15 18:28:00 +01:00
Adrian Ulrich
c112925890
Use ViewHolder in item click event
2018-11-12 18:13:57 +01:00
Adrian Ulrich
72710df2c1
Fix fancymenu on Android 4.x
2018-11-12 13:54:29 +01:00
Adrian Ulrich
0c8e81c85d
Set title for playlist dialog
2018-11-12 11:03:56 +01:00
Adrian Ulrich
5e629a0d13
update translations
2018-11-12 11:00:16 +01:00
Adrian Ulrich
fae1f7207b
add fancymanu to playlist activity
2018-11-12 10:57:34 +01:00
Adrian Ulrich
5e39f5ceec
Add FancyMenu to ShowQueueFragment
2018-11-12 10:41:23 +01:00
Adrian Ulrich
893e96cbd4
add 'remove' drawable
2018-11-12 10:11:52 +01:00
Adrian Ulrich
77f48a00f5
update icons
2018-11-12 09:45:07 +01:00
Toby Hsieh
7c92c27336
Add FOREGROUND_SERVICE permission ( #867 )
...
Since 7c9731e05b4e5ebb92f5fe59519709606ba50ef9 targets API 28, playing a
song will crash on Android 9 unless we declare this permission.
See https://developer.android.com/about/versions/pie/android-9.0-changes-28#fg-svc
2018-11-12 08:41:59 +01:00
Adrian Ulrich
35417495b1
update makefile paths
2018-11-12 08:41:28 +01:00
Adrian Ulrich
1d11f64e9e
tune fancymenu layout
2018-11-02 21:10:02 +01:00
Adrian Ulrich
0df0328eef
Add menu drawables
2018-11-02 20:49:52 +01:00
Adrian Ulrich
62ea38873a
...aaand also add layouts for fancymenu.
2018-11-01 20:56:26 +01:00
Adrian Ulrich
5a0fd2b538
Introduce FancyMenu.
...
A menu-item like menu which gives us better layout control.
2018-11-01 20:55:32 +01:00
Adrian Ulrich
885618ef36
redo text at bottom layout
2018-10-27 19:02:26 +02:00
Adrian Ulrich
f9f70632bb
switch travis back to build-tools 27 to make it happy?
2018-10-27 11:22:38 +02:00
Adrian Ulrich
2afbfcb90f
Avoid crash if empty is label (no genre)
2018-10-27 11:18:34 +02:00
Adrian Ulrich
7c9731e05b
upgrade API level 28.
2018-10-27 11:14:57 +02:00
Adrian Ulrich
779d418a9d
disable add-to-homescreen for files
2018-10-27 10:50:47 +02:00
Adrian Ulrich
20962e37d0
Reorganise context menu
2018-10-26 22:17:30 +02:00
Adrian Ulrich
4ac874d4de
support for legacy devices
2018-10-26 21:24:06 +02:00
Adrian Ulrich
62e498a1a9
initial shortcut support
2018-10-26 20:20:15 +02:00
Adrian Ulrich
e37225bb91
update translations
2018-10-24 20:42:13 +02:00
Adrian Ulrich
1364754980
allow to stort albums by duration
2018-10-24 20:41:15 +02:00
Adrian Ulrich
13fff22d0c
Check full native media library if startNormalScan() is called.
...
Make library scans more agressive, even if we not scan the full filesystem.
This is only invoked by background scheduler scans OR user triggered actions.
The quickscan will still only check the library diff.
2018-10-22 21:15:01 +02:00