-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Exposed-UI]: fix crash on kitkat of vectordrawable.
- Loading branch information
维术
committed
Jan 31, 2018
1 parent
4cb18ee
commit fe19a17
Showing
1 changed file
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,20 +30,23 @@ public class AboutActivity extends VActivity { | |
protected void onCreate(@Nullable Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
|
||
View aboutPage = new AboutPage(this) | ||
AboutPage page = new AboutPage(this) | ||
.isRTL(false) | ||
.setImage(R.mipmap.ic_launcher) | ||
.addItem(getVersionElement()) | ||
.addItem(getFeedbackElement()) | ||
.addItem(getFeedbackWechatElement()) | ||
.addItem(getThanksElement()) | ||
.addItem(getDonateElement()) | ||
.addEmail("[email protected]") | ||
.addWebsite("https://github.com/android-hacker/VAExposed") | ||
.addGitHub("tiann") | ||
.addItem(getCopyRightsElement()) | ||
.create(); | ||
.addItem(getFeedbackWechatElement()); | ||
|
||
try { | ||
page.addItem(getThanksElement()) | ||
.addItem(getDonateElement()) | ||
.addEmail("[email protected]") | ||
.addWebsite("https://github.com/android-hacker/VAExposed") | ||
.addGitHub("tiann") | ||
.addItem(getCopyRightsElement()); | ||
} catch (Throwable ignored) { | ||
} | ||
View aboutPage = page.create(); | ||
setContentView(aboutPage); | ||
} | ||
|
||
|