Skip to content

Commit

Permalink
Merge pull request #357 from friederbluemle/update-project
Browse files Browse the repository at this point in the history
Minor file cleanups + remove support binary
  • Loading branch information
davemorrissey authored Oct 30, 2017
2 parents 93191c9 + 154e9f7 commit 7f76a8d
Show file tree
Hide file tree
Showing 37 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ Before raising a new issue, please check the following places for an answer to y

If you get stuck adding the view in your project or need help extending it for your requirements, please consider asking for help on StackOverflow instead of raising an issue. This issue tracker is intended for reporting bugs and raising feature requests.

Thanks for reading!
Thanks for reading!
2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.android.support:support-annotations:25.3.0'
compile 'com.android.support:support-annotations:25.3.1'
}

apply from: rootProject.file('release.gradle')
2 changes: 1 addition & 1 deletion library/proguard-rules.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-keep class com.davemorrissey.labs.subscaleview.** { *; }
-keep class com.davemorrissey.labs.subscaleview.** { *; }
2 changes: 1 addition & 1 deletion library/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

# Project target.
target=android-19
android.library=true
android.library=true
2 changes: 1 addition & 1 deletion library/res/values/attrs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ limitations under the License.
<attr name="tileBackgroundColor" format="color"/>
</declare-styleable>

</resources>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ private boolean onTouchEventInternal(@NonNull MotionEvent event) {
maxTouchCount = 0;
handler.removeMessages(MESSAGE_LONG_CLICK);
requestDisallowInterceptTouchEvent(false);
}
}
if (!panEnabled) {
vTranslate.x = vTranslateStart.x;
vTranslate.y = vTranslateStart.y;
Expand Down
Empty file modified sample/assets/ness.jpg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
compile project(':library')
compile 'com.android.support:support-v4:25.3.1'
compile 'rapid.decoder:library:0.3.0'
compile 'rapid.decoder:jpeg-decoder:0.3.0'
compile 'rapid.decoder:png-decoder:0.3.0'
Expand Down
Binary file removed sample/libs/android-support-v4.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion sample/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

# Project target.
target=android-19
android.library.reference.1=../library
android.library.reference.1=../library
2 changes: 1 addition & 1 deletion sample/res/drawable-nodpi/button_standout_inactive.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<solid android:color="#333333" />
</shape>
</shape>
2 changes: 1 addition & 1 deletion sample/res/drawable-nodpi/button_standout_pressed.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<solid android:color="#0099CC" />
</shape>
</shape>
2 changes: 1 addition & 1 deletion sample/res/drawable-nodpi/button_transparent_pressed.xml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<solid android:color="#770099cc" />
</shape>
</shape>
2 changes: 1 addition & 1 deletion sample/res/drawable-nodpi/buttonstate_standout.xml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
<item android:state_focused="false" android:state_pressed="true"
android:drawable="@drawable/button_standout_pressed" />
<item android:drawable="@drawable/button_standout_inactive"/>
</selector>
</selector>
2 changes: 1 addition & 1 deletion sample/res/drawable-nodpi/buttonstate_transparent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
<item android:state_focused="false" android:state_pressed="true"
android:drawable="@drawable/button_transparent_pressed" />
<item android:drawable="@drawable/transparent"/>
</selector>
</selector>
2 changes: 1 addition & 1 deletion sample/res/drawable-nodpi/transparent.xml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<solid android:color="#00000000" />
</shape>
</shape>
Empty file modified sample/res/drawable-xhdpi/next.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified sample/res/drawable-xhdpi/play.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified sample/res/drawable-xhdpi/previous.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified sample/res/drawable-xhdpi/reset.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified sample/res/drawable-xhdpi/rotate.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion sample/res/layout/animation_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@
android:layout_width="match_parent"
android:layout_height="match_parent"/>

</RelativeLayout>
</RelativeLayout>
2 changes: 1 addition & 1 deletion sample/res/layout/extension_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
android:layout_width="match_parent"
android:layout_height="match_parent"/>

</RelativeLayout>
</RelativeLayout>
2 changes: 1 addition & 1 deletion sample/res/layout/extension_circle_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@
android:layout_width="match_parent"
android:layout_height="match_parent"/>

</RelativeLayout>
</RelativeLayout>
2 changes: 1 addition & 1 deletion sample/res/layout/extension_freehand_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@
android:layout_width="match_parent"
android:layout_height="match_parent"/>

</RelativeLayout>
</RelativeLayout>
2 changes: 1 addition & 1 deletion sample/res/layout/extension_pin_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@
android:layout_width="match_parent"
android:layout_height="match_parent"/>

</RelativeLayout>
</RelativeLayout>
2 changes: 1 addition & 1 deletion sample/res/layout/imagedisplay_large_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@
android:layout_width="match_parent"
android:layout_height="match_parent"/>

</RelativeLayout>
</RelativeLayout>
2 changes: 1 addition & 1 deletion sample/res/layout/imagedisplay_region_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@
android:layout_width="match_parent"
android:layout_height="match_parent"/>

</RelativeLayout>
</RelativeLayout>
2 changes: 1 addition & 1 deletion sample/res/layout/imagedisplay_rotate_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@
android:layout_width="match_parent"
android:layout_height="match_parent"/>

</RelativeLayout>
</RelativeLayout>
2 changes: 1 addition & 1 deletion sample/res/layout/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,4 @@
android:text="View on GitHub"/>

</LinearLayout>
</ScrollView>
</ScrollView>
2 changes: 1 addition & 1 deletion sample/res/layout/notes_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@
android:layout_width="match_parent"
android:layout_height="match_parent"/>

</RelativeLayout>
</RelativeLayout>
1 change: 0 additions & 1 deletion sample/res/layout/view_pager.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,3 @@
android:layout_height="match_parent" />

</RelativeLayout>

2 changes: 1 addition & 1 deletion sample/res/layout/view_pager_page.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
android:layout_width="match_parent"
android:layout_height="match_parent"/>

</RelativeLayout>
</RelativeLayout>
2 changes: 1 addition & 1 deletion sample/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<resources>
<color name="background">#111111</color>
<color name="actionBarBackground">#282828</color>
</resources>
</resources>
2 changes: 1 addition & 1 deletion sample/res/values/style.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
<item name="android:background">@color/actionBarBackground</item>
</style>

</resources>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ public boolean onTouchEvent(MotionEvent ev) {
return super.onTouchEvent(swapXY(ev));
}

}
}
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
include ':library'
include ':sample'
include ':sample'

0 comments on commit 7f76a8d

Please sign in to comment.