Skip to content

Commit

Permalink
fix < 4.4 sizechanged event
Browse files Browse the repository at this point in the history
  • Loading branch information
coolstar1204 committed Mar 16, 2016
1 parent 4251b28 commit caf10b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,6 @@ public void setBmpScaleType(ImageView.ScaleType type) {

@Override
public void setParentSize(int width, int height) {
if(bgBmp==null){
return;
}
parentWidth = width;
parentHeight = height;
updateScaleRect();
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/include_poster_menu_text.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
android:textSize="@dimen/menu_text_size"
android:layout_below="@id/menu_text_edtext"
android:drawablePadding="5dp"
android:checked="true"
android:layout_margin="10dp"
android:gravity="center_vertical"
android:layout_centerHorizontal="true"
Expand Down

0 comments on commit caf10b2

Please sign in to comment.