Skip to content

Commit

Permalink
Added showCase.png
Browse files Browse the repository at this point in the history
  • Loading branch information
muraee committed Jan 15, 2018
1 parent 6fcd7ad commit ba5df4c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file added art/showCase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ protected void applyStyle(VH viewHolder, CalendarItemStyle itemStyle) {
viewHolder.textBottom.setTextColor(itemStyle.getColorBottomText());

if (Build.VERSION.SDK_INT >= 16) {
viewHolder.layoutContent.setBackground(itemStyle.getBackground());
viewHolder.itemView.setBackground(itemStyle.getBackground());
} else {
viewHolder.layoutContent.setBackgroundDrawable(itemStyle.getBackground());
viewHolder.itemView.setBackgroundDrawable(itemStyle.getBackground());
}
}

Expand Down
4 changes: 2 additions & 2 deletions horizontalcalendar/src/main/res/layout/hc_item_calendar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="?selectableItemBackground">
android:layout_height="match_parent">

<LinearLayout
android:id="@+id/hc_layoutContent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?selectableItemBackground"
android:layout_marginBottom="5dp"
android:gravity="center"
android:orientation="vertical"
Expand Down

0 comments on commit ba5df4c

Please sign in to comment.