From bfb16f2d56dd4da8d302a924efb7ea119582fde0 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Thu, 29 Jun 2017 16:16:15 -0700 Subject: Finalize about activity --- .../main/kotlin/ca/allanwang/kau/sample/AboutActivity.kt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'sample/src/main/kotlin/ca') diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/AboutActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/AboutActivity.kt index 5597819..e675ebf 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/AboutActivity.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/AboutActivity.kt @@ -1,12 +1,25 @@ package ca.allanwang.kau.sample import ca.allanwang.kau.about.AboutActivityBase +import ca.allanwang.kau.adapters.FastItemThemedAdapter +import ca.allanwang.kau.iitems.CardIItem +import com.mikepenz.fastadapter.IItem /** * Created by Allan Wang on 2017-06-27. */ class AboutActivity : AboutActivityBase(R.string::class.java, { cutoutText = "KAU" + textColor = 0xde000000.toInt() + backgroundColor = 0xfffafafa.toInt() + accentColor = 0xff00838F.toInt() + cutoutForeground = 0xff18FFFF.toInt() }) { + override fun postInflateMainPage(adapter: FastItemThemedAdapter>) { + adapter.add(CardIItem { + title = "About KAU" + descRes = R.string.about_kau + }) + } } \ No newline at end of file -- cgit v1.2.3