Skip to content

saviorxzero98/android-viewbadger-for-Xamarin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

擴充功能 (New Feature)

  1. 可以設定BadgeView顯示的位置
  2. 可以將BadgeView加到FrameLayout裡面
  3. 可以清除掉BadgeView

使用範例 (Usage)

  1. 建立Badge View (Create Badge View)
View target = FindViewById(Resource.id.target_view);
BadgeView badge = new BadgeView(this, target);
badge.Text = "1";
badge.Show();
  1. 修改Badge View顯示的位置 (Change Badge View Position)
badge.Hide();
badge.Position = BadgeViewPosition.BottomRight;
badge.Show();
  1. 移除Badge View (Remove Badge View)
badge.RemoveBadge();

參考 (Reference)

  1. android-viewbadger-Xamarin
  2. android-viewbadger

About

Xamarin Viewbadger 元件

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages