FidgetSpinnerImageView

General

Category
Free
Tag
Games
License
Apache License, Version 2.0
Min SDK
19 (Android 4.4 KitKat)
Registered
Sep 1, 2017
Favorites
1
Link
https://github.com/msoftware/FidgetSpinnerImageView
See also
FixMath
Lota Chilena

Additional

Language
Java
Version
N/A
Created
Aug 31, 2017
Updated
Aug 31, 2017 (Retired)
Owner
Michael jentsch (msoftware)
Contributor
Michael jentsch (msoftware)
1
Activity
Badge
Generate
Download
Source code
APK file

Blurb

FidgetSpinnerImageView

This is a simple FidgetSpinner view. You can implement a Android FidgetSpinner with it.

The Image in the demo is taken from my android game
https://play.google.com/store/apps/details?id=com.jentsch.smartsquares
I added the FidgetSpinnerImageView in this project just for fun. So it is possible to spinn the logo :-).

Usage

1 Add the com.jentsch.fidgetspinnerview.FidgetSpinner to your layout

<com.jentsch.fidgetspinnerview.FidgetSpinner
android:id="@+id/fidgetspinner"
android:layout_width="match_parent"
android:layout_height="match_parent">

  1. Add the image programmatically to the view.
    @Override
    protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    FidgetSpinner f = (FidgetSpinner)findViewById(R.id.fidgetspinner);
    f.setImageDrawable(R.drawable.spinner);
    }