Skip to content

rohan-rusho/Vocablo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordVault - Your Personal Vocabulary Builder

WordVault is an Android application designed to help you discover, learn, and save new words to expand your vocabulary. It presents words with their meanings, parts of speech, and example sentences in an engaging card format.

Features

  • Daily Word Display: Shows a word, its part of speech, meaning, and an example sentence.
  • Interactive Word Card: A visually appealing card layout for easy reading.
  • Favorite Words: Allows users to mark words as favorites for quick access later.
  • Share Words: Users can easily share the displayed word and its details with others.
  • Navigation:
    • Next Word: Button to load a new word.
    • Favorites: Section to view all saved favorite words.
    • History: Section to view previously seen words (Implicitly, if implemented).
    • Settings: Access to application settings (Implicitly, if implemented).
  • Clean & Modern UI: A pleasant user interface with a gradient background and Material Design components.

UI Components (from activity_home.xml)

  • App Title (appTitle): Displays the application name "WordVault".
  • Word Card (androidx.cardview.widget.CardView):
    • Word (tvWord): Displays the current word (e.g., "Eloquent").
    • Part of Speech (tvPartOfSpeech): Shows the grammatical type (e.g., "(adjective)").
    • Meaning (tvMeaning): Provides the definition of the word.
    • Favorite Icon (favIconFrame, favIcon): An interactive heart icon to save/unsave a word.
  • Example Sentence (tvExample): Shows the word used in a sentence.
  • Word Actions (wordActions):
    • Next Button (btnNext): Loads the next word.
    • Share Button (btnShare): Allows sharing the current word.
  • Bottom Menu (bottomMenu):
    • Favorites Button (btnFavorite): Navigates to the favorites section.
    • History Button (btnHistory): Navigates to the word history section.
    • Settings Button (btnSettings): Navigates to the app settings.

How it (Likely) Works

(This section is an assumption based on the UI. You'll need to fill in the actual logic from your Kotlin/Java code.)

  1. Data Source: The application likely fetches words, their meanings, parts of speech, and example sentences from a local database (e.g., SQLite, Room) or a remote API.
  2. Display Logic:
    • On launch or when the "Next" button is pressed, a new word is retrieved and displayed on the card.
    • The favorite icon's state (empty/filled heart) changes based on whether the current word is in the user's favorites list.
  3. User Interactions:
    • Favorite Button: Toggles the favorite status of the current word and updates the database.
    • Share Button: Constructs a message with the word details and opens the Android share chooser.
    • Bottom Navigation Buttons: Navigate to different activities or fragments (e.g., FavoritesActivity, HistoryActivity, SettingsActivity).

Setup and Usage

  1. Clone the repository.
  2. Open the project in Android Studio.
  3. Build and run the application on an Android device or emulator.
  4. Explore new words, save your favorites, and share them!

Dependencies

The project uses the following key libraries (based on your XML and typical Android development):

  • AndroidX AppCompat: For backward compatibility of Material Design components.
    • androidx.appcompat:appcompat:...
  • AndroidX CardView: For the card-based layout.
    • androidx.cardview:cardview:...
  • Google Material Components: For modern UI elements like MaterialButton.
    • com.google.android.material:material:...

(You should verify these against your build.gradle file and add any other significant libraries you are using, e.g., for networking, database, etc.)

Future Enhancements (Ideas)

  • Offline access to words.
  • Search functionality.
  • Pronunciation of words.
  • Quizzes or learning modes.
  • User accounts for syncing favorites across devices.

How to Contribute

(If this is an open-source project, add details here on how others can contribute, like reporting issues, submitting pull requests, coding standards, etc.)

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature-name).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature/your-feature-name).
  6. Open a Pull Request.

License

(Specify the license for your project, e.g., MIT, Apache 2.0, etc.)


Note: This README is generated based on the provided activity_home.xml layout file. You should update it with more specific details about your project's Kotlin/Java logic, data sources, specific library versions, and build instructions if they are non-standard. Adding screenshots would also make it more informative!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages