Skip to content

Add an "About the app" item to the main overflow menu#136

Merged
almothafar merged 1 commit into
masterfrom
claude/about-app-menu-g9p4t6
Jul 12, 2026
Merged

Add an "About the app" item to the main overflow menu#136
almothafar merged 1 commit into
masterfrom
claude/about-app-menu-g9p4t6

Conversation

@almothafar

Copy link
Copy Markdown
Owner

Closes #134. Related: #113 (surfaces the app version in-app).

What

A new "About the app" item in the main screen's overflow menu (after "Send feedback") opens a Material dialog with:

  • App icon, name, and live version (via the existing appVersionName())
  • A one-paragraph description of what the app does, in the app's existing voice
  • Developed by Al-Mothafar Al-Hasan (reuses the existing developer_name string, consistent with the signature footer)
  • "Free and open-source software, licensed under the Apache License 2.0."
  • A short disclaimer: battery/health/charging figures are device-provided estimates — guidance, not exact measurements; the app is provided "as is", without warranty
  • A View on GitHub button opening the repo (with the existing no-browser fallback toast), and OK to dismiss

Per the discussion in #134, the open-source/license statement is included in-app as a trust signal (and groundwork for the F-Droid listing, #4), while the personal "playground" tone stays in the README.

Changes

  • res/menu/menu_main.xml — new action_about overflow item
  • ui/MainActivity.java — menu handler, showAboutDialog(), openProjectPage()
  • res/layout/dialog_about.xml — new dialog content layout (scrollable, theme-attribute colors)
  • res/values/strings.xml + res/values-ar/strings.xml — new strings with Arabic translations (Western digits via the version placeholder, per Battery details table: fix RTL alignment + use Western digits for numbers #96)

Testing

  • XML validity and resource references verified; all new strings present in both locales (lint's MissingTranslation is an error in this repo)
  • Could not build locally in the sandbox (network policy blocks the Gradle distribution; container lacks JDK 25 / Android SDK) — relying on this PR's CI run for build + test verification
  • Worth a quick on-device check: menu entry, dialog rendering in Arabic/RTL, GitHub link opening

🤖 Generated with Claude Code

https://claude.ai/code/session_013sJMWbdZpssHRUSbY9ANTC


Generated by Claude Code

A Material dialog with the app icon, name, and version (surfaces the
version in-app, related to #113), a brief description of what the app
does, developer credit, the free-and-open-source / Apache 2.0 license
line, and a short note that battery figures are device-provided
estimates and the app ships as-is without warranty. A neutral button
opens the project's GitHub page.

New strings translated in values-ar.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013sJMWbdZpssHRUSbY9ANTC
@almothafar almothafar merged commit 9e41551 into master Jul 12, 2026
2 checks passed
@almothafar almothafar deleted the claude/about-app-menu-g9p4t6 branch July 12, 2026 15:23
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.

"About the app" screen: what the app is, version, credit, license, and disclaimer

2 participants