Skip to content

Migrate UI from XML to Jetpack Compose with Material 3 Expressive#4251

Open
Anto426 wants to merge 22 commits into
AdAway:masterfrom
Anto426:master
Open

Migrate UI from XML to Jetpack Compose with Material 3 Expressive#4251
Anto426 wants to merge 22 commits into
AdAway:masterfrom
Anto426:master

Conversation

@Anto426

@Anto426 Anto426 commented Mar 1, 2026

Copy link
Copy Markdown

…ground service compatibility, add empty state string for lists, and delete obsolete preference XML files.
…menu

- Replaced the traditional options menu with a Compose-based top app bar in SourceEditActivity.
- Added functions for saving and deleting sources directly from the UI.
- Removed unused menu resource files related to source editing.
- Updated the welcome screens to use a more consistent callback pattern for proceeding through steps.
- Changed ElevatedCard to Card in WelcomeMethodCard for better material design compliance.
- Removed deprecated menu XML files to clean up the project structure.
- Updated Gradle properties and dependencies for improved build configuration.
- Introduced a new PrefsRoutes.kt file to manage preferences UI navigation and state.
- Updated build.gradle to utilize version catalog for dependencies.
- Replaced hardcoded library versions with references from libs.versions.toml.
- Added new dependencies for androidx libraries and updated existing ones.
- Refactored AdAwayExpressiveTheme.kt to include new composables for top bars and floating bars.
- Updated HelpActivity, HomeActivity, HostsSourcesActivity, ListsActivity, LogActivity, PrefsActivity, PrefsVpnExcludedAppsActivity, SourceEditActivity, and SupportActivity to use new ExpressiveTopBar and ExpressiveFloatingBottomBar components.
- Improved code readability and maintainability by consolidating top bar implementations.
…nguages

- Introduced dynamic color preferences in the settings, allowing users to enable Material You colors based on their wallpaper for Android 12 and above.
- Updated translations for dynamic color settings in various languages including Sinhala, Slovak, Slovenian, Albanian, Serbian, Swedish, Tamil, Thai, Tagalog, Turkish, Ukrainian, Urdu, Uzbek, Vietnamese, and both Traditional and Simplified Chinese.
- Fixed encoding issues in existing translations to ensure proper display of text.
@nqmgaming

Copy link
Copy Markdown

😄

@Anto426

Anto426 commented Jun 8, 2026

Copy link
Copy Markdown
Author

@PerfectSlayer

Copilot AI review requested due to automatic review settings June 9, 2026 17:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

@Anto426 Anto426 mentioned this pull request Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants