Skip to content

Commit 7f76a8d

Browse files
Merge pull request #357 from friederbluemle/update-project
Minor file cleanups + remove support binary
2 parents 93191c9 + 154e9f7 commit 7f76a8d

37 files changed

+29
-29
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ Before raising a new issue, please check the following places for an answer to y
77

88
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.
99

10-
Thanks for reading!
10+
Thanks for reading!

library/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ android {
3939

4040
dependencies {
4141
compile fileTree(dir: 'libs', include: '*.jar')
42-
compile 'com.android.support:support-annotations:25.3.0'
42+
compile 'com.android.support:support-annotations:25.3.1'
4343
}
4444

4545
apply from: rootProject.file('release.gradle')

library/proguard-rules.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-keep class com.davemorrissey.labs.subscaleview.** { *; }
1+
-keep class com.davemorrissey.labs.subscaleview.** { *; }

library/project.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212

1313
# Project target.
1414
target=android-19
15-
android.library=true
15+
android.library=true

library/res/values/attrs.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ limitations under the License.
2525
<attr name="tileBackgroundColor" format="color"/>
2626
</declare-styleable>
2727

28-
</resources>
28+
</resources>

library/src/com/davemorrissey/labs/subscaleview/SubsamplingScaleImageView.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ private boolean onTouchEventInternal(@NonNull MotionEvent event) {
828828
maxTouchCount = 0;
829829
handler.removeMessages(MESSAGE_LONG_CLICK);
830830
requestDisallowInterceptTouchEvent(false);
831-
}
831+
}
832832
if (!panEnabled) {
833833
vTranslate.x = vTranslateStart.x;
834834
vTranslate.y = vTranslateStart.y;

sample/assets/ness.jpg

100755100644
File mode changed.

sample/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ android {
4040
dependencies {
4141
compile fileTree(dir: 'libs', include: '*.jar')
4242
compile project(':library')
43+
compile 'com.android.support:support-v4:25.3.1'
4344
compile 'rapid.decoder:library:0.3.0'
4445
compile 'rapid.decoder:jpeg-decoder:0.3.0'
4546
compile 'rapid.decoder:png-decoder:0.3.0'

sample/libs/android-support-v4.jar

-607 KB
Binary file not shown.

sample/project.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212

1313
# Project target.
1414
target=android-19
15-
android.library.reference.1=../library
15+
android.library.reference.1=../library
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
33
<solid android:color="#333333" />
4-
</shape>
4+
</shape>
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
33
<solid android:color="#0099CC" />
4-
</shape>
4+
</shape>
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
33
<solid android:color="#770099cc" />
4-
</shape>
4+
</shape>

sample/res/drawable-nodpi/buttonstate_standout.xml

100755100644
+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
<item android:state_focused="false" android:state_pressed="true"
88
android:drawable="@drawable/button_standout_pressed" />
99
<item android:drawable="@drawable/button_standout_inactive"/>
10-
</selector>
10+
</selector>

sample/res/drawable-nodpi/buttonstate_transparent.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
<item android:state_focused="false" android:state_pressed="true"
88
android:drawable="@drawable/button_transparent_pressed" />
99
<item android:drawable="@drawable/transparent"/>
10-
</selector>
10+
</selector>

sample/res/drawable-nodpi/transparent.xml

100755100644
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
33
<solid android:color="#00000000" />
4-
</shape>
4+
</shape>

sample/res/drawable-xhdpi/next.png

100755100644
File mode changed.

sample/res/drawable-xhdpi/play.png

100755100644
File mode changed.

sample/res/drawable-xhdpi/previous.png

100755100644
File mode changed.

sample/res/drawable-xhdpi/reset.png

100755100644
File mode changed.

sample/res/drawable-xhdpi/rotate.png

100755100644
File mode changed.

sample/res/layout/animation_activity.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@
6969
android:layout_width="match_parent"
7070
android:layout_height="match_parent"/>
7171

72-
</RelativeLayout>
72+
</RelativeLayout>

sample/res/layout/extension_activity.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
android:layout_width="match_parent"
88
android:layout_height="match_parent"/>
99

10-
</RelativeLayout>
10+
</RelativeLayout>

sample/res/layout/extension_circle_fragment.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@
5656
android:layout_width="match_parent"
5757
android:layout_height="match_parent"/>
5858

59-
</RelativeLayout>
59+
</RelativeLayout>

sample/res/layout/extension_freehand_fragment.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@
7070
android:layout_width="match_parent"
7171
android:layout_height="match_parent"/>
7272

73-
</RelativeLayout>
73+
</RelativeLayout>

sample/res/layout/extension_pin_fragment.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@
5757
android:layout_width="match_parent"
5858
android:layout_height="match_parent"/>
5959

60-
</RelativeLayout>
60+
</RelativeLayout>

sample/res/layout/imagedisplay_large_fragment.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@
5757
android:layout_width="match_parent"
5858
android:layout_height="match_parent"/>
5959

60-
</RelativeLayout>
60+
</RelativeLayout>

sample/res/layout/imagedisplay_region_fragment.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@
7070
android:layout_width="match_parent"
7171
android:layout_height="match_parent"/>
7272

73-
</RelativeLayout>
73+
</RelativeLayout>

sample/res/layout/imagedisplay_rotate_fragment.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@
6969
android:layout_width="match_parent"
7070
android:layout_height="match_parent"/>
7171

72-
</RelativeLayout>
72+
</RelativeLayout>

sample/res/layout/main.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,4 @@
178178
android:text="View on GitHub"/>
179179

180180
</LinearLayout>
181-
</ScrollView>
181+
</ScrollView>

sample/res/layout/notes_activity.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@
5656
android:layout_width="match_parent"
5757
android:layout_height="match_parent"/>
5858

59-
</RelativeLayout>
59+
</RelativeLayout>

sample/res/layout/view_pager.xml

-1
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,3 @@
6666
android:layout_height="match_parent" />
6767

6868
</RelativeLayout>
69-

sample/res/layout/view_pager_page.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
android:layout_width="match_parent"
88
android:layout_height="match_parent"/>
99

10-
</RelativeLayout>
10+
</RelativeLayout>

sample/res/values/colors.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<resources>
33
<color name="background">#111111</color>
44
<color name="actionBarBackground">#282828</color>
5-
</resources>
5+
</resources>

sample/res/values/style.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
<item name="android:background">@color/actionBarBackground</item>
1111
</style>
1212

13-
</resources>
13+
</resources>

sample/src/com/davemorrissey/labs/subscaleview/sample/viewpager/VerticalViewPager.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ public boolean onTouchEvent(MotionEvent ev) {
6464
return super.onTouchEvent(swapXY(ev));
6565
}
6666

67-
}
67+
}

settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
include ':library'
2-
include ':sample'
2+
include ':sample'

0 commit comments

Comments
 (0)