18 Commits

Author SHA1 Message Date
arkon
10e60b4d94 Fix tab underline in chapter settings sheet
(cherry picked from commit 9984e983b4d7f9a4bd0afaf7623cf9d9a1b2628b)
2022-01-22 18:39:56 -05:00
Ivan Iskandar
81c089299e Tabbed bottom sheet adjustments (#6309)
* SimpleNavigationView: Don't set background and elevation

* Add divider for tabs in bottom sheet

(cherry picked from commit be0a23d9ad6a82ed9b26eaa6248807a80876db63)
2021-12-11 14:59:40 -05:00
Ivan Iskandar
f61bbfa77a More themes cleanup (#5410), remove AMOLED Blue
* More themes cleanup

* Tweak some things

* Fix 'Clear History' icon

* Split out ripple colored to its own drawable

* Tidy up things

* Unify background dim amount

* Use primaryColor for Account login button

* More colored ripples

* use colorOnPrimary for selected comfortable library item title

Co-authored-by: Soitora <simon.mattila@protonmail.com>
(cherry picked from commit 932c92412c29fe4a8d1410d29a6e77557ad48707)

# Conflicts:
#	app/src/main/res/layout-sw720dp/manga_info_header.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/layout/reader_activity.xml
#	app/src/main/res/menu/library_selection.xml
#	app/src/main/res/menu/reader.xml
#	app/src/main/res/values/colors.xml
#	app/src/main/res/values/dimens.xml
2021-06-26 22:38:53 -04:00
Soitora
84076c2582 Add animations for Bottom Navigation items (#5181)
* Animated icon for the Library tab

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Animated icon for the More tab

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Rename more_vert to overflow

Should maybe help any confusion together with the other more_horiz changes.

* Animated icon for the History tab

Co-Authored-By: CrepeTF <70870719+CrepeTF@users.noreply.github.com>

* Clarify names and clean files

* Animated icon for the Updates tab

* Animated icon for the Browse tab

* Recreate the animated icon for the History tab

History icons look better when the internal clock is not moving.

Co-authored-by: CrepeTF <70870719+CrepeTF@users.noreply.github.com>
(cherry picked from commit aed6e12119b1b71710a4dd4139e776ca63b4636c)
2021-05-29 17:57:44 -04:00
Ivan Iskandar
f09c977661 TabbedBottomSheetDialog: Fix scrollable pages (#5173)
(cherry picked from commit 69869115f6531f62013e6c4c3bdfb750bc26c57f)
2021-05-28 14:36:43 -04:00
Soitora
9b4aac7ce5 Ripples patch (#5144)
* Combine ripple_dark and ripple_light

Fixes AMOLED theme and doesn't require two seperate items.

* Fix ripple for the new About icons

* Fixes nav/tab ripple in Dark Blue and Light Blue themes

* Theme some ripples using their Style instead

(cherry picked from commit 33dcdc159949e76933f07130fd43d0537c7ea46f)

# Conflicts:
#	app/src/main/res/values/themes.xml
2021-05-22 18:28:04 -04:00
Soitora
a34133f526 Change tab ripple color (#5142)
Does what Google apps does, uses the colored ripple for Tabs as well and not just bottom nav.

(cherry picked from commit 2b8df691fff9db0754bce23a2eb0788200f836aa)
2021-05-22 18:08:13 -04:00
arkon
1518c2aa25 Run formatter on drawables and layouts
(cherry picked from commit dbe8931cf0a3839b10ec3deed9c0a262a493d891)

# Conflicts:
#	app/src/main/res/drawable/ic_launcher_foreground.xml
#	app/src/main/res/layout/main_activity.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/layout/reader_activity.xml
#	app/src/main/res/layout/reader_general_settings.xml
2021-05-22 17:47:08 -04:00
Soitora
2f9069765e Ripple overhaul (#5109)
* Create drawables for the ripples

Temporary colors in them to aid in unifying the ripples.

The 'ripple_circular' and 'ripple_normal' are probably going to be merge as one in the end.

* Change selectableItems to drawables

Changes 'selectableItemBackgroundBorderless' to 'ripple_circular' drawable.

Changes 'selectableItemBackground' to 'selectable_item_background' drawable.

* Add temporary colors to aid in finding unstyled ripples

* Fix button sizes to not make oval ripples

* Make the chip selectable follow ripple color

* Style using the built in rippleColor when possible

* Ripple away 💸

* Set ripple color for tabs

Main activity tabs as well as sheet tabs

* Set ripple color in seekbar buttons

* Fix ripple color for the toolbar

* Round off and start to finish the ripples

* Set custom colorful ripple for bottom navigation

Makes the app a little more fun than just black and white. Took inspiration from a ton of updated Google apps.

* Revert two layout changes

These were not necessary for the ripple as it is designed now, but it was before.

Co-authored-by: Andreas E <andreas.everos@gmail.com>
(cherry picked from commit 562dce60ee144be75434957d64ec7ab916dcce6a)

# Conflicts:
#	app/src/main/res/layout/main_activity.xml
#	app/src/main/res/layout/manga_info_header.xml
#	app/src/main/res/values/styles.xml
2021-05-22 17:40:53 -04:00
arkon
04da26195e Fix invisible overflow icon in chapter filter sheet in light blue theme
(cherry picked from commit 7b66ece8959959a11a8ca4ece4d6411add15a788)
2021-02-11 19:26:46 -05:00
arkon
a616193cdf Fix selected tab in sheets not being the accent color
(cherry picked from commit 3aeac7e7b598825a9914db9f2d112d1ac7394646)
2021-02-11 18:10:58 -05:00
arkon
72b0fcca9d Don't restrict filter sheet height anymore
(cherry picked from commit 1557f713f42739f76fd9808d18d4b914132becff)
2021-02-11 18:10:49 -05:00
arkon
9a3faad499 Fix unreadable sheet tab text in light blue theme
(cherry picked from commit 9f2fe33ce0080f24f642a823119b0d842e63307a)
2021-02-04 17:13:11 -05:00
arkon
b235521dd1 Rounded bottom sheets
(cherry picked from commit 6662e2002f63b303079a515e24ce9e092f07d24e)
2021-02-04 17:07:39 -05:00
arkon
3a07ee3deb Fix chapter filter icon tinting
(cherry picked from commit b5986b509eb7c2f201a5658e2df891352249d3ee)
2020-09-29 12:41:28 -04:00
arkon
8df978a91c Clean up global chapter settings code
(cherry picked from commit da5f10a2f1ac4f65c740c9838558456c43855678)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/source/browse/BrowseSourcePresenter.kt
2020-09-15 14:52:31 -04:00
lmj0011
763335bd85 [feature] add ability to set global filter/sort/display for Manga chapters (#3622)
* - [feature] add ability to set global filter/sort/display for Manga chapters

* - move default chapter settings functionality to overflow menu
- code clean up

* - show confirmation dialog when user selects "Set as Default" option in Chapter Settings

* - hide overflow menu in LibrarySettingsSheet

* - apply default chapter settings if manga is added to Library from a Source's browsing screen

Co-authored-by: arkon <arkon@users.noreply.github.com>
(cherry picked from commit 64050e8266603320ec6dafa4a70849aa4a28004b)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt
#	app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaPresenter.kt
2020-09-15 14:27:42 -04:00
arkon
3374481912 Refactor tabbed bottom sheet 2020-04-28 19:57:49 -04:00