{"id":31120903,"url":"https://github.com/tanzeelafatima492/xml-lecturers-","last_synced_at":"2026-05-16T11:03:04.872Z","repository":{"id":310241036,"uuid":"1039194848","full_name":"TanzeelaFatima492/XML-lecturers-","owner":"TanzeelaFatima492","description":"Just to understanding","archived":false,"fork":false,"pushed_at":"2025-09-03T05:41:43.000Z","size":30469,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-23T19:59:26.692Z","etag":null,"topics":["android","basic","beginner","coding","concept","easy","kotlin","short","xml"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TanzeelaFatima492.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-16T17:21:41.000Z","updated_at":"2025-09-03T05:41:47.000Z","dependencies_parsed_at":"2025-08-16T19:12:43.906Z","dependency_job_id":"441e939c-6b62-41dc-9fbe-1e71234b4016","html_url":"https://github.com/TanzeelaFatima492/XML-lecturers-","commit_stats":null,"previous_names":["tanzeelafatima492/xml-lecturers-"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TanzeelaFatima492/XML-lecturers-","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TanzeelaFatima492%2FXML-lecturers-","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TanzeelaFatima492%2FXML-lecturers-/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TanzeelaFatima492%2FXML-lecturers-/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TanzeelaFatima492%2FXML-lecturers-/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TanzeelaFatima492","download_url":"https://codeload.github.com/TanzeelaFatima492/XML-lecturers-/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TanzeelaFatima492%2FXML-lecturers-/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33100319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","basic","beginner","coding","concept","easy","kotlin","short","xml"],"created_at":"2025-09-17T15:08:11.605Z","updated_at":"2026-05-16T11:03:04.834Z","avatar_url":"https://github.com/TanzeelaFatima492.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📌 Android XML Cheatsheet\n\n| **Category**         | **Key Concepts**                      | **Examples / Notes**                                           |\n| -------------------- | ------------------------------------- | -------------------------------------------------------------- |\n| **Basics**           | Tags, Attributes, Nesting             | `\u003ctag attribute=\"value\"\u003econtent\u003c/tag\u003e`                         |\n|                      | Well-formed vs Valid XML              | Well-formed = correct syntax; Valid = follows schema (DTD/XSD) |\n|                      | Common Uses                           | Data storage, configs, **Android layouts**                     |\n| **Layouts**          | LinearLayout                          | Vertical/Horizontal stacking                                   |\n|                      | RelativeLayout                        | Position views relative to each other                          |\n|                      | ConstraintLayout                      | Flexible, modern, supports chains, bias, guidelines            |\n|                      | Others                                | FrameLayout, TableLayout, GridLayout                           |\n| **UI Widgets**       | TextView, EditText, Button, ImageView | Core UI elements                                               |\n|                      | RecyclerView / ListView               | Show lists of items                                            |\n|                      | CheckBox, RadioButton, Switch         | User input toggles                                             |\n| **View Attributes**  | `id`, `layout_width`, `layout_height` | Must-have attributes                                           |\n|                      | Padding, Margin, Gravity              | Spacing \u0026 alignment                                            |\n|                      | `textSize`, `textColor`, `background` | Styling                                                        |\n| **Styles \u0026 Themes**  | `styles.xml`, themes, dark mode       | Centralized design control                                     |\n| **Drawable XML**     | Shape (rectangle, oval, gradient)     | Custom backgrounds                                             |\n|                      | Selector                              | Different states (pressed, focused, etc.)                      |\n|                      | Layer-list, Ripple                    | Layered \u0026 touch feedback                                       |\n| **Values XML**       | `strings.xml`                         | All text resources                                             |\n|                      | `colors.xml`                          | Centralized color definitions                                  |\n|                      | `dimens.xml`                          | Centralized sizes (dp, sp)                                     |\n|                      | `styles.xml`                          | Theme \u0026 style definitions                                      |\n| **Menus**            | Options Menu                          | `menu.xml` for activity menus                                  |\n|                      | Context Menu                          | Right-click/long-press menus                                   |\n|                      | Toolbar/ActionBar                     | Navigation menus                                               |\n| **Animations (XML)** | Tween                                 | Scale, rotate, translate, alpha                                |\n|                      | Drawable                              | Frame-based (`animation-list`)                                 |\n|                      | MotionLayout                          | Animations + transitions with constraints                      |\n| **Custom Views**     | `attrs.xml`                           | Define custom attributes                                       |\n|                      | Inflate custom view                   | Use XML + Kotlin together                                      |\n| **Extra Concepts**   | XML Namespaces                        | `xmlns:android=...`, `xmlns:app=...`                           |\n|                      | ConstraintLayout Advanced             | Chains, bias, guidelines                                       |\n|                      | Data Binding                          | `\u003clayout\u003e ... @{user.name}`                                    |\n|                      | Jetpack Compose                       | Kotlin-based UI alternative                                    |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanzeelafatima492%2Fxml-lecturers-","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftanzeelafatima492%2Fxml-lecturers-","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftanzeelafatima492%2Fxml-lecturers-/lists"}