Originally stretching vertically over the whole screen was used
to avoid resizing the UI each time the selected content filter
selects another set of sort filters.
As it turns out fullscreen vertically dialogs can be ugly and my
other attempt to use View.INVISIBLE instead of (View.GONE) in order
to have some sort of placeholder, didn't work well with the Spinner
Views either. So we go back and let Android resize the UI.
Another resizing annoyance is now avoided. The Material's Chip with the
Filter style was also resized each time a Chip was selected.
To avoid resizing for the Chip views the checkmark icon is removed
by using a custom chip style: "@style/ChipSearchFilter". The
custom chip style also improves the contrast when a chip is selected
To save some space a ChipGroup that holds more than
CHIP_GROUP_ELEMENTS_THRESHOLD elements will be spanned
over all cells of a row in the GridLayout.
DividerItem was inserted in the content filter framework in the
NewPipeExtractor to have a section title for YoutubeMusic. But as
UI releated stuff seems a bit out of place in the Extractor I came
up with injecting the DividerItem aka section title in the frontend
without having to change too much in the frontend.
Those calles are no longer needed as the causing null ptr problem
was solved using the convertView paramter instead of locally cache
the TextView's in the Spinner Adapter.
SearchFilterLogic.java:
=======================
This class handles all the user interaction with the content and sort filters
of NewPipeExtractor.
The class works standalone to just get the default selected filters eg.
during init phase. See in SearchFragment#initializeFilterData()
BaseSearchFilterUiGenerator.java:
=================================
It extends SearchFilterLogic and is used as a base class to implement the UI interface
for content and sort filter dialogs eg. SearchFilterDialogGenerator or
SearchFilterOptionMenuAlikeDialogGenerator.
- Avoid NullPointerException crashes if there is no UiModeManager or desktop
system service mode
- Use final for every exception
- Suppress missing fields warnings
- Add missing NonNull annotation
Currently translated at 6.1% (40 of 646 strings)
Translated using Weblate (Santali)
Currently translated at 10.3% (67 of 646 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 63.8% (46 of 72 strings)
Translated using Weblate (Arabic)
Currently translated at 50.0% (36 of 72 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (72 of 72 strings)
Translated using Weblate (Portuguese)
Currently translated at 69.4% (50 of 72 strings)
Translated using Weblate (Bulgarian)
Currently translated at 4.1% (3 of 72 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 16.6% (12 of 72 strings)
Translated using Weblate (Norwegian Bokmål)
Currently translated at 92.2% (596 of 646 strings)
Translated using Weblate (Azerbaijani)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Vietnamese)
Currently translated at 99.6% (644 of 646 strings)
Translated using Weblate (Swedish)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Arabic)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Romanian)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 99.8% (645 of 646 strings)
Translated using Weblate (Korean)
Currently translated at 99.8% (645 of 646 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Punjabi (Pakistan))
Currently translated at 18.4% (119 of 646 strings)
Translated using Weblate (Slovak)
Currently translated at 9.7% (7 of 72 strings)
Translated using Weblate (Azerbaijani)
Currently translated at 97.2% (70 of 72 strings)
Translated using Weblate (Polish)
Currently translated at 59.7% (43 of 72 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (72 of 72 strings)
Translated using Weblate (Turkish)
Currently translated at 99.8% (645 of 646 strings)
Translated using Weblate (German)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Hungarian)
Currently translated at 9.8% (7 of 71 strings)
Translated using Weblate (Punjabi)
Currently translated at 5.6% (4 of 71 strings)
Translated using Weblate (Galician)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Punjabi)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Azerbaijani)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Vietnamese)
Currently translated at 99.6% (644 of 646 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Hungarian)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Asturian)
Currently translated at 2.8% (2 of 71 strings)
Translated using Weblate (Punjabi)
Currently translated at 99.6% (644 of 646 strings)
Translated using Weblate (Vietnamese)
Currently translated at 98.9% (639 of 646 strings)
Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 99.5% (643 of 646 strings)
Translated using Weblate (Italian)
Currently translated at 100.0% (646 of 646 strings)
Added translation using Weblate (English (Middle))
Added translation using Weblate (English (Old))
Added translation using Weblate (Sicilian)
Added translation using Weblate (Arabic (Najdi))
Added translation using Weblate (Kashmiri)
Added translation using Weblate (German (Low))
Added translation using Weblate (Aymará)
Added translation using Weblate (Kazakh)
Translated using Weblate (Bulgarian)
Currently translated at 2.8% (2 of 71 strings)
Translated using Weblate (Bengali)
Currently translated at 90.5% (585 of 646 strings)
Translated using Weblate (Punjabi)
Currently translated at 99.6% (644 of 646 strings)
Translated using Weblate (Azerbaijani)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Lithuanian)
Currently translated at 100.0% (646 of 646 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (646 of 646 strings)
Co-authored-by: Agnieszka C <aga_04@o2.pl>
Co-authored-by: Alex25820 <alexs25820@gmail.com>
Co-authored-by: Balázs Meskó <meskobalazs@mailbox.org>
Co-authored-by: Enol P <enolp@softastur.org>
Co-authored-by: Ergün Can Taş <erguntas1968@gmail.com>
Co-authored-by: GET100PERCENT <eraofphysics@yahoo.com>
Co-authored-by: Gediminas Murauskas <muziejusinfo@gmail.com>
Co-authored-by: Giovanni Donisi <giovannidonisi0701@gmail.com>
Co-authored-by: Hoseok Seo <ddinghoya@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: L-M-H <lars.magnus@herland.priv.no>
Co-authored-by: Lyudmil Borisov <lyuskoborisov@abv.bg>
Co-authored-by: Marian Hanzel <marulinko@gmail.com>
Co-authored-by: Massimo Pissarello <mapi68@gmail.com>
Co-authored-by: Nizami <nizamismidov4@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Prasanta-Hembram <Prasantahembram720@gmail.com>
Co-authored-by: Preston Waters <masatox3@yahoo.com>
Co-authored-by: Ray <ray.cfu@protonmail.com>
Co-authored-by: Rohan Deb Sarkar <rohandebsarkar+git@gmail.com>
Co-authored-by: SC <lalocas@protonmail.com>
Co-authored-by: Sebi <stoican_sebi@yahoo.com>
Co-authored-by: ShareASmile <aapshergill@gmail.com>
Co-authored-by: TXRdev Archive <lckphanaf9999@gmail.com>
Co-authored-by: Thọ Bùi Nguyễn Hoàng <buitho061997@gmail.com>
Co-authored-by: Vri 🌈 <weblate@vrifox.cc>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: bgo-eiu <huyaqoob+toolforge@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: pjammo <adrianoghr@hotmail.it>
Co-authored-by: thami simo <simo.azad@gmail.com>
Co-authored-by: zaioti <zaioti@tuta.io>
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ar/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/ast/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/az/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/bg/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/hu/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/it/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pa/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pl/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/pt/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/sk/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/uk/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hant_HK/
Translation: NewPipe/Metadata