Skip to content

Fix android-check failure by wiring Login MotionLayout to a valid MotionScene - #20

Draft
ppk205 with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-android-check-job
Draft

ppk205 with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-android-check-job

Conversation

Copilot AI commented Sep 29, 2026 •

Copy link
Copy Markdown

The android-check workflow was failing at :app:lintDebug due to an invalid MotionLayout scene reference in fragment_login.xml. Lint reported MotionLayoutInvalidSceneFileReference because app:layoutDescription was set to @null.

  • Root cause

    • app/src/main/res/layout/fragment_login.xml used app:layoutDescription="@null" on a MotionLayout, which is rejected by Android lint.
  • Code changes

    • Updated login layout to reference a real scene file: @xml/scene_login.
    • Added app/src/main/res/xml/scene_login.xml with a valid MotionScene (start/end constraint sets + transition) for login_motion_layout, matching existing motion behavior patterns used elsewhere in the app.
  • Representative diff

    <!-- fragment_login.xml -->
    - app:layoutDescription="@null"
    + app:layoutDescription="@xml/scene_login"
    <!-- scene_login.xml -->
    <MotionScene ...>
        <Transition
            app:constraintSetStart="@+id/start"
            app:constraintSetEnd="@+id/end" />
        ...
    </MotionScene>

Co-authored-by: ppk205 <148682643+ppk205@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job android-check Fix android-check failure by wiring Login MotionLayout to a valid MotionScene Sep 29, 2026
Copilot AI requested a review from ppk205 September 29, 2026 05:04
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.

2 participants