From 5df7fa17b3dd20370d6664c1dd646ba416ec4f95 Mon Sep 17 00:00:00 2001 From: Brian Rodriguez Date: Wed, 14 Aug 2024 04:58:39 -0500 Subject: [PATCH] Add content to Android roadmap (#6555) * [Add] Android Roadmap: Fragment content * [Add] Android Roadmap: Dialog content * [Add] Android Roadmap: Button content * [Change] Modify the grammar * Update src/data/roadmaps/android/content/fragments@2iDJrxjXOt7o2fPp2HfRl.md * Update src/data/roadmaps/android/content/dialogs@Mtx0bY0drmaTw8sCM5YTl.md * Update src/data/roadmaps/android/content/buttons@WhfzFOUpm0DFEj7Oeq21R.md * Update src/data/roadmaps/android/content/buttons@WhfzFOUpm0DFEj7Oeq21R.md --------- Co-authored-by: Kamran Ahmed --- .../android/content/buttons@WhfzFOUpm0DFEj7Oeq21R.md | 7 +++++++ .../android/content/dialogs@Mtx0bY0drmaTw8sCM5YTl.md | 6 ++++++ .../android/content/fragments@2iDJrxjXOt7o2fPp2HfRl.md | 7 +++++++ 3 files changed, 20 insertions(+) diff --git a/src/data/roadmaps/android/content/buttons@WhfzFOUpm0DFEj7Oeq21R.md b/src/data/roadmaps/android/content/buttons@WhfzFOUpm0DFEj7Oeq21R.md index e69de29bb..cccceecb1 100644 --- a/src/data/roadmaps/android/content/buttons@WhfzFOUpm0DFEj7Oeq21R.md +++ b/src/data/roadmaps/android/content/buttons@WhfzFOUpm0DFEj7Oeq21R.md @@ -0,0 +1,7 @@ +# Buttons + +A `button` consists of text or an icon, or both, that communicates what action occurs when the user taps it. + +Learn more from the following resources: + +- [@official@Android Developers: Button](https://developer.android.com/develop/ui/views/components/button) \ No newline at end of file diff --git a/src/data/roadmaps/android/content/dialogs@Mtx0bY0drmaTw8sCM5YTl.md b/src/data/roadmaps/android/content/dialogs@Mtx0bY0drmaTw8sCM5YTl.md index e69de29bb..3af8d6b64 100644 --- a/src/data/roadmaps/android/content/dialogs@Mtx0bY0drmaTw8sCM5YTl.md +++ b/src/data/roadmaps/android/content/dialogs@Mtx0bY0drmaTw8sCM5YTl.md @@ -0,0 +1,6 @@ +# Dialogs + +A `DialogFragment` is a special fragment subclass that is designed for creating and hosting dialogs. Although you don't need to host your **dialog** within a fragment, doing so lets the `FragmentManager` manage the state of the dialog and automatically restore the dialog when a configuration change occurs. +Learn more from the following resources: + +- [@official@Android Developers: Dialogs](https://developer.android.com/guide/fragments/dialogs) \ No newline at end of file diff --git a/src/data/roadmaps/android/content/fragments@2iDJrxjXOt7o2fPp2HfRl.md b/src/data/roadmaps/android/content/fragments@2iDJrxjXOt7o2fPp2HfRl.md index e69de29bb..564e732f2 100644 --- a/src/data/roadmaps/android/content/fragments@2iDJrxjXOt7o2fPp2HfRl.md +++ b/src/data/roadmaps/android/content/fragments@2iDJrxjXOt7o2fPp2HfRl.md @@ -0,0 +1,7 @@ +# Fragments + +A `Fragment` represents a reusable portion of your app's UI. A fragment defines and manages its own layout, has its own lifecycle, and can handle its own input events. Fragments can't live on their own. They must be hosted by an activity or another fragment. The fragment’s view hierarchy becomes part of, or attaches to, the host’s view hierarchy. + +Visit the following resources to learn more: + +- [@official@Android Developers: Fragments](https://developer.android.com/guide/fragments) \ No newline at end of file