Open Bug 1863758 Opened 11 months ago Updated 10 months ago

Create a 'Snackbar' style that can be used by full screen notification layouts

Categories

(Fenix :: General, enhancement, P3)

All
Android
enhancement

Tracking

(Not tracked)

People

(Reporter: towhite, Unassigned)

References

Details

(Whiteboard: [fxdroid])

Original PR discussion.

full_screen_notification_dialog.xml (Fenix) & dialog_full_screen_notification.xml (Focus) share the same properties as the app specific Snackbar layout. Create a 'Snackbar' style that can be used across the app Snackbar layouts.

We're essentially duplicating https://searchfox.org/mozilla-mobile/source/firefox-android/fenix/app/src/main/res/layout/fenix_snackbar.xml right now. Since the properties will be common across 2 different XML files, we want to be able to move the common properties into a <style> and be able to call it via style="@style/SnackbarText".
See https://searchfox.org/mozilla-mobile/source/firefox-android/fenix/app/src/main/res/values/styles.xml#402

Severity: -- → N/A
Priority: -- → P3
Whiteboard: [fx
Whiteboard: [fx → [fxdroid]
You need to log in before you can comment on or make changes to this bug.