{"id":22449884,"url":"https://github.com/turskyi/dialogactivity","last_synced_at":"2026-05-19T14:03:28.625Z","repository":{"id":133702996,"uuid":"280694065","full_name":"Turskyi/DialogActivity","owner":"Turskyi","description":"This is a minimal Android project demonstrating that you don't necessarily need to occupy the entire screen with your app's UI or use layout XML files.","archived":false,"fork":false,"pushed_at":"2024-07-28T20:07:35.000Z","size":3975,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-04T20:42:01.867Z","etag":null,"topics":["android","educational","kotlin","sample-app","xml"],"latest_commit_sha":null,"homepage":"https://github.com/Turskyi/DialogActivity","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Turskyi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-07-18T16:22:16.000Z","updated_at":"2024-07-28T20:07:23.000Z","dependencies_parsed_at":"2025-02-01T16:38:32.861Z","dependency_job_id":null,"html_url":"https://github.com/Turskyi/DialogActivity","commit_stats":null,"previous_names":["turskyi/dialogactivity"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Turskyi/DialogActivity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turskyi%2FDialogActivity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turskyi%2FDialogActivity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turskyi%2FDialogActivity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turskyi%2FDialogActivity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Turskyi","download_url":"https://codeload.github.com/Turskyi/DialogActivity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turskyi%2FDialogActivity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33219386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: 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","educational","kotlin","sample-app","xml"],"created_at":"2024-12-06T05:12:21.818Z","updated_at":"2026-05-19T14:03:28.598Z","avatar_url":"https://github.com/Turskyi.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct-single.svg)](https://stand-with-ukraine.pp.ua)\n\u003cimg alt=\"GitHub commit activity\" src=\"https://img.shields.io/github/commit-activity/m/Turskyi/DialogActivity\"\u003e\n\n# Tiny Activity - Android\n\nThis is a minimal Android project demonstrating that you don't necessarily\nneed to occupy the entire screen with your app's UI or use layout XML files.\n\n## Concept\n\nThis project showcases an Activity that contains only a single `TextView`\ncreated programmatically. The `TextView` displays a simple message and is\npositioned with some padding.\n\n## Code\n\nThe core of the project lies in the `MainActivity` class:\n\n```kotlin\nclass MainActivity : Activity() {\n    override fun onCreate(savedInstanceState: Bundle?) {\n        super.onCreate(savedInstanceState)\n        title = \"Activity\"\n        val tv = TextView(this)\n        tv.text = getString(R.string.activity_itself)\n        tv.textSize = 20F\n        tv.setPadding(20, 20, 20, 20)\n        setContentView(tv)\n    }\n}\n```\n\nThis code demonstrates:\n\n- Creating a `TextView` instance.\n- Setting the text using a string resource.- Adjusting the text size and adding\n  padding.\n- Setting the `TextView` as the content view of the Activity.\n\n## Purpose\n\nThis project serves as an educational example to illustrate that Android\ndevelopment offers flexibility in UI design. You can create dynamic and minimal\ninterfaces without relying solely on XML layouts.\n\n**Note:** While this demonstrates the concept, building real-world apps usually\ninvolves more complex layouts and UI elements for a better user experience.\n\n## Screenshot:\n\n\u003c!--suppress CheckImageSize --\u003e\n\u003cimg src=\"screenshot/Screenshot_20240728.png\" width=\"400\"  alt=\"screenshot\"\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturskyi%2Fdialogactivity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturskyi%2Fdialogactivity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturskyi%2Fdialogactivity/lists"}