Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
de.mrmaffen:holocircularprogressbar
Advanced tools
HoloCircularProgressBar is a Custom View implementation for Android you might know from the Android Clock App from Android 4.1
HoloCircularProgressBar is a Custom View implementation for Android you might know from the Android Clock App from Android 4.1
You can see the ProgressBar working in the sample application. Just check out the library and create a new "Android Project form Existing Code"
Add the View in your Layout
<com.pascalwelsch.holocircularprogressbar.HoloCircularProgressBar
android:id="@+id/holoCircularProgressBar"
android:layout_width="300dp"
android:layout_height="300dp"/>
Don't forget to add a default style to your AppTheme
<style name="AppTheme" parent="android:Theme.Holo">
<item name="circularProgressBarStyle">@style/CircularProgressBar</item>
</style>
I added two simple styles @style/CircularProgressBar
and @style/CircularProgressBarLight
to give you a quick start. You can see both styles in action in the sample Project
After you wrote your own style you have to rebuild your project in Android Studio (or restart your Eclipse. The ADT Plugin really has some troubles working with Android Libraries and Styles).
Of cause can you change the color at runtime. Here are some examples from the sample app:
There might be some error from your IDE. Most of them are simply solved after building the project.
The following classes could not be instantiated:
- de.passsy.holocircularprogressbar.HoloCircularProgressBar (Open Class, Show Error Log)
See the Error Log (Window > Show View) for more details.
Tip: Use View.isInEditMode() in your custom views to skip code when shown in Eclipse
If your Layout Editor can't draw the view, you have to restart Eclipse. There is a bug in the ADT Plugin
Missing styles. Is the correct theme chosen for this layout?
Use the Theme combo box above the layout to choose a different layout, or fix the theme style references.
Failed to find style 'circularProgressBarStyle' in current theme
You have to add a style for this View. see the Style section
You found bugs? Report them or feel free to fix them by yourself and make a pull request. No one wants a buggy library
03.10.14
* new package name
* visible in `ScrollView`
* gradle and Android Studio support
22.05.14
* bugfixes for orientationchange
* layout bugs
12.10.13
* change color at runtime
* XML Attributes thumb_visible and marker_visible
* minSdkVersion decreased to 8 for the library
* avoid attr conflict with other library like HoloEverywhere
* fixed no animation from progress 0 to progress 1
* updated sample app with new test functions
10.03.13
* initial version of a holo themend circular progress bar
Copyright 2013 Pascal Welsch
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.
Author: Pascal Welsch
FAQs
HoloCircularProgressBar is a Custom View implementation for Android you might know from the Android Clock App from Android 4.1
We found that de.mrmaffen:holocircularprogressbar 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.