Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkil committed Oct 6, 2014
1 parent 7fcfba3 commit eef9b33
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion print-sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
android:theme="@style/AppTheme"
android:name=".PrintApplication">
<activity
android:name="com.github.johnkil.print.sample.MainActivity"
android:name=".MainActivity"
android:screenOrientation="portrait"
android:label="@string/app_name">
<intent-filter>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion print-sample/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
<!-- Black 54% -->
<color name="secondary_text">#8a000000</color>

<color name="ab_icon">#ffffff</color>
<color name="ab_icon_color">#ffffff</color>

</resources>
2 changes: 1 addition & 1 deletion print-sample/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<resources>

<dimen name="ab_icon">32dp</dimen>
<dimen name="ab_icon_size">32dp</dimen>

</resources>

0 comments on commit eef9b33

Please sign in to comment.