{"id":22165820,"url":"https://github.com/tutorialsandroid/messageview","last_synced_at":"2025-09-05T03:34:06.098Z","repository":{"id":45902829,"uuid":"176073574","full_name":"TutorialsAndroid/MessageView","owner":"TutorialsAndroid","description":"MessageView helps you to create chat message view or a social media message view quickly like a typical chatting application or social post view Its a container view, so you can add any type of message or social post such as TextView or any customize TextView, ImageView, etc.","archived":false,"fork":false,"pushed_at":"2023-09-11T12:12:15.000Z","size":45553,"stargazers_count":27,"open_issues_count":0,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-26T15:57:37.968Z","etag":null,"topics":["android-development","android-library","chat-ui","java","javascript","view"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TutorialsAndroid.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}},"created_at":"2019-03-17T08:13:16.000Z","updated_at":"2025-03-24T21:43:03.000Z","dependencies_parsed_at":"2025-07-26T11:32:46.838Z","dependency_job_id":"2bbb6397-eb80-4734-8523-07c1302728c6","html_url":"https://github.com/TutorialsAndroid/MessageView","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/TutorialsAndroid/MessageView","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TutorialsAndroid%2FMessageView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TutorialsAndroid%2FMessageView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TutorialsAndroid%2FMessageView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TutorialsAndroid%2FMessageView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TutorialsAndroid","download_url":"https://codeload.github.com/TutorialsAndroid/MessageView/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TutorialsAndroid%2FMessageView/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273707368,"owners_count":25153724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-development","android-library","chat-ui","java","javascript","view"],"created_at":"2024-12-02T05:16:46.392Z","updated_at":"2025-09-05T03:34:01.080Z","avatar_url":"https://github.com/TutorialsAndroid.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://github.com/TutorialsAndroid/MessageView/blob/master/sample/src/main/res/mipmap-xxhdpi/ic_launcher.png)\n\n# MessageView [![API](https://img.shields.io/badge/API-19%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=19) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-MessageView-orange.svg?style=flat)](https://android-arsenal.com/details/1/7580) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/TutorialsAndroid/MessageView) ![Maven Central](https://img.shields.io/maven-central/v/io.github.tutorialsandroid/messageview)\n\n\n[`Heatic Debate App Download Now`](https://play.google.com/store/apps/details?id=com.asm.heatic)\n\n\n## And Don't Forget To Follow Me On Instagram\n\n\u003cp align=\"center\"\u003eFollow me on instagram to stay up-to-date https://instagram.com/a.masram444\n\nMessageView helps you to create chat message view or a social media post view quickly like a typical chatting application or social media post view\nIts a container view, so you can add any type of message or social post such as TextView or any customize TextView, ImageView, etc.\n\n`Library name change from Postui to MessageView.We have removed postui api instead of postui you can use message view api read the below docs.`\n\n**Library Available at Maven Central**\n\n*Please note jitpack version of this library is not maintained consider using maven central*\n[![](https://jitpack.io/v/TutorialsAndroid/MessageView.svg)](https://jitpack.io/#TutorialsAndroid/MessageView)\n\n`Latest version of this library is migrated to androidx`\n\n## Features\n1. Can have any child inside of it.\n2. You can change color of `MessageView` normal and pressed.\n3. Adjustable arrow position (top, bottom, left, right)\n4. Adjustable arrow gravity (start, end, center)\n5. Message view without arrow\n\n### Sample Screen\n![](https://github.com/TutorialsAndroid/MessageView/blob/master/art/device-2019-03-17-130446.png)\n\n\n**See the below demo.This demo shows how the Kinda App is using message view library.**\n![](https://github.com/TutorialsAndroid/MessageView/blob/master/sample.jpg)\n\n### Installation with JitPack\n*( IMPORTANT NOTE: WE HAVE STOPPED PUSHING LIBRARY TO JITPACK v5.0.19 is outdated now. SEE mavenCentral() below )*\n\nAdd it in your root build.gradle at the end of repositories:\n\n\tallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\nStep 2. Add the dependency\n\n\tdependencies {\n\t         implementation 'com.github.TutorialsAndroid:MessageView:v5.0.19'\n\t}\n\n### Installation with mavenCentral()\nStep 1. Directly add the dependency in application build.gradle file:\n\n    dependencies {\n        implementation 'io.github.tutorialsandroid:messageview:6.0.0'\n    }    \n\n### Use\n1. Include `MessageView` in your xml of adapter view with content inside.\n\n``` xml\n\u003ccom.developer.messageview.MessageView\n\txmlns:app=\"http://schemas.android.com/apk/res-auto\"\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"wrap_content\"\n    app:backgroundColor=\"#88BABABA\"\n    app:backgroundColorPressed=\"#FFBABABA\"\n    app:cornerRadius=\"3dp\" \u003e\n\n    \u003cTextView\n        android:id=\"@+id/text\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:text=\"Hello\" /\u003e\n\n        \u003c!-- ... --\u003e\n\n\u003c/com.developer.messageview.MessageView\u003e\n```\n\n### Customization\nAttributes:\n\n``` xml\napp:arrowGravity=\"start|end|center\"\napp:arrowPosition=\"right|left|top|bottom\"\napp:arrowMargin=\"3dp\"\napp:contentPadding=\"10dp\"\napp:backgroundColor=\"#88BABABA\"\napp:backgroundColorPressed=\"#FFBABABA\"\napp:cornerRadius=\"3dp\"\napp:showArrow=\"true|false\"\n```\n\nDescription:\n\n\n- `arrowGravity` controls relative position of arrow. possible values are `start`,`end` and `center`. default is `left`.\n- `arrowPosition` controls poition of the arrow outside the box. possible values are `right`,`left`,`top` and `bottom`. default is `left`.\n- `arrowMargin` controls margin of arrow. If `arrowPosition` is `left` or `right` it controls top and bottom margin. else it controls left and right margin.\n- `contentPadding` adjusts padding of content within the box.\n- `backgroundColor` sets background color of `MessageView` in normal mode including arrow.\n- `backgroundColorPressed` sets background color of `MessageView` in pressed mode including arrow.\n- `cornerRadius` sets corner radius of the box.\n- `showArrow` shows / hides arrow from `MessageView`.\n\n----\ndeveloped to make programming easy.\n\nby Akshay Sunil Masram (akshaysunilmasram@yahoo.com)\n\n## License\n\n* [Apache Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\n\n```\nCopyright 2019 MessageView\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutorialsandroid%2Fmessageview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftutorialsandroid%2Fmessageview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutorialsandroid%2Fmessageview/lists"}