slightly more practical build for hsdroid
This commit is contained in:
parent
61095abb39
commit
319c8af78b
|
@ -19,12 +19,12 @@ Repo:https://bitbucket.org/brockoli/hsdroid.git
|
|||
Build:1.6,9
|
||||
commit=127e76
|
||||
gradle=yes
|
||||
srclibs=SlidingMenu@d929476bee72
|
||||
patch=build.gradle_9.patch
|
||||
srclibs=SlidingMenu@9b3d8c15c1b0fbd;ActionBarSherlock@4.4.0
|
||||
patch=build.gradle_9.patch;build-fix_9.patch
|
||||
prebuild=echo -e "include ':SlidingMenu'\nproject(':SlidingMenu').projectDir = new File('$(readlink -f $$SlidingMenu$$)')" > settings.gradle && \
|
||||
find . -type f -print0 | xargs -0 sed -i 's/com.slidingmenu/com.jeremyfeinstein.slidingmenu/g' && \
|
||||
sed -i '202d' src/com/brockoli/android/hsdroid/MainActivity.java && \
|
||||
sed -i 's/17.0.0/18.1.1/' $$SlidingMenu$$/build.gradle
|
||||
sed -i 's/targetSdkVersion="17"/targetSdkVersion="16"/g' $$SlidingMenu$$/AndroidManifest.xml && \
|
||||
cp $$ActionBarSherlock$$/build.gradle $$SlidingMenu$$/ && \
|
||||
sed -i -e 's/compileSdkVersion 14/compileSdkVersion 16/g' -e "s/buildToolsVersion '17.0.0'/buildToolsVersion '18.1.1'/g" $$SlidingMenu$$/build.gradle
|
||||
|
||||
Auto Update Mode:None
|
||||
Update Check Mode:RepoManifest
|
||||
|
|
12
metadata/com.brockoli.android.hsdroid/build-fix_9.patch
Normal file
12
metadata/com.brockoli.android.hsdroid/build-fix_9.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/src/com/brockoli/android/hsdroid/MainActivity.java b/src/com/brockoli/android/hsdroid/MainActivity.java
|
||||
index 4ebf2cb..da9fdcf 100644
|
||||
--- a/src/com/brockoli/android/hsdroid/MainActivity.java
|
||||
+++ b/src/com/brockoli/android/hsdroid/MainActivity.java
|
||||
@@ -199,7 +199,6 @@ LoaderCallbacks<Cursor>{
|
||||
SlidingMenu menu = getSlidingMenu();
|
||||
menu.setBehindOffsetRes(R.dimen.actionbar_home_width);
|
||||
menu.setBehindScrollScale(0.25f);
|
||||
- menu.setShadowDrawable(R.drawable.defaultshadow);
|
||||
menu.setShadowWidth(12);
|
||||
}
|
||||
|
|
@ -15,7 +15,7 @@ Books can be loaded directly from Cool reader, FBReader or Pageturner
|
|||
# no git treeish found error
|
||||
#Repo Type:git-svn
|
||||
Repo Type:svn
|
||||
Repo:http://smashwords-access-for-android.googlecode.com/svn/trunk/
|
||||
Repo:http://smashwords-access-for-android.googlecode.com/svn/trunk
|
||||
|
||||
Build:011 beta,11
|
||||
commit=25
|
||||
|
|
Loading…
Reference in a new issue