Skip to content

fix(#426): enlarge CHT server URL input field#427

Merged
1yuv merged 2 commits intomasterfrom
426_input
Mar 19, 2026
Merged

fix(#426): enlarge CHT server URL input field#427
1yuv merged 2 commits intomasterfrom
426_input

Conversation

@1yuv
Copy link
Copy Markdown
Member

@1yuv 1yuv commented Mar 18, 2026

Summary

  • Makes the custom server URL input full-width (match_parent) instead of wrap_content
  • Keeps the URL input at the top of the screen
  • Increases text size to 18sp for improved readability

Closes #426

Test plan

  • Open unbranded CHT Android app on a tablet and select "Custom"
  • Verify the URL input field spans the full width of the screen
  • Verify the text is readable and large enough
  • Verify the input stays at the top of the screen (not vertically centered)
  • Test on a phone-sized device to ensure it still looks good

🤖 Generated with Claude Code

Make the custom server URL input full-width, vertically centered,
and with larger text for better usability on tablets and all devices.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the unbranded Android app’s “Custom server URL” form layout to make the URL input easier to use on larger screens (tablets) by giving it more horizontal space and improving readability.

Changes:

  • Expands the custom server URL EditText to full width (match_parent).
  • Vertically centers the URL input within the screen.
  • Increases the URL input text size to 18sp.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/main/res/layout/custom_server_form.xml Outdated
Address PR feedback: remove layout_centerVertical and layout_above
to keep the input in its original top position.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@binokaryg binokaryg requested review from binokaryg March 18, 2026 23:14
Copy link
Copy Markdown
Member

@binokaryg binokaryg left a comment

Choose a reason for hiding this comment

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

Looks good on Android Emulator.

Tablet:

Before After
image image

Phone:

Before After
image image

@1yuv 1yuv merged commit 85138f0 into master Mar 19, 2026
8 checks passed
@1yuv 1yuv deleted the 426_input branch March 19, 2026 00:07
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.

CHT Server URL input is too small

3 participants