{"id":37026054,"url":"https://github.com/hariprasanths/floatingtoast","last_synced_at":"2026-01-14T03:01:26.200Z","repository":{"id":57733399,"uuid":"160086337","full_name":"hariprasanths/FloatingToast","owner":"hariprasanths","description":"Android library to create customizable floating animated toasts like in Clash Royale app","archived":false,"fork":false,"pushed_at":"2021-05-18T16:45:56.000Z","size":214,"stargazers_count":96,"open_issues_count":0,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2023-07-28T10:09:20.552Z","etag":null,"topics":["android","animation","animation-library","clash-royale","floating-animation","library","toast","ui","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/hariprasanths.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}},"created_at":"2018-12-02T19:47:18.000Z","updated_at":"2022-12-30T20:27:34.000Z","dependencies_parsed_at":"2022-09-26T22:11:23.552Z","dependency_job_id":null,"html_url":"https://github.com/hariprasanths/FloatingToast","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/hariprasanths/FloatingToast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariprasanths%2FFloatingToast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariprasanths%2FFloatingToast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariprasanths%2FFloatingToast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariprasanths%2FFloatingToast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hariprasanths","download_url":"https://codeload.github.com/hariprasanths/FloatingToast/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariprasanths%2FFloatingToast/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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","animation","animation-library","clash-royale","floating-animation","library","toast","ui","view"],"created_at":"2026-01-14T03:01:24.206Z","updated_at":"2026-01-14T03:01:26.014Z","avatar_url":"https://github.com/hariprasanths.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FloatingToast-Android\n\nAn android library to make customisable floating animated toasts\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-FloatingToast-green.svg?style=flat)](https://android-arsenal.com/details/1/7350)\n\n![Screenshots](https://media.giphy.com/media/ZxLbLvUt49O0WtLEuf/giphy.gif)\n\n## Getting Started\n\n#### In your build.gradle\n\nMaven Central\n```groovy\ndependencies {\n    implementation 'io.github.hariprasanths:floating-toast:0.1.1'\n}\n```\n\njcenter\n```groovy\ndependencies {\n    implementation 'hari.floatingtoast:floatingtoast:0.1.1'\n}\n```\n\n## Usage\n\n#### Create Floating Toasts\n\nFirst, instantiate a FloatingToast object with one of the makeToast() methods.\n This method takes three parameters: the view which calls the toast (recommended) or the activity context,\n the text message, and the duration for the toast.\n It returns a properly initialized FloatingToast object.\n You can display the toast notification with show(),\n as shown in the following example:\n\n```java\n    Button button = findViewById(R.id.button);\n    String text = \"Hello toast!\";\n    int duration = FloatingToast.LENGTH_MEDIUM;\n\n    button.setOnClickListener(new View.OnClickListener() {\n        @Override\n        public void onClick(View v) {\n\n            FloatingToast toast = FloatingToast.makeToast(button, text, FloatingToast.LENGTH_MEDIUM);\n            toast.show();\n        }\n    });\n```\n\nYou can also chain your methods and avoid holding on to the Toast object, like this:\n\n```java\n    FloatingToast.makeToast(button, text, FloatingToast.LENGTH_MEDIUM).show();\n```\n\nYou can use the activity context to instantiate the FloatingToast object, like this:\n\n```java\n    FloatingToast.makeToast(MainActivity.this, text, FloatingToast.LENGTH_MEDIUM).show();\n```\n\n```\n    NOTE: Always use the view (which was used to call the toast) to\n    create the FloatingToast object wherever possible rather than\n    using the activity context.\n```\n\nAn example with all the customisations:\n\n```java\n    Typeface customFont = Typeface.createFromAsset(getContext().getAssets(), \"fonts/custom_font.ttf\");\n\n    //Duration of 1250 millis\n    //Gravity - Mid Top                 (Default is Center)\n    //Fade out duration of 1000 millis  (Default is 750 millis)\n    //Text size - 12dp                  (Default is 16dp)\n    //Background blur - On              (Default is On)\n    //Float distance - 30px             (Default is 40px)\n    //Text color - White\n    //Text shadow - On                  (Default is Off)\n    //Custom font                       (No custom font is provided by default)\n    FloatingToast.makeToast(button, text, FloatingToast.LENGTH_LONG)\n            .setGravity(FloatingToast.GRAVITY_MID_TOP)\n            .setFadeOutDuration(FloatingToast.FADE_DURATION_LONG)\n            .setTextSizeInDp(12)\n            .setBackgroundBlur(true)\n            .setFloatDistance(FloatingToast.DISTANCE_SHORT)\n            .setTextColor(Color.parseColor(\"#ffffff\"))\n            .setShadowLayer(5, 1, 1, Color.parseColor(\"#000000\"))\n            .setTextTypeface(customFont)\n            .show();    //Show toast at the specified fixed position\n```\n\nYou can also set the toast's position as dynamic(i.e. show the toast at the touch\nposition) like this:\n\n```java\n    FloatingToast.makeToast(button, text, FloatingToast.LENGTH_MEDIUM)\n            .showAtTouchPosition();\n```\n\n## Summary\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch4\u003eConstants\u003c/h4\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd colspan=\"2\" left\u003e\u003cb\u003eDuration\u003c/b\u003e -\n            Duration of the toast being shown. This time could be user-definable.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\" width=\"30%\"\u003e\u003ccode\u003eint\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eLENGTH_LONG\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eShow the toast for a long period of time. (1250 millis)\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eLENGTH_MEDIUM\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eShow the toast for a certain period of time. (1000 millis)\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eLENGTH_SHORT\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eShow the toast for a short period of time. (750 millis)\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003c!-- \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eLENGTH_TOO_LONG\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eShow the toast for a certain period of time. (1500 millis)\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eLENGTH_QUICK\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eShow the toast for a certain period of time. (500 millis)\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e --\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\" colspan=\"2\" left\u003e\u003cb\u003eFade out duration\u003c/b\u003e -\n            Fade out duration of the toast. This time could be user-definable.\u003cbr/\u003e\n            See also \u003ca href=\"#setFadeOutDuration\"\u003esetFadeOutDuration(int)\u003c/a\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eFADE_DURATION_LONG\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eFade the toast within a long period of time. (1000 millis)\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eFADE_DURATION_MEDIUM\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eFade the toast within a certain period of time. (750 millis)\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eFADE_DURATION_SHORT\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eFade the toast within a short period of time. (500 millis)\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\" colspan=\"2\" left\u003e\u003cb\u003eFloat distance\u003c/b\u003e -\n            Float distance of the toast. This distance could be user-definable.\u003cbr/\u003e\n            See also \u003ca href=\"#setFloatDistance\"\u003esetFloatDistance(float)\u003c/a\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003efloat\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eDISTANCE_LONG\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eFloat the toast for a long distance. (50 px)\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003efloat\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eDISTANCE_MEDIUM\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eFloat the toast for a certain distance. (40 px)\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003e\u003ccode\u003efloat\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eDISTANCE_SHORT\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eFloat the toast for a short distance. (30 px)\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\" colspan=\"2\" left\u003e\u003cb\u003eGravity\u003c/b\u003e -\n            Location at which the toast should appear on the screen. This could be user-definable.\u003cbr/\u003e\n            See also \u003ca href=\"#setGravity\"\u003esetGravity(int)\u003c/a\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eGRAVITY_MID_TOP\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eShow the toast at 25% from the top of the screen.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eGRAVITY_CENTER\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eShow the toast at the center of the screen.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eGRAVITY_MID_BOTTOM\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eShow the toast at 75% from the top of the screen.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eGRAVITY_TOP\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eShow the toast at the top of the screen.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eGRAVITY_BOTTOM\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eShow the toast at the bottom of the screen.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\" colspan=\"2\" left\u003e\u003cb\u003eStyle\u003c/b\u003e -\n           Style of the text in the toast.  This style could be user-definable.\u003cbr/\u003e\n            See also \u003ca href=\"#setTextStyle\"\u003esetTextStyle(int)\u003c/a\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eSTYLE_BOLD\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eBold style for the text in the toast.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eSTYLE_ITALIC\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eItalic style for the text in the toast.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eSTYLE_NORMAL\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eNormal style for the text in the toast.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eint\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ca \u003e\u003cspan\u003eSTYLE_BOLD_ITALIC\u003c/span\u003e\u003c/a\u003e\n            \u003cp\u003eBold Italic style for the text in the toast.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n---\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch4\u003ePublic methods\u003c/h4\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\" width=\"30%\"\u003e\u003ccode\u003estatic FloatingToast\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#maketoast\"\u003emakeToast\u003c/a\u003e(View view, String text, int duration)\u003c/code\u003e\n            \u003cp\u003eMake a standard toast that just contains a text view.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003estatic FloatingToast\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#maketoast-1\"\u003emakeToast\u003c/a\u003e(View view, int resId, int duration)\u003c/code\u003e\n            \u003cp\u003eMake a standard toast that just contains a text view with the text from a resource.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003estatic FloatingToast\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#maketoast-2\"\u003emakeToast\u003c/a\u003e(Activity activity, String text, int duration)\u003c/code\u003e\n            \u003cp\u003eMake a standard toast that just contains a text view.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003estatic FloatingToast\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#maketoast-3\"\u003emakeToast\u003c/a\u003e(Activity activity, int resId, int duration)\u003c/code\u003e\n            \u003cp\u003eMake a standard toast that just contains a text view with the text from a resource.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eFloatingToast\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#setgravity\"\u003esetGravity\u003c/a\u003e(int gravity)\u003c/code\u003e\n            \u003cp\u003eSet the location at which the notification should appear on the screen.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eFloatingToast\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#setgravity-1\"\u003esetGravity\u003c/a\u003e(int gravity, int xOffset, int yOffset)\u003c/code\u003e\n            \u003cp\u003eSet the location at which the notification should appear on the screen.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eFloatingToast\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#setFadeOutDuration\"\u003esetFadeOutDuration\u003c/a\u003e(int fadeOutDuration)\u003c/code\u003e\n            \u003cp\u003eSet the fade out duration of the toast.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eFloatingToast\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#setTextColor\"\u003esetTextColor\u003c/a\u003e(int color)\u003c/code\u003e\n            \u003cp\u003eSets the text color for all the states (normal, selected,\n            focused) to be this color.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eFloatingToast\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#setTextTypeface\"\u003esetTextTypeface\u003c/a\u003e(Typeface typeface)\u003c/code\u003e\n            \u003cp\u003eSets the typeface and style in which the text should be displayed.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eFloatingToast\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#setTextStyle\"\u003esetTextStyle\u003c/a\u003e(int style)\u003c/code\u003e\n            \u003cp\u003eSets the style in which the text should be displayed,\n                and turns on the fake bold and italic bits in the Paint if the\n                Typeface that you provided does not have all the bits in the\n                style that you specified.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eFloatingToast\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#setTextSizeInSp\"\u003esetTextSizeInSp\u003c/a\u003e(float sizeInSp)\u003c/code\u003e\n            \u003cp\u003eSet the default text size to the given value, interpreted as \"scaled\n                pixel\" units.  This size is adjusted based on the current density and\n                user font size preference.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eFloatingToast\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#setTextSizeInDp\"\u003esetTextSizeInDp\u003c/a\u003e(float sizeInDp)\u003c/code\u003e\n            \u003cp\u003eSet the default text size to the given value, interpreted as \"density\n                independent pixel\" units. This size is adjusted based on the current density.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eFloatingToast\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#setTextSizeCustomUnit\"\u003esetTextSizeCustomUnit\u003c/a\u003e(int unit, float size)\u003c/code\u003e\n            \u003cp\u003eSet the default text size to a given unit and value.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eFloatingToast\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#setFloatDistance\"\u003esetFloatDistance\u003c/a\u003e(float floatDistance)\u003c/code\u003e\n            \u003cp\u003eSets the distance of the toast till which it floats.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eFloatingToast\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#setShadowLayer\"\u003esetShadowLayer\u003c/a\u003e(float shadowRadius, float shadowDx, float shadowDy, int shadowColor)\u003c/code\u003e\n            \u003cp\u003eGives the text a shadow of the specified blur radius and color, the specified\n                distance from its drawn position.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003evoid\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#setBackgroundBlur\"\u003esetBackgroundBlur\u003c/a\u003e(boolean bool)\u003c/code\u003e\n            \u003cp\u003eSets the blur background for the text in the toast.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003evoid\u003c/td\u003e\n        \u003ctd valign=\"top\" width=\"100%\"\u003e\n            \u003ccode\u003e\u003ca href=\"#show\"\u003eshow\u003c/a\u003e()\u003c/code\u003e\n            \u003cp\u003eShow the view for the specified duration.\u003c/p\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Public methods\n\n### makeToast\n\n```java\n    makeToast (View view, String text, int duration)\n```\n\nMake a standard toast that just contains a text view.\u003cbr/\u003e\n(Recommended method over makeToast(Activity, String, int)\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch5\u003eParameters\u003c/h5\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eview\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eView:\u003c/code\u003e The view which was used to call the toast.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003etext\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eString:\u003c/code\u003e The text to show. Can be formatted text.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eduration\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint:\u003c/code\u003e Duration of the toast to be shown in milliseconds.\n            Either user-defined int or predefined constant duration.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### makeToast\n\n```java\n    makeToast (View view, int resId, int duration)\n```\n\nMake a standard toast that just contains a text view with the text from a resource.\u003cbr/\u003e\n@throws Resources.NotFoundException if the resource can't be found.\u003cbr/\u003e\n (Recommended method over makeToast(Activity, int, int)\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch5\u003eParameters\u003c/h5\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eview\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eView:\u003c/code\u003e The view which was used to call the toast.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eresId\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint:\u003c/code\u003e The resource id of the string resource to use.  Can be formatted text.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eduration\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint:\u003c/code\u003e Duration of the toast to be shown in milliseconds.\n            Either user-defined int or predefined constant duration.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### makeToast\n\n```java\n    makeToast (Activity activity, String text, int duration)\n```\n\nMake a standard toast that just contains a text view.\u003cbr/\u003e\n(Only use this method if not calling from a view)\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch5\u003eParameters\u003c/h5\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eactvity\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eActivity:\u003c/code\u003e The activity context. Usually your android.app.Activity object.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003etext\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eString:\u003c/code\u003e The text to show. Can be formatted text.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eduration\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint:\u003c/code\u003e Duration of the toast to be shown in milliseconds.\n            Either user-defined int or predefined constant duration.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### makeToast\n\n```java\n    makeToast (Activity activity, int resId, int duration)\n```\n\nMake a standard toast that just contains a text view with the text from a resource.\u003cbr/\u003e\n@throws Resources.NotFoundException if the resource can't be found.\u003cbr/\u003e\n(Only use this method if not calling from a view)\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch5\u003eParameters\u003c/h5\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eactvity\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eActivity:\u003c/code\u003e The activity context. Usually your android.app.Activity object.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eresId\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint:\u003c/code\u003e The resource id of the string resource to use.  Can be formatted text.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eduration\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint:\u003c/code\u003e Duration of the toast to be shown in milliseconds.\n            Either user-defined int or predefined constant duration.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### setGravity\n\n```java\n    setGravity (int gravity)\n```\n\nSet the location at which the notification should appear on the screen.\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch6\u003eParameters\u003c/h6\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003egravity\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint:\u003c/code\u003e Position of toast in the screen.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### setGravity\n\n```java\n    setGravity (int gravity, int xOffset, int yOffset)\n```\n\nSet the location at which the notification should appear on the screen.\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch6\u003eParameters\u003c/h6\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003egravity\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint:\u003c/code\u003e  Position of toast in the screen.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003exOffset\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint:\u003c/code\u003e  X offset in pixels to apply to the gravity's location.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eyOffset\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint:\u003c/code\u003e  Y offset in pixels to apply to the gravity's location\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### setFadeOutDuration\n\n```java\n    setFadeOutDuration (int fadeOutDuration)\n```\n\nSet the fade out duration of the toast. Total animation time of the toast - duration + fadeOutDuration\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch5\u003eParameters\u003c/h5\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003efadeOutDuration\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint:\u003c/code\u003e Fade out duration in milliseconds\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### setTextColor\n\n```java\n    setTextColor (int color)\n```\n\nSets the text color for all the states (normal, selected, focused) to be this color.\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch5\u003eParameters\u003c/h5\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003ecolor\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint:\u003c/code\u003e A color value in the form 0xAARRGGBB.\u003cbr/\u003e\n            Do not pass a resource ID. To get a color value from a resource ID,\n             call android.support.v4.content.ContextCompat#getColor(Context, int) getColor\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### setTextTypeface\n\n```java\n    setTextTypeface (Typeface typeface)\n```\nSets the typeface and style in which the text should be displayed.\nNote that not all Typeface families actually have bold and italic\nvariants, so you may need to use setTextStyle(int) to get the\nappearance that you actually want.\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch5\u003eParameters\u003c/h5\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003etypeface\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eTypeface\u003c/code\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### setTextStyle\n\n```java\n    setTextStyle (int style)\n```\n\nSets the style in which the text should be displayed,\nand turns on the fake bold and italic bits in the Paint if the\nTypeface that you provided does not have all the bits in the\nstyle that you specified.\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch5\u003eParameters\u003c/h5\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003estyle\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint\u003c/code\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### setTextSizeInSp\n\n```java\n    setTextSizeInSp (float sizeInSp)\n```\n\nSet the default text size to the given value, interpreted as \"scaled\n pixel\" units.  This size is adjusted based on the current density and\n user font size preference.\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch5\u003eParameters\u003c/h5\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003esizeInSp\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003efloat:\u003c/code\u003e The scaled pixel size.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### setTextSizeInDp\n\n```java\n    setTextSizeInDp (int sizeInDp)\n```\n\nSet the default text size to the given value, interpreted as\n\"independent pixel\" units.  This size is adjusted based on the current density.\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch5\u003eParameters\u003c/h5\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003esizeInDp\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint:\u003c/code\u003e The density independent pixel size.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### setTextSizeCustomUnit\n\n```java\n    setTextSizeCustomUnit (int unit, float size)\n```\n\nSet the default text size to a given unit and value. See\nandroid.util.TypedValue for the possible dimension units.\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch5\u003eParameters\u003c/h5\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eunit\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint:\u003c/code\u003e The desired dimension unit.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003esize\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003efloat:\u003c/code\u003e The desired size in the given units.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### setFloatDistance\n\n```java\n    setFloatDistance (float floatDistance)\n```\n\nSets the distance of the toast till which it floats.\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch5\u003eParameters\u003c/h5\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003efloatDistance\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003efloat:\u003c/code\u003e Distance in pixels\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### setShadowLayer\n\n```java\n    setShadowLayer (float shadowRadius, float shadowDx, float shadowDy, int shadowColor)\n```\n\nGives the text a shadow of the specified blur radius and color, the specified\ndistance from its drawn position.\nThe text shadow produced does not interact with the properties on view\nthat are responsible for real time shadows,\n```elevation``` and ```translationZ```.\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch5\u003eParameters\u003c/h5\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eshadowRadius\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003efloat\u003c/code\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eshadowDx\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003efloat\u003c/code\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eshadowDy\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003efloat\u003c/code\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eshadowColor\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eint\u003c/code\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### setBackgroundBlur\n\n```java\n    setBackgroundBlur (boolean bool)\n```\n\nSets the blur background for the text in the toast.\n\n\u003ctable width=\"100%\"\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch5\u003eParameters\u003c/h5\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003ebool\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eboolean:\u003c/code\u003e false disables the blur. Default is true.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### showAtTouchPosition\n\n```java\n    showAtTouchPosition (View view)\n```\n\nShow the view for the specified duration at the touch position.\n\n\u003ctable width=100%\u003e\n\u003ctbody\u003e\n    \u003ctr\u003e\u003cth colspan=\"2\" left align=\"left\"\u003e\u003ch5\u003eParameters\u003c/h5\u003e\u003c/th\u003e\u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd width=\"30%\"\u003eview\u003c/td\u003e\n        \u003ctd width=\"100%\"\u003e\n            \u003ccode\u003eView:\u003c/code\u003e View over which the toast is to be shown\n        \u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n### show\n\n```java\n    show()\n```\n\nShow the view for the specified duration.\n\n\u003cbr/\u003e\n\n## Show your support\n\nGive a :star: if this project helped you!\n\n## License\n\nCopyright :copyright: 2018 [Hariprasanth S](https://github.com/hariprasanths)\n\nThis project is licensed under [the Apache License, Version 2.0](https://github.com/hariprasanths/FloatingToast/blob/master/LICENSE)\n\u003cbr/\u003eYou may also obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhariprasanths%2Ffloatingtoast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhariprasanths%2Ffloatingtoast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhariprasanths%2Ffloatingtoast/lists"}