diff --git a/.gitignore b/.gitignore index 39fb081..09b993d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,7 @@ *.iml .gradle /local.properties -/.idea/workspace.xml -/.idea/libraries +/.idea .DS_Store /build /captures diff --git a/.idea/sonarlint/issuestore/index.pb b/.idea/sonarlint/issuestore/index.pb index 3dd5aaa..efc4287 100644 --- a/.idea/sonarlint/issuestore/index.pb +++ b/.idea/sonarlint/issuestore/index.pb @@ -67,4 +67,6 @@ Srefreshloadlayout/src/main/java/com/github/refreshloadlayout/RefreshLoadLayout. ^ ..idea/markdown-navigator/profiles_settings.xml,c/5/c553a33182a8928cd5760d212e343bd13f573c9b T -$refreshloadlayout/proguard-rules.pro,c/b/cb2e89071ab41b04325b0efad68f23adfadfa6d5 \ No newline at end of file +$refreshloadlayout/proguard-rules.pro,c/b/cb2e89071ab41b04325b0efad68f23adfadfa6d5 +X +(gradle/wrapper/gradle-wrapper.properties,f/b/fbe448ebfc3eb2d4e308f6b8b043666f5b57235e \ No newline at end of file diff --git a/app/src/main/java/com/github/jellybean/refreshloadlayout/MainActivity.java b/app/src/main/java/com/github/jellybean/refreshloadlayout/MainActivity.java index 4fa142b..67f473e 100644 --- a/app/src/main/java/com/github/jellybean/refreshloadlayout/MainActivity.java +++ b/app/src/main/java/com/github/jellybean/refreshloadlayout/MainActivity.java @@ -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); } } diff --git a/refreshloadlayout/src/main/res/layout/material_indicator.xml b/refreshloadlayout/src/main/res/layout/material_indicator.xml index a1404db..804d66c 100644 --- a/refreshloadlayout/src/main/res/layout/material_indicator.xml +++ b/refreshloadlayout/src/main/res/layout/material_indicator.xml @@ -5,6 +5,6 @@ + android:layout_width="40dp" + android:layout_height="40dp" /> \ No newline at end of file