一键创建关于页面,支持了国内主流应用的应用内跳转。
- 点击跳转支付宝捐赠页面
- 点击直接与我qq聊天
- 点击关注知乎、新浪微博、豆瓣、简书、饭否
compile 'xyz.isunxu:about-page:1.0.0'
View aboutPage = new AboutPage(this)
.isRTL(false)
.setImage(R.drawable.ic_cn_preview)
.setDescription("在原有aboutpage基础上支持了**主流应用,包括:支付宝、知乎、新浪微博、qq、饭否、简书、豆瓣。由于应用内部限制暂时不支持:微信、Acfun、Bilibili、掘金。")
.addGroup("Support for China APP")
.addAlipay("aex06786lptrb4cy1g54w15")
.addQQ("393353762")
.addZhihu("taken2016")
.addSinaWeibo("1291760303")
.addDouban("39114237")
.addJianshu("d86f33ff1f72")
.addFanfou("wangxing")
.addGoldXitu("56eac9bdb0146000293a233b");
setContentView(aboutPage);
应用名称 | 版本名称 |
---|---|
支付宝 | 9.9.5 |
知乎 | 4.10.1 (443) |
新浪微博 | 6.3.1 |
6.5.8.2910 | |
饭否 | 1.5.5 |
简书 | 1.11.5 |
豆瓣 | 4.7.0 (85) |
- 在线反编译
- AlipayZeroSdk
- TopActivity
- 反编译不易,望大家支持,欢迎支付宝赞赏我...
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(R.drawable.dummy_image)
.addItem(versionElement)
.addItem(adsElement)
.addGroup("Connect with us")
.addEmail("elmehdi.sakout@gmail.com")
.addWebsite("http://medyo.github.io/")
.addFacebook("the.medy")
.addTwitter("medyo80")
.addYoutube("UCdPQtdWIsg7_pi4mrRu46vA")
.addPlayStore("com.ideashower.readitlater.pro")
.addGitHub("medyo")
.addInstagram("medyo80")
.create();
Available on Jcenter, Maven and JitPack
compile 'com.github.medyo:android-about-page:1.1.1'
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.setTitle("Version 6.2");
addItem(versionElement)
| Function | Description |
| ------------- |:-------------:| -----:|
| setTitle(String) | Set title of the element|
| setColor(Int) | Set color of the element|
| setIcon(Int) | Set icon of the element|
| setValue(String) | Set Element value like Facebook ID|
| setTag(String) | Set a unique tag value to the element|
| setIntent(Intent) | Set an intent to be called on onClickListener
|
| setGravity(Gravity) | Set a Gravity for the element |
| setOnClickListener(View.OnClickListener) | If intent
isn't suitable for you need, implement your custom behaviour by overriding the click listener|
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)
Please make a Pull request to add a new language.
Nothing to include
The MIT License (MIT)
Copyright (c) 2016 Mehdi Sakout
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.