From eef9b33be5ab851212c0b0f6ed0e278e4d94f0a5 Mon Sep 17 00:00:00 2001 From: Evgeny Shishkin Date: Mon, 6 Oct 2014 16:15:06 +0400 Subject: [PATCH] Minor changes --- README.md | 1 - print-sample/src/main/AndroidManifest.xml | 2 +- .../java/com/github/johnkil/print/sample/MainActivity.java | 4 ++-- print-sample/src/main/res/values/colors.xml | 2 +- print-sample/src/main/res/values/dimens.xml | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 71392f9..0d76aa7 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,6 @@ imageView.setImageDrawable(new PrintDrawable() .iconText(getResources().getString(R.string.ic_info)) .iconColor(getResources().getColor(R.color.icon_color)) .iconSize(getResources().getDimensionPixelSize(R.dimen.icon_size))); -} ``` ```java diff --git a/print-sample/src/main/AndroidManifest.xml b/print-sample/src/main/AndroidManifest.xml index 99c03a4..40650d6 100644 --- a/print-sample/src/main/AndroidManifest.xml +++ b/print-sample/src/main/AndroidManifest.xml @@ -8,7 +8,7 @@ android:theme="@style/AppTheme" android:name=".PrintApplication"> diff --git a/print-sample/src/main/java/com/github/johnkil/print/sample/MainActivity.java b/print-sample/src/main/java/com/github/johnkil/print/sample/MainActivity.java index da31d91..006d99b 100644 --- a/print-sample/src/main/java/com/github/johnkil/print/sample/MainActivity.java +++ b/print-sample/src/main/java/com/github/johnkil/print/sample/MainActivity.java @@ -78,8 +78,8 @@ public boolean onCreateOptionsMenu(Menu menu) { menu.findItem(R.id.action_info).setIcon( new PrintDrawable() .iconText(getResources().getString(R.string.ic_info)) - .iconColor(getResources().getColor(R.color.ab_icon)) - .iconSize(getResources().getDimensionPixelSize(R.dimen.ab_icon)) + .iconColor(getResources().getColor(R.color.ab_icon_color)) + .iconSize(getResources().getDimensionPixelSize(R.dimen.ab_icon_size)) ); return true; } diff --git a/print-sample/src/main/res/values/colors.xml b/print-sample/src/main/res/values/colors.xml index f5299b0..027588c 100644 --- a/print-sample/src/main/res/values/colors.xml +++ b/print-sample/src/main/res/values/colors.xml @@ -6,6 +6,6 @@ #8a000000 - #ffffff + #ffffff \ No newline at end of file diff --git a/print-sample/src/main/res/values/dimens.xml b/print-sample/src/main/res/values/dimens.xml index c6450d3..908b63a 100644 --- a/print-sample/src/main/res/values/dimens.xml +++ b/print-sample/src/main/res/values/dimens.xml @@ -1,5 +1,5 @@ - 32dp + 32dp \ No newline at end of file