Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Ticker | 4,176 | 47 | 1 | 2 years ago | 12 | November 11, 2021 | 15 | apache-2.0 | Java | |
An Android text view with scrolling text change animation | ||||||||||
Likebutton | 2,767 | 4 years ago | 1 | October 16, 2017 | 13 | Java | ||||
Twitter's heart animation for Android | ||||||||||
Vectormaster | 1,468 | 4 years ago | 3 | January 08, 2019 | 16 | mit | Java | |||
Dynamic control over vector drawables! | ||||||||||
Easyflipview | 1,290 | a year ago | 3 | February 03, 2022 | 4 | apache-2.0 | Java | |||
💳 A quick and easy flip view through which you can create views with two sides like credit cards, poker cards etc. | ||||||||||
Googleprogressbar | 1,274 | 54 | 4 years ago | 4 | June 02, 2015 | 7 | apache-2.0 | Java | ||
Android library to display progress like google does in some of his services. | ||||||||||
Vector Compat | 1,246 | 51 | 1 | 7 years ago | 6 | April 27, 2015 | 26 | Java | ||
A support library for VectorDrawable and AnimatedVectorDrawable classes introduced in Lollipop | ||||||||||
Switcher | 1,204 | a year ago | 2 | July 13, 2020 | Kotlin | |||||
Android implementation of switch animation from Oleg Frolov | ||||||||||
Sparkbutton | 1,159 | 2 years ago | 4 | apache-2.0 | Java | |||||
Android library to create buttons with Twitter's heart like animation. | ||||||||||
Fragmenttransactionextended | 1,084 | 7 years ago | 8 | apache-2.0 | XML | |||||
FragmentTransactionExtended is a library which provide us a set of custom animations between fragments. | ||||||||||
Macsvg | 920 | a year ago | 18 | other | Objective-C | |||||
macSVG - An open-source macOS app for designing HTML5 SVG (Scalable Vector Graphics) art and animation with a WebKit web view ➤➤➤ |
Android Compass Widget
<com.gospelware.compassviewlib.CompassView
android:id="@+id/compass"
android:layout_width="100dp"
android:layout_height="100dp" />
You can costomize the compass in xml and code:
<com.gospelware.compassviewlib.CompassView
xmlns:compass="http://schemas.android.com/apk/res-auto"
android:id="@+id/compass"
android:layout_width="100dp"
android:layout_height="100dp"
compass:circleColor="@color/dark"
compass:ringColor="@color/red"
compass:pointerDrawable="@drawable/pointer"
compass:pointerRotation="0"
compass:showRing="true" />
CompassView compassView = (CompassView) findViewById(R.id.compass);
compassView.setCircleColor(getColor(R.color.dark));
compassView.setRingColor(getColor(R.color.red));
compassView.setPointerDrawable(R.drawable.pointer);
compassView.setRotation(0);
The widget itself contains an Scaning Animation, uses .startScan() and .stopScan() to control the Animation.
If you want to access the current states of the animation, uses .isScanning() which return weather the animation is running.
By default the animation rotates clock wise with ringColor.
Button btn = (Button) findViewById(R.id.btn);
btn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
if (compassView.isScanning()) {
compassView.stopScan();
} else {
compassView.startScan();
}
}
});
Gradle
dependencies {
compile 'com.gospelware.compassView:compassviewlib:1.0.2'
}