CircleList (arc-shaped ListView)

CircleList (arc-shaped ListView)

Source code introduction

The arc-shaped ListView is adapted from a foreign open source control.
Source code running screenshot

Source code snippet

  1. private   float calculateAngel( int top, int h) {
  2. float result = 0f;
  3. if (top < h / 2f) {
  4. result = (top - (h / 2f)) / (h / 2f) * fullAngelFactor;
  5. } else   if (top > h / 2f) {
  6. result = (top - (h / 2f)) / (h / 2f) * fullAngelFactor;
  7. }
  8. return result;
  9. }

Source code link: http://download..com/data/1983067

<<:  Context-Menu.Android

>>:  Status bar prompts with various effects

Recommend

Xiaohongshu promotion strategy: the road to brand self-upgrade!

1. Explosive growth Xiaohongshu has been extremel...

APP promotion tips: 100,000 yuan brings 20 million users

Last time, I wrote an article titled "How to...

How to improve operational decision-making efficiency? I shared 3 methods

It’s strange to say, but my public account is oft...

The bayberry you eat may be a "meat dish"! Can you eat bayberries with worms?

Summer is the flavor of bayberry~ Bayberry is a f...

BAT is competing for mini programs. Who will be eliminated first?

Since WeChat launched mini programs, everyone has...

Zhihu operates the neglected traffic pool

I am one of the earliest users of Zhihu. During t...

Practical methodology for community operation!

This article is a review article. The main task w...

The latest Google Admob channel promotion strategy in 2015

According to statistics, taking Android as an exam...