mirror of
https://github.com/ethauvin/android-about-box.git
synced 2025-04-25 02:37:11 -07:00
Changed guide icon color
This commit is contained in:
parent
2cdc15743a
commit
cf5d7e3750
2 changed files with 14 additions and 14 deletions
|
@ -43,6 +43,19 @@ public class AboutActivity extends MaterialAboutActivity {
|
|||
|
||||
|
||||
MaterialAboutCard.Builder supportCardBuilder = new MaterialAboutCard.Builder();
|
||||
supportCardBuilder.addItem(new MaterialAboutActionItem.Builder()
|
||||
.text(R.string.egab_guide)
|
||||
.icon(R.drawable.ic_help_green)
|
||||
.setOnClickListener(new MaterialAboutActionItem.OnClickListener() {
|
||||
@Override
|
||||
public void onClick() {
|
||||
openHTMLPage(config.guideHtmlPath);
|
||||
if (config.analytics != null) {
|
||||
config.analytics.logUiEvent(config.logUiEventName, getString(R.string.egab_guide));
|
||||
}
|
||||
}
|
||||
})
|
||||
.build());
|
||||
supportCardBuilder.addItem(new MaterialAboutActionItem.Builder()
|
||||
.text(R.string.egab_contact_support)
|
||||
.icon(R.drawable.ic_email_black)
|
||||
|
@ -56,19 +69,6 @@ public class AboutActivity extends MaterialAboutActivity {
|
|||
}
|
||||
})
|
||||
.build());
|
||||
supportCardBuilder.addItem(new MaterialAboutActionItem.Builder()
|
||||
.text(R.string.egab_guide)
|
||||
.icon(R.drawable.ic_help_black_24dp)
|
||||
.setOnClickListener(new MaterialAboutActionItem.OnClickListener() {
|
||||
@Override
|
||||
public void onClick() {
|
||||
openHTMLPage(config.guideHtmlPath);
|
||||
if (config.analytics != null) {
|
||||
config.analytics.logUiEvent(config.logUiEventName, getString(R.string.egab_guide));
|
||||
}
|
||||
}
|
||||
})
|
||||
.build());
|
||||
|
||||
MaterialAboutCard.Builder shareCardBuilder = new MaterialAboutCard.Builder();
|
||||
shareCardBuilder.addItem(new MaterialAboutActionItem.Builder()
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
android:viewportWidth="24.0">
|
||||
|
||||
<path
|
||||
android:fillColor="#7B7B7B"
|
||||
android:fillColor="#326449"
|
||||
android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zm1,17h-2v-2h2v2zm2.07,-7.75l-0.9,0.92C13.45,12.9 13,13.5 13,15h-2v-0.5c0,-1.1 0.45,-2.1 1.17,-2.83l1.24,-1.26c0.37,-0.36 0.59,-0.86 0.59,-1.41 0,-1.1 -0.9,-2 -2,-2s-2,0.9 -2,2H8c0,-2.21 1.79,-4 4,-4s4,1.79 4,4c0,0.88 -0.36,1.68 -0.93,2.25z"/>
|
||||
</vector>
|
Loading…
Add table
Add a link
Reference in a new issue