All Projects → HotBitmapGG → Creditsesameringview

HotBitmapGG / Creditsesameringview

Licence: apache-2.0
Imitation of Ali credit sesame new old ring view.http://www.jianshu.com/p/8486a5baa708

Programming Languages

java
68154 projects - #9 most used programming language
ring
36 projects

Labels

Projects that are alternatives of or similar to Creditsesameringview

Gomponents
Declarative view components in Go, that can render to HTML5.
Stars: ✭ 49 (-95.85%)
Mutual labels:  view
Apphead
Head View like Facebook Messenger for Android.
Stars: ✭ 61 (-94.83%)
Mutual labels:  view
Social Text View
A custom Android TextView that highlights social media lingo (#hashtags, @mentions, phone, emails, and urls).
Stars: ✭ 64 (-94.58%)
Mutual labels:  view
Mindo
Generate mind maps easily in your android app.
Stars: ✭ 52 (-95.6%)
Mutual labels:  view
Isometric
Isometric drawing library for Android
Stars: ✭ 1,105 (-6.44%)
Mutual labels:  view
Zwtopselectvcview
快速导入多个控制器,通过顶部选择菜单切换控制器,实现一个页面多个控制器切换处理.(It's an so easy way to add your all kinds of childControllers into superViewController, then you can slide around or just click on the topButton which is automatically building in the topView to switch your childViewController.)
Stars: ✭ 61 (-94.83%)
Mutual labels:  view
Lovelydialog
This library is a set of simple wrapper classes that are aimed to help you easily create fancy material dialogs.
Stars: ✭ 1,043 (-11.69%)
Mutual labels:  view
Cuteloadinglayoutgit
六边形的LoadingView
Stars: ✭ 72 (-93.9%)
Mutual labels:  view
Fiftyshadesof
An elegant context-care loading placeholder for Android
Stars: ✭ 1,110 (-6.01%)
Mutual labels:  view
Fancyaccordionview
An Android fancy accordion view
Stars: ✭ 64 (-94.58%)
Mutual labels:  view
Android Toy
不积跬步 无以至千里
Stars: ✭ 54 (-95.43%)
Mutual labels:  view
Checkview
An animated toggling Plus/Check button for Android
Stars: ✭ 56 (-95.26%)
Mutual labels:  view
React Native Hole View
✂️ React-Native component to cut a touch-through holes anywhere you want. Perfect solution for tutorial overlay
Stars: ✭ 61 (-94.83%)
Mutual labels:  view
Tap water
【声明:未发布前,勿使用,勿star,预计2020年11月底发布】Flutter tab_bar组件,支持中间带加号按钮的TabBar,支持Lottie动画。iTeaTime(技术清谈)团队出品。Highly customizable tabBar and tabBarController for Flutter
Stars: ✭ 52 (-95.6%)
Mutual labels:  view
Calendarview
Calendar View Library
Stars: ✭ 71 (-93.99%)
Mutual labels:  view
Fun
A library for android to animate expanding and collapsing views.
Stars: ✭ 48 (-95.94%)
Mutual labels:  view
Animatedpencil
Animated Pencil Action view for Android
Stars: ✭ 61 (-94.83%)
Mutual labels:  view
Materialchipview
Material Chip view. Can be used as tags for categories, contacts or creating text clouds
Stars: ✭ 1,181 (+0%)
Mutual labels:  view
Kotlinanim
Create fluent animations in a kotlin way
Stars: ✭ 72 (-93.9%)
Mutual labels:  view
Dotsloaderview
Simple dots loader view
Stars: ✭ 63 (-94.67%)
Mutual labels:  view

CreditSesameRingView

Android Arsenal Wercker Hex.pm

Imitation of Ali credit sesame new old ring view,If you feel like it, give me a star, please support, thank you.

Screenshots Gif

Screenshots Png

Usage

  • Gradle
Add it in your root build.gradle at the end of repositories:

	allprojects {
		repositories {
			...
			maven { url "https://jitpack.io" }
		}
	}

Add the dependency

	dependencies {
	        compile 'com.github.HotBitmapGG:CreditSesameRingView:V1.0.4'
	}

  • Maven
Step 1. Add the JitPack repository to your build file

   <repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Step 2. Add the dependency

	<dependency>
	    <groupId>com.github.HotBitmapGG</groupId>
	    <artifactId>CreditSesameRingView</artifactId>
	    <version>V1.0.4</version>
	</dependency>

  • Sted 1 A new version of used in the code.
     // The gradient color can define your own
     private final int[] mColors = new int[]{
            0xFFFF80AB,
            0xFFFF4081,
            0xFFFF5177,
            0xFFFF7997
             };

      // Set up the need to score
      mLayout = (RelativeLayout) view.findViewById(R.id.layout);
      mButton = (Button) view.findViewById(R.id.btn);
      newCreditSesameView = (NewCreditSesameView) view.findViewById(R.id.sesame_view);
      mLayout.setBackgroundColor(mColors[0]);
      mButton.setOnClickListener(new View.OnClickListener()
      {

          @Override
           public void onClick(View view)
           {

               newCreditSesameView.setSesameValues(639);
               startColorChangeAnim();
           }
      });


     // The background color gradient animation Simply illustrates the effect Can customize according to your need
     public void startColorChangeAnim()
     {

         ObjectAnimator animator = ObjectAnimator.ofInt(mLayout, "backgroundColor", mColors);
         animator.setDuration(3000);
         animator.setEvaluator(new ArgbEvaluator());
         animator.start();
     }

  • Sted 2 A old version of used in the code.
      // Set up the need to score
      oldCreditSesameView = (OldCreditSesameView) view.findViewById(R.id.sesame_view);
      mButton = (Button) view.findViewById(R.id.btn);
      mButton.setOnClickListener(new View.OnClickListener()
      {

          @Override
          public void onClick(View view)
          {

              oldCreditSesameView.setSesameValues(639);
          }
      });

About me

Wercker

An android developer in Wuhan.

If you want to make friends with me, You can focus on my weibo.

License

Copyright 2017 HotBitmapGG

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].