{"id":13643807,"url":"https://github.com/armcha/Vertical-Intro","last_synced_at":"2025-04-21T02:31:52.856Z","repository":{"id":143052597,"uuid":"71325449","full_name":"armcha/Vertical-Intro","owner":"armcha","description":"Vertical intro allows you to integrate material vertical intro to your app","archived":false,"fork":false,"pushed_at":"2017-12-28T07:30:42.000Z","size":7998,"stargazers_count":319,"open_issues_count":1,"forks_count":45,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-08-02T01:21:13.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/armcha.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}},"created_at":"2016-10-19T06:22:44.000Z","updated_at":"2024-05-04T11:11:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"f07d19e7-4a6f-4a41-8a9e-546735ea203d","html_url":"https://github.com/armcha/Vertical-Intro","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armcha%2FVertical-Intro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armcha%2FVertical-Intro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armcha%2FVertical-Intro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armcha%2FVertical-Intro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/armcha","download_url":"https://codeload.github.com/armcha/Vertical-Intro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223846528,"owners_count":17213205,"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":[],"created_at":"2024-08-02T01:01:52.874Z","updated_at":"2024-11-09T15:32:06.930Z","avatar_url":"https://github.com/armcha.png","language":"Java","readme":"# Vertical-Intro\n\nVertical intro allows you to integrate material vertical intro to your app\n\n![](screens/gif1.gif)\n\nThe current minSDK version is API level 14 Android 4.0 (ICE CREAM SANDWICH).\n\n![](screens/screen2.png) ![](screens/screen3.png)\n\n## Download sample [apk][0]\n[0]: https://github.com/armcha/Vertical-Intro/raw/master/screens/verticalIntro.apk\n\n#YouTube demo\n\n[![Demo](https://i.ytimg.com/vi/VnQz75ekcSc/hqdefault.jpg)](https://www.youtube.com/watch?v=VnQz75ekcSc)\n\n#Installation\n-----------------------\nGradle:\n```groovy\ncompile 'com.github.armcha:Vertical-Intro:2.0.0'\n```\n\n# Setup and usage\n-----------------------\n## Step 1:\nYour activity must extends from VerticalIntro activity\n\n```java \npublic class TestActivity extends VerticalIntro\n```\n\n## Step 2:\n\nAdd activity to manifest with defined theme:\n\n```xml\n\u003cactivity\nandroid:name=\".TestActivity\"\nandroid:theme=\"@style/VerticalIntroStyle\" /\u003e\n```\n\n## Step 3:\n\nAdd items in init\n\n```java\naddIntroItem(new VerticalIntroItem.Builder()\n                .backgroundColor(R.color.my_color)\n                .image(R.drawable.my_drawable)\n                .title(\"Lorem Ipsum Lorem Ipsum\")\n                .text(\"Lorem Ipsum is simply dummy text of the printing and typesetting industry.\" +\n                        \"Lorem Ipsum is simply dummy text of the printing and typesetting industry.\" +\n                        \"Lorem Ipsum is simply dummy text of the printing and typesetting industry.\")\n                .textColor(R.color.your_color)\n                .titleColor(R.color.your_color)\n                .textSize(14) // in SP\n                .titleSize(17) // in SP\n                .nextTextColor(R.color.color1)\n                .build());\n```\n\nReturn color for last item bottom view background color\n```java\n @Override\n    protected Integer setLastItemBottomViewColor() {\n        return R.color.my_second_color;\n    }\n```\n\n# Customize\n## Note: You must do all customizations inside init method\n\nEnable or disable skip button\n\n```java\nsetSkipEnabled(true); \n```\n----------------------------------\n\nEnable or disable vibrate :vibration_mode: and set vibrate intensity\n```java\nsetVibrateEnabled(true);\nsetVibrateIntensity(20);\n```\n----------------------------------\n\nSet your texts\n```java\nsetNextText(\"OK\");\nsetDoneText(\"FINISH HIM\");\nsetSkipText(\"GO GO\");\n```\n----------------------------------\n\nSet custom font\n```java\nsetCustomTypeFace(Typeface.createFromAsset(getAssets(), \"fonts/NotoSans-Regular.ttf\"));\n```\n#![](screens/screen1.png)\n\n----------------------------------\n\nSet text color\n```java\n.textColor(R.color.your_color)\n```\n----------------------------------\n\nSet title color\n```java\n.titleColor(R.color.your_color)\n```\n----------------------------------\n\nSet text size in SP\n```java\n.textSize(14)\n```\n----------------------------------\n\nSet title size in SP\n```java\n.titleSize(17)\n```\n----------------------------------\n\nSet skip button text color\n```java\nsetSkipColor(R.color.your_color);\n```\n----------------------------------\n\n\n## Contact \n\nPull requests are more than welcome.\nPlease fell free to contact me if there is any problem when using the library.\n\n- **Email**: armcha01@gmail.com\n- **Facebook**: https://web.facebook.com/chatikyana\n- **Google +**: https://plus.google.com/+ArmanChatikyan\n- **Website**: https://armcha.github.io\n\nLicense\n--------\n\n\n      Vertical Intro library for Android\n      Copyright (c) 2017 Arman Chatikyan (https://github.com/armcha/Vertical-Intro).\n      \n      Licensed under the Apache License, Version 2.0 (the \"License\");\n      you may not use this file except in compliance with the License.\n      You may obtain a copy of the License at\n\n         http://www.apache.org/licenses/LICENSE-2.0\n\n      Unless required by applicable law or agreed to in writing, software\n      distributed under the License is distributed on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n      See the License for the specific language governing permissions and\n      limitations under the License.\n    \n\n","funding_links":[],"categories":["引导图(Intro)"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmcha%2FVertical-Intro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmcha%2FVertical-Intro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmcha%2FVertical-Intro/lists"}