All Projects → youlookwhat → SceneryView

youlookwhat / SceneryView

Licence: Apache-2.0 license
🏜 The scenery is unique here~ 自定义View,圆、三角形、云朵,平移及旋转动画。

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to SceneryView

laravel-compile-views
Missing view:compile command for laravel [ABANDONED]
Stars: ✭ 20 (-33.33%)
Mutual labels:  views
Django Braces
Reusable, generic mixins for Django
Stars: ✭ 1,756 (+5753.33%)
Mutual labels:  views
Django
The Web framework for perfectionists with deadlines.
Stars: ✭ 61,277 (+204156.67%)
Mutual labels:  views
overview
🤖 A collection of tools to make your Angular views more modular, scalable, and maintainable
Stars: ✭ 76 (+153.33%)
Mutual labels:  views
simpleDjangoProject
simpleDjangoProject
Stars: ✭ 30 (+0%)
Mutual labels:  views
django-speedinfo
Django views profiler for small projects
Stars: ✭ 55 (+83.33%)
Mutual labels:  views
EasyMoney-Widgets
The widgets (EditText and TextView) for support of money requirements like currency, number formatting, comma formatting etc.
Stars: ✭ 91 (+203.33%)
Mutual labels:  views
CleanUI
Android library to create beautiful, clean and minimal UIs.
Stars: ✭ 19 (-36.67%)
Mutual labels:  views
graphsurge
Graphs analytics on collections of views!
Stars: ✭ 22 (-26.67%)
Mutual labels:  views
snabberb
A simple component view framework for Ruby Opal based on Snabbdom
Stars: ✭ 41 (+36.67%)
Mutual labels:  views
ci-theme
UPDATED: Now themes are independent from application with the use of Actions and Filters :D .. The branch WP-Like is not available for public usage but you may contact me if you want a copy of it.
Stars: ✭ 20 (-33.33%)
Mutual labels:  views
tododjangoccb
A todo application with django web framework with class based views and ajax modal crud
Stars: ✭ 32 (+6.67%)
Mutual labels:  views
laravel-counters
Counters Management for laravel project.
Stars: ✭ 43 (+43.33%)
Mutual labels:  views
rack-component
Handle HTTP requests with modular, React-style components, in any Rack app
Stars: ✭ 68 (+126.67%)
Mutual labels:  views
MySQL-cheatsheet
Cheatsheet for MySQL
Stars: ✭ 43 (+43.33%)
Mutual labels:  views
yii2-render-many
Trait for Yii Framework 2
Stars: ✭ 14 (-53.33%)
Mutual labels:  views

View

minSdk for Scenery

🏜 Hand-painted scenery, let it fly~

1.SceneryView

2.HorizontalWaveProgressView

Usage

Gradle

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}
dependencies {
	implementation 'com.github.youlookwhat:SceneryView:1.0.1'
}

In layout.xml

<me.jingbin.scenery.SceneryView
    android:id="@+id/scenery"
    android:layout_width="100dp"
    android:layout_height="100dp"
    app:background_color="#2483D9"
    app:cloud_color="#0000FF"
    app:left_mountain_color="#e0e0e0"
    app:mid_mountain_color="#ff0000"
    app:right_mountain_color="#e0e0e0"
    app:sun_color="#ffff00" />

In code

	SceneryView sceneryIcon = findViewById(R.id.scenery_icon);
	sceneryIcon.setCloudColor(Color.parseColor("#0000FF"));
	sceneryIcon.setColorBackground(Color.parseColor("#2483D9"));
	sceneryIcon.setMidMouColor(Color.parseColor("#ff0000"));
	sceneryIcon.setLeftMouColor(Color.parseColor("#e0e0e0"));
	sceneryIcon.setRightMouColor(Color.parseColor("#e0e0e0"));
	sceneryIcon.setSunColor(Color.parseColor("#ffff00"));
	
	sceneryIcon.playAnimator();
	sceneryIcon.setOnAnimationListener(new SceneryView.AnimationListener() {
	    @Override
	    public void onAnimationEnd() {
	
	    }
	});

License

Copyright 2020 jingbin

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].