Skip to content

theminimaldev/HideInGallery

Repository files navigation

HideInGallery

HideInGallery icon

Hide image folders from your gallery with a single tap.

Build License: MIT API 24+ Latest Release


Screenshots

HideInGallery — albums grid showing a hidden folder


Demo

Tap the secret album in HideInGallery to hide it. Google Photos stops showing it instantly.

Google Photos before — secret folder visible Google Photos after — secret folder gone

Before hiding                              After hiding


Features

  • Grid & list view — switch between layouts to browse your image folders
  • Search — instantly filter albums by name
  • Show/hide hidden folders — toggle the filter to see or ignore .nomedia albums
  • One-tap hide — tap an album to create or remove a .nomedia file in that folder
  • Instant gallery refresh — triggers a MediaStore rescan so changes appear in gallery apps without a reboot
  • How it works — placing a .nomedia file inside a folder signals Android's media scanner to skip that folder; any gallery app respecting the standard will stop showing those images

Download

Grab the latest signed APK from the Releases page.

Note: You may need to allow installation from unknown sources in your device settings.


Build from Source

Prerequisites

Tool Version
Android Studio Meerkat or later
JDK 21
Android SDK API 36

Steps

# Clone the repository
git clone https://github.com/theminimaldev/HideInGallery.git
cd HideInGallery

# Build debug APK
./gradlew assembleDebug

# APK output: app/build/outputs/apk/debug/app-debug.apk

Build signed release APK locally

export KEYSTORE_PATH=/path/to/release.keystore
export STORE_PASSWORD=your_store_password
export KEY_ALIAS=hideingallery
export KEY_PASSWORD=your_key_password

./gradlew assembleRelease
# APK output: app/build/outputs/apk/release/app-release.apk

Permissions

Permission Reason
READ_EXTERNAL_STORAGE / READ_MEDIA_IMAGES Scan storage for image folders
WRITE_EXTERNAL_STORAGE Create/delete .nomedia files
MANAGE_EXTERNAL_STORAGE (Android 11+) Access all directories on shared storage

HideInGallery does not access the internet, collect analytics, or transmit any data.


Tech Stack

Layer Library / Tool
Language Kotlin
UI Jetpack Compose + Material 3
Architecture MVVM — AndroidViewModel + StateFlow
Image loading Coil
Build system Gradle (Kotlin DSL)
Min SDK API 24 (Android 7.0)
Target SDK API 36

Contributing

Contributions are welcome! Please:

  1. Fork the repository and create a feature branch
  2. Follow existing code style (Kotlin idioms, Compose patterns)
  3. Open a pull request — fill in the PR template
  4. For bugs or feature requests, open an issue using the provided templates

See SECURITY.md for reporting vulnerabilities privately.


License

MIT License — Copyright (c) 2026 theminimaldev

See LICENSE for the full text.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages