Stypox
81f740d409
Replace ErrorActivity with ErrorUtil
2021-12-04 10:36:36 +01:00
Stypox
4698d07323
Do not hide feed buttons (show/hide & help) behind three-dots menu
2021-06-14 19:02:57 +02:00
krlvm
f477ab84d5
Fix tab highlight opacity on KitKat
2021-03-28 14:43:11 +03:00
krlvm
fd14c8cdce
Fix Dark elements in Light Theme
2021-03-27 17:46:05 +03:00
Stypox
463dd8ea74
Completely remove return activity, now outdated
2021-03-12 23:21:54 +01:00
Stypox
c43bca6007
Add report/solve-recaptcha button in error panel
...
It will be shown even when nothing could be loaded not due to a network error, and the user can choose to ignore or report it.
Also improve error reporting arguments
Also completely refactor error activity
Also improve some code here and there
2021-03-12 23:21:49 +01:00
Stypox
553b80164b
Move all error-related classes into error package
2021-03-07 17:49:28 +01:00
Isira Seneviratne
87568b6590
Fix the crash that occurs on navigating back to the main fragment.
2021-01-15 06:54:20 +05:30
Isira Seneviratne
910d22daa6
Use view binding in MainFragment.
2021-01-14 11:15:58 +05:30
TobiGr
0a831ec84e
Display meta info about search query, stream creator or topic
...
Closes #4614
2020-12-20 11:56:22 +01:00
Isira Seneviratne
340b92e32b
Convert ErrorInfo to Kotlin and use the Parcelize annotation.
2020-11-21 12:47:35 +05:30
TacoTheDank
39e5d8ccc2
Lint: Make a bunch of stuff final
2020-11-18 17:50:00 -05:00
TacoTheDank
ba6c7de35a
Use AndroidX preference
2020-09-06 12:52:42 +02:00
wb9688
87228673b4
Use final where possible
2020-08-16 10:25:09 +02:00
wb9688
5fd7ae33b4
Replace getFragmentManager() with getFM()
2020-08-03 14:47:10 +02:00
Stypox
631dfee763
Readd ic_close and ic_replay PNGs: needed in notifications
...
The other icons used in notifications are taken from exoplayer's ones: `@drawable/exo_controls_*`
2020-05-21 15:39:36 +02:00
Stypox
e0e4f6db2b
Fix MainFragment tab icons did not follow theme color
2020-05-21 15:39:36 +02:00
Vincent Nagel
f60cce54ea
rename setting to "YouTube restricted mode"
2020-04-20 21:47:32 -05:00
Vincent Nagel
63087a4311
renamed to "restricted mode"
2020-04-20 21:46:40 -05:00
Vincent Nagel
08a6e999b9
fix checkstyle errors
2020-04-20 21:45:32 -05:00
Vincent Nagel
9ede7a3c42
setupTabs() if ageRestrictedContent pref changed
2020-04-20 21:45:32 -05:00
wb9688
fda5405e48
Improve code style to be more consistent
2020-04-02 15:57:50 +02:00
Mauricio Colli
d8e83dabc6
Temporary: Fix menu visibility when restoring state in the pager adapter
...
When restoring the state of the adapter, all the fragments' menu
visibility were set to false, effectively disabling the menu from the
user until he switched pages or another event that triggered the menu to
be visible again happened.
FragmentStatePagerAdapter is deprecated and should be replaced with its
ViewPager2 counterpart, until then, this should do it.
2020-03-27 11:30:38 -03:00
Mauricio Colli
f2526ed5a8
Fix bug in main screen tabs state management
...
Tabs were not being destroyed/restored correctly due to a call to a
method that populated the view pager before it even had a chance of
restoring itself.
The solution was to null out the adapter before calling that method so
the view pager will postpone the populating process.
2020-03-08 09:09:04 -03:00
Paweł Matuszewski
33caad4690
make main page tabs scrollable
2020-01-02 13:02:14 +01:00
Mauricio Colli
544cae4fb4
Use tab position from parameters instead of relying on the view pager
2019-11-20 00:23:34 -03:00
Mauricio Colli
58a626dedb
Fix broken view pager tabs implementation
...
- Fragments were being recreated from scratch (losing their state) every
time some configuration change occurred (e.g. screen rotation).
- Use `FragmentStatePagerAdapter` instead, as it is built to work with
them and manage their states.
2019-11-20 00:23:30 -03:00
Mauricio Colli
7e311e5567
Fix mess with tab handling and enable ignored tests again
...
- Fix typo in a string resource
- Reorder tabs so the default kiosk is on top of the others
2019-11-20 00:23:29 -03:00
Robin
b2b32ce67b
fix NPE, fix 'wrong' constant, avoid unnecessary nulling
2019-10-08 06:36:29 +02:00
Robin
bf2a3ca043
Migrate to AndroidX
2019-10-04 14:59:08 +02:00
Christian Schabesberger
003170e6d8
add tab description and download dialog bag button
2019-09-22 13:26:53 +02:00
Ritvik Saraf
fdf0d8e9c8
fixed memory leak
2019-03-12 06:07:56 +05:30
Ritvik Saraf
58e562f7d4
added default kiosk
2019-03-11 03:08:30 +05:30
Mauricio Colli
43674ae80a
Improve tabs UX and saving/loading
...
- Show icons in the tabs list and dialog chooser
- Add a "restore to defaults" button
- Make removing gesture more user intuitive
2018-09-04 23:54:17 -03:00
Somethingweirdhere
e8bb7da906
Put listener initialization into onCreate
2018-08-24 12:26:16 +02:00
Somethingweirdhere
fce17aa1d4
Revert "Revert "Changed the default preferences to show trending.""
...
This reverts commit b441665
2018-08-24 12:26:15 +02:00
Somethingweirdhere
01abc244b1
Fixed revert
2018-08-24 12:26:15 +02:00
Somethingweirdhere
7bedacf5ad
Revert "Revert "Changed the way how kiosks are handled""
...
This reverts commit b020567
2018-08-24 12:26:15 +02:00
Somethingweirdhere
8dde25532a
Code reviewed
2018-08-24 12:26:15 +02:00
Somethingweirdhere
d9194aa859
Revert "Changed the way how kiosks are handled"
...
This reverts commit f3da712
2018-08-24 12:23:26 +02:00
Somethingweirdhere
f15081a474
Revert "Changed the default preferences to show trending."
...
This reverts commit 25481d0
2018-08-24 12:23:26 +02:00
Somethingweirdhere
2f99ff4a0c
Changed the default preferences to show trending.
2018-08-24 12:23:26 +02:00
Somethingweirdhere
3a7d26aa46
Changed the way how kiosks are handled
2018-08-24 12:23:26 +02:00
Somethingweirdhere
072e27ed27
Code cleanup
2018-08-24 12:23:26 +02:00
Somethingweirdhere
d4101c4f43
Nav drawer now moves behind the status bar and the colors also work correctly.
2018-08-24 12:14:53 +02:00
Somethingweirdhere
c56241ffc1
Tab icons now work correctly in bright theme
2018-08-24 12:14:53 +02:00
Somethingweirdhere
be62a2bfc5
Fixed icons and tab titles
2018-08-24 12:14:53 +02:00
Somethingweirdhere
5cb7771484
Fixed bugs&crashes
2018-08-24 12:14:53 +02:00
Somethingweirdhere
6675d3e2cd
Set up custom Main Page tabs
2018-08-24 12:14:53 +02:00
Somethingweirdhere
8ecbe4c8ad
Created a dialog for the main page content
2018-08-24 12:13:44 +02:00