Skip to content

feat(android-demo): Improve avatar selector with thumbnails and grouped display#92

Open
fengzhongsen wants to merge 1 commit into
duixcom:mainfrom
fengzhongsen:feature/avatar-selector-improvement
Open

feat(android-demo): Improve avatar selector with thumbnails and grouped display#92
fengzhongsen wants to merge 1 commit into
duixcom:mainfrom
fengzhongsen:feature/avatar-selector-improvement

Conversation

@fengzhongsen

Copy link
Copy Markdown

Summary

Improved the Android Demo's model selector to provide a better user experience when choosing digital human avatars.

Changes

New Features

  • AvatarModel data class: Structured model with name, description, URL, and optional thumbnail resource
  • Grouped avatar display: "Recommended Avatars" section (2-column grid with thumbnails) + "More Models" section (list)
  • Avatar thumbnails: Added preview images for 4 official avatars (Leo, Oliver, Sofia, Lily)
  • Current selection display: Main activity now shows the currently selected avatar name and description

Bug Fixes

  • Removed 7 broken model URLs that return HTTP 404 (files were deleted from GitHub releases)
  • Added 4 working models from v1.0.0 release that were not previously listed (ddzh, shuziren_v2, St_yxm, Zyynv)

UI Improvements

  • Dialog now has proper white background and 90% screen width
  • ScrollView wrapper prevents overflow on small screens
  • Items show avatar thumbnail + name + description in a clean layout

Testing

  • Compiled and tested on a physical device (Snapdragon 8 Gen2, Android 14)
  • All 10 listed model URLs verified accessible (HTTP 200)

…ed display

- Add AvatarModel data class with structured avatar info (name, description, url, thumbnail)

- Redesign ModelSelectorDialog with two sections: Recommended Avatars (grid) and More Models (list)

- Add avatar thumbnail images for 4 official avatars (Leo, Oliver, Sofia, Lily)

- Remove 7 broken model URLs that return 404 from GitHub releases

- Add 4 additional working models from v1.0.0 release (ddzh, shuziren_v2, St_yxm, Zyynv)

- Update activity_main.xml to show currently selected avatar name

- Update item layout to display avatar thumbnail alongside name and description
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.

1 participant