Full Page Statement
A full page statement component with COUI style, mirroring ColorOS's COUIFullPageStatement (coui_full_page_statement.xml): a centered title, a scrollable statement body with vertical fading edges, and a bottom area holding a filled primary button plus an optional borderless exit text button. Typically used as the first-launch privacy / user statement page.
The statement body takes all the space left between the title and the button area, so the buttons stay pinned to the bottom of the page.
Parameters
The title of the FullPageStatement, centered at the top (COUI couiTextHeadlineXS: 16sp, medium).
The scrollable statement text (COUI couiTextBodyM: 14sp, secondary color).
The label of the filled primary button (COUI btn_confirm).
The callback when the primary button is clicked.
The modifier to be applied to the FullPageStatement.
The label of the borderless exit text button below the primary button (COUI txt_exit). When null, the exit button is not shown.
The callback when the exit text button is clicked.
The width of the primary button. When null, the COUI adaptive width is used (174dp, 220dp from 300dp wide windows, 280dp from 600dp wide windows — coui_full_page_statement_button_width buckets).
The FullPageStatementColors of the FullPageStatement.
The ButtonColors of the filled primary button. COUI uses the colorful default style (theme primary fill).
The padding around the statement text inside the scrollable area (COUI coui_full_page_statement_padding_horizontal/top/bottom).
The ScrollState of the statement text area.