Skip to content

Commit

Permalink
解决在部分机型上默认的MaterialIndicator尺寸不一致的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
jellybean committed Jun 8, 2017
1 parent f2caab2 commit a233d4d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
/.idea
.DS_Store
/build
/captures
Expand Down
4 changes: 3 additions & 1 deletion .idea/sonarlint/issuestore/index.pb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,9 @@ public boolean onOptionsItemSelected(MenuItem item) {
item.setChecked(!checked);
refreshLoadLayout.setLoadingEnabled(checked);
return true;
default:
return super.onOptionsItemSelected(item);
}

return super.onOptionsItemSelected(item);
}
}
4 changes: 2 additions & 2 deletions refreshloadlayout/src/main/res/layout/material_indicator.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<com.github.refreshloadlayout.ProgressView
android:id="@+id/progress_view"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
android:layout_width="40dp"
android:layout_height="40dp" />
</FrameLayout>

0 comments on commit a233d4d

Please sign in to comment.