Port of android-about-page for Xamarin.Android
Create an awesome About Page for your Android App in 2 minutes
This library allows to generate beautiful About Pages with less effort, it's fully customizable and supports opening specific intent
View aboutPage = new AboutPage(this)
.IsRtl(false)
.SetImage(Resource.Drawable.dummy_image)
.AddItem(versionElement)
.AddItem(adsElement)
.AddGroup("Connect with us")
.AddEmail("elmehdi.sakout@gmail.com")
.AddWebsite("http://wcoder.github.io/")
.AddFacebook("the.medy")
.AddTwitter("medyo80")
.AddYoutube("UCdPQtdWIsg7_pi4mrRu46vA")
.AddPlayStore("com.ideashower.readitlater.pro")
.AddGitHub("medyo")
.AddInstagram("medyo80")
.Create();
Grab the latest version from NuGet
Install-Package AndroidAboutPage
- Xamarin.Android.Support.v7.AppCompat
SetDescription(string)
SetImage(int)
The library has already some predefined social networks like :
- Youtube
- PlayStore
AddFacebook(string PageID)
AddTwitter(string AccountID)
AddYoutube(string AccountID)
AddPlayStore(string PackageName)
AddInstagram(string AccountID)
AddGitHub(string AccountID)
For example app version
:
Element versionElement = new Element();
versionElement.Title = "Version 6.2";
AddItem(versionElement)
Function | Description |
---|---|
string Title |
Set title of the element |
int IconTint |
Set color of the element |
int IconDrawable |
Set icon of the element |
string Value |
Set Element value like Facebook ID |
Intent Intent |
Set an intent to be called on OnClick |
GravityFlags Gravity |
Set a unique tag value to the element |
Action ClickHandler |
If intent isn't suitable for you need, implement your custom behaviour by overriding the click event |
The library does supports the following languages :
- English (default)
- German (by vanniktech)
- Italian (by greenaddress)
- Croatian (by skmlcd)
- Arabic (by zecharyah)
- Slovenian (by skmlcd)
- Ukrainian (by NumezmaT)
- Russian (by NumezmaT)
- Romanian (by Vally79)
- Portuguese Brazil (by rbaprado)
- French (by medyo)
- Simplified Chinese (by whiskeyfei)
- Spanish (by danramirez)
- Japanese (by chibatching)
- Turkish (by tekseker)
- Catalan (by unxavi)
- Czech (by semanticer)
- Hungarian (by jbarat)
- Korean (by Alfex4936)
- Swedish (by Krillsson)
- Polish (by karmil32)
- Persian (by mortezasun)
- Traditional Chinese (by ppcrong)
- Serbian (by ljmocic)
- Greek (by jvoyatz)
- Indian (by kartikarora)
Please make a Pull request to add a new language.
The MIT License (MIT)
Copyright (c) 2016 Mehdi Sakout, Yauheni Pakala
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.