{"id":19162347,"url":"https://github.com/agilie/rotatableautofitedittext","last_synced_at":"2025-05-07T10:41:13.767Z","repository":{"id":71905966,"uuid":"70258463","full_name":"agilie/RotatableAutofitEditText","owner":"agilie","description":"Extended EditText which allows to move, rotate and resize text at the same time","archived":false,"fork":false,"pushed_at":"2017-07-11T09:25:17.000Z","size":219,"stargazers_count":54,"open_issues_count":4,"forks_count":6,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-19T21:24:47.187Z","etag":null,"topics":["autofit","customview","edittext","kotlin-android","rotate"],"latest_commit_sha":null,"homepage":"https://agilie.com","language":"Java","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/agilie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-10-07T15:19:40.000Z","updated_at":"2024-05-30T05:24:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9a46c5b-3af6-4ce3-9abb-c43fd9b926bd","html_url":"https://github.com/agilie/RotatableAutofitEditText","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilie%2FRotatableAutofitEditText","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilie%2FRotatableAutofitEditText/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilie%2FRotatableAutofitEditText/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agilie%2FRotatableAutofitEditText/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agilie","download_url":"https://codeload.github.com/agilie/RotatableAutofitEditText/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252861703,"owners_count":21815732,"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","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":["autofit","customview","edittext","kotlin-android","rotate"],"created_at":"2024-11-09T09:10:22.230Z","updated_at":"2025-05-07T10:41:13.756Z","avatar_url":"https://github.com/agilie.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## RotatableAutofitEditText\n\n[ ![Download](https://api.bintray.com/packages/agilie/maven/RotatableAutofitEditText/images/download.svg) ](https://bintray.com/agilie/maven/RotatableAutofitEditText/_latestVersion)\n\n![Screenshot1](http://i.imgur.com/gwBiu3E.gif)\n\n## What is RotatableAutofitEditText?\n\nRotatableAutofitEditText is a lightweight open-source library that allows user to move, rotate, and resize text field at the same time. If you need such functionality in your project, we're happy to save some time for you so you can drink more beer with your friends :)\n\n# Usage\n\n### Gradle\n\nAdd dependency in your `build.gradle` file:\n````gradle\ncompile 'com.agilie:rotatable-autofit-edittext:1.2'\n````\n\n### Maven\nAdd rependency in your `.pom` file:\n````xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.agilie\u003c/groupId\u003e\n  \u003cartifactId\u003erotatable-autofit-edittext\u003c/artifactId\u003e\n  \u003cversion\u003e1.2\u003c/version\u003e\n  \u003ctype\u003epom\u003c/type\u003e\n\u003c/dependency\u003e\n````\n\n## How to use\n\nSimply use *RotatableAutofitEditText* instead of familiar to all Android devs [EditText](https://developer.android.com/reference/android/widget/EditText.html) component programmatically or in your *xml* files:\n\n```xml\n\u003ccom.agilie.RotatableAutofitEditText \n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\n    xmlns:autofit=\"http://schemas.android.com/apk/res-auto\"\n    android:id=\"@+id/autoResizeEditText\"\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    android:background=\"@drawable/rounded_corners_white_transparent_50\"\n    android:gravity=\"center\"\n    android:hint=\"@string/hint_add_some_text\"\n    android:padding=\"16dp\"\n    android:textColor=\"@android:color/white\"\n    android:textColorHint=\"@android:color/darker_gray\"\n    autofit:clipBounds=\"true\"\n    autofit:maxTextSize=\"@dimen/autoresize_max_text_size\"\n    autofit:minTextSize=\"@dimen/autoresize_min_text_size\"\n    autofit:minWidth=\"@dimen/autoresize_min_width\"\n    autofit:movable=\"true\"\n    autofit:resizable=\"true\"\n    autofit:rotatable=\"true\" /\u003e\n```\n\nHere's a list of available properties, feel free to customize them according to your wishes and requirements:\n\n```java\n    maxTextSize     // sets maximum text size\n    minTextSize     // sets minimum text size \n    minWidth        // sets minimum EditText width\n    movable         // true if EditText must move in parent view\n    resizable       // true if EditText can be resized with pinch\n    rotatable       // true if EditText can be rotated\n    clipBounds      // true if EditText must not move out of parent view bounds\n```\n\nLibrary also supports usage of different [Typefaces](https://developer.android.com/reference/android/graphics/Typeface.html) as well.\n\nAlso you can clone this project and compile [sample](sample/) module to test our library in action. \n\n## Requirements\n\nAndroid 3.0+ (API level 11+)\n\n## Troubleshooting\n\nProblems? Check the [Issues](https://github.com/agilie/RotatableAutofitEditText/issues) block\nto find the solution or create an new issue that we will fix asap. \n\n## Author\n\nThis library is open-sourced by [Agilie Team](https://www.agilie.com?utm_source=github\u0026utm_medium=referral\u0026utm_campaign=Git_Android_Java\u0026utm_term=RotatableAutofitEditText) \u003cinfo@agilie.com\u003e\n\n## Contributors\n\n- [Denis Bogoslovcev](https://github.com/anonymous265)\n- [Roman Kapshuk](https://github.com/RomanKapshuk)\n\n## Contact us\nIf you have any questions, suggestions or just need a help with web or mobile development, please email us at\u003cbr/\u003e \u003candroid@agilie.com\u003e\u003cbr/\u003e\nYou can ask us anything from basic to complex questions. \u003cbr/\u003e\nWe will continue publishing new open-source projects. Stay with us, more updates will follow!\u003cbr/\u003e\n\n## License\n\nThe [MIT](LICENSE.md) License (MIT) Copyright © 2017 [Agilie Team](https://www.agilie.com?utm_source=github\u0026utm_medium=referral\u0026utm_campaign=Git_Android_Java\u0026utm_term=RotatableAutofitEditText)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagilie%2Frotatableautofitedittext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagilie%2Frotatableautofitedittext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagilie%2Frotatableautofitedittext/lists"}