Skip to content

Switch MainActivity to XML layout and add HomeScreen UI + components#6

Open
ZBZFirst wants to merge 2 commits intomasterfrom
codex/set-up-jetpack-compose-project-structure-07kkvd
Open

Switch MainActivity to XML layout and add HomeScreen UI + components#6
ZBZFirst wants to merge 2 commits intomasterfrom
codex/set-up-jetpack-compose-project-structure-07kkvd

Conversation

@ZBZFirst
Copy link
Copy Markdown
Owner

@ZBZFirst ZBZFirst commented Mar 5, 2026

Motivation

  • Prepare a simple hybrid UI by switching the activity to an XML-based palette canvas while introducing a Compose-based home screen and reusable UI components.
  • Scaffold future features and navigation by adding placeholders for camera/export pipelines and a navigation object.

Description

  • Replace Compose setContent in MainActivity with setContentView(R.layout.activity_main) and remove the example Greeting composable and previews.
  • Add an XML layout res/layout/activity_main.xml and new string resources in res/values/strings.xml to provide a palette-style canvas view for the activity.
  • Add a Compose app entry TempleIApp, a HomeScreen with state (HomeUiState, HomeEvent), and UI components PulseButton and UiPaletteBar with previews to drive the in-app palette experience.
  • Add lightweight placeholders for navigation (NavGraph, Routes) and features (CameraFeature, ExportFeature) and mark the Gradle wrapper gradlew as executable.

Testing

  • No automated tests were run as part of this change.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant