{"id":21130066,"url":"https://github.com/z56402344/AnimTextView","last_synced_at":"2025-07-09T01:32:14.291Z","repository":{"id":83522507,"uuid":"47961923","full_name":"z56402344/AnimTextView","owner":"z56402344","description":null,"archived":false,"fork":false,"pushed_at":"2015-12-15T09:33:23.000Z","size":916,"stargazers_count":419,"open_issues_count":1,"forks_count":66,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-03-20T09:58:59.945Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/z56402344.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}},"created_at":"2015-12-14T08:32:51.000Z","updated_at":"2024-03-20T09:58:59.946Z","dependencies_parsed_at":"2023-03-12T18:38:57.659Z","dependency_job_id":null,"html_url":"https://github.com/z56402344/AnimTextView","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z56402344%2FAnimTextView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z56402344%2FAnimTextView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z56402344%2FAnimTextView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z56402344%2FAnimTextView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z56402344","download_url":"https://codeload.github.com/z56402344/AnimTextView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225476376,"owners_count":17480215,"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-11-20T05:32:14.452Z","updated_at":"2024-11-20T05:32:19.252Z","avatar_url":"https://github.com/z56402344.png","language":"Java","funding_links":[],"categories":["Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"# AnimTextView (below chart)\n#传入数据,执行动画 （下面有效果图）\n\n\n# ScreenShot\n\n![Image][1]\n\n\n[1]: http://img.blog.csdn.net/20151214223641061\n\n\n# 简单示例\n\n\n# 代码:\n\n    private void initView() {\n        mTvBig = (AnimTextView) findViewById(R.id.mTvBig);\n        mTvSmall = (AnimTextView) findViewById(R.id.mTvSmall);\n        mTvBg = (AnimTextView) findViewById(R.id.mTvBg);\n    }\n\n    private void initData() {\n        mTvBig.setText(\"2015\",\"2016\");\n\n        mTvSmall.setText(\"2016\",true);\n\n        mTvBg.setText(\"2016\",true);\n    }\n    \n    \n# xml\n\n\u003cRelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n                xmlns:tools=\"http://schemas.android.com/tools\"\n                android:layout_width=\"match_parent\"\n                android:layout_height=\"match_parent\"\u003e\n\n    \u003cButton\n        android:id=\"@+id/mBtn\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:text=\"Start Anim\"\n        android:onClick=\"onClick\"\n        android:layout_alignParentBottom=\"true\"\n        android:layout_marginBottom=\"10dp\"\n        android:layout_centerHorizontal=\"true\"/\u003e\n\n    \u003cduguang.animtextview.AnimTextView\n        android:id=\"@+id/mTvBig\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:textSize=\"60dp\"\n        android:minWidth=\"88dp\"\n        android:minHeight=\"77dp\"\n        android:layout_marginTop=\"70dp\"\n        android:layout_centerHorizontal=\"true\"\n        android:background=\"@drawable/bg_lesson_head_cont\"/\u003e\n\n    \u003cTextView\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_below=\"@id/mTvBig\"\n        android:gravity=\"center_horizontal\"\n        android:layout_centerHorizontal=\"true\"\n        android:text=\"动画模式一:开启新数据替换老数据的动画\\n背景是图片\"/\u003e\n\n    \u003cduguang.animtextview.AnimTextView\n        android:id=\"@+id/mTvSmall\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:textSize=\"30dp\"\n        android:layout_below=\"@id/mTvBig\"\n        android:layout_marginTop=\"70dp\"\n        android:layout_centerHorizontal=\"true\"\n        android:background=\"@drawable/bg_lesson_head_cont\"/\u003e\n    \u003cTextView\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_below=\"@id/mTvSmall\"\n        android:gravity=\"center_horizontal\"\n        android:layout_centerHorizontal=\"true\"\n        android:text=\"动画模式二:开启递增动画\\n背景是图片\"/\u003e\n\n    \u003cduguang.animtextview.AnimTextView\n        android:id=\"@+id/mTvBg\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_below=\"@id/mTvSmall\"\n        android:layout_marginTop=\"70dp\"\n        android:textSize=\"45dp\"\n        android:layout_centerHorizontal=\"true\"\n        android:background=\"@android:color/white\"/\u003e\n\n    \u003cTextView\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_below=\"@id/mTvBg\"\n        android:gravity=\"center_horizontal\"\n        android:layout_centerHorizontal=\"true\"\n        android:text=\"动画模式二:开启递增动画\\n背景是color\"/\u003e\n\n\u003c/RelativeLayout\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz56402344%2FAnimTextView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz56402344%2FAnimTextView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz56402344%2FAnimTextView/lists"}