![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
com.github.spyhunter99:super-tooltip-aar
Advanced tools
SuperToolTips is an Open Source Android library that allows developers to easily create Tool Tips for views. Originally written by nhaarman at github
*This project was forked from https://github.com/ryanjohn1/onboarding, which was forked from https://github.com/nhaarman/supertooltips
SuperToolTips is an Open Source Android library that allows developers to easily create Tool Tips for views. Feel free to use it all you want in your Android apps provided that you cite this project and include the license in your app.
Changes/Delta from the original forks
Note: SuperToolTips now uses the gradle build structure. If you want to use this project in Eclipse, you should make the necessary changes.
Add the following to your build.gradle
:
Published 1/6/2017, v4.0.0
dependencies {
compile 'com.github.spyhunter99:super-tooltip-aar:4.0.0'
}
In your activity, add this
import com.spyhunter99.supertooltips.ToolTipManager;
public class MyActivity extends Activity {
ToolTipManager tooltips;
public void onCreate(Bundle saved) {
super.onCreate(saved);
//setContentView(...);
tooltips = new ToolTipManager(this);
//your stuff goes here....
}
public void onDestroy() {
super.onDestroy();
tooltips.onDestroy();
tooltips = null;
}
//....
}
Then if you had a button somewhere in your layout that you wanted a tooltip on long press...
//in onCreate
findViewById(R.id.listview_activity).setOnLongClickListener(new View.OnLongClickListener() {
@Override
public boolean onLongClick(View v) {
ToolTip toolTip = new ToolTip()
.withText("A demo for tooltips on list view items")
.withColor(Color.RED) //or whatever you want
.withAnimationType(ToolTip.AnimationType.FROM_MASTER_VIEW)
.withShadow();
tooltips.showToolTip(toolTip, v);
return true;
}
});
You can customize the ToolTip
in several ways:
ToolTip.setText()
.ToolTip.setColor()
.ToolTip.setShadow()
.ToolTip.setAnimationType()
.ToolTip.setContentView()
.See the examples.
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.
FAQs
SuperToolTips is an Open Source Android library that allows developers to easily create Tool Tips for views. Originally written by nhaarman at github
We found that com.github.spyhunter99:super-tooltip-aar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.