Fix small issues

This commit is contained in:
Victor Shcherb 2015-01-19 23:16:37 +01:00
parent ca4b4e14c8
commit 4d9bd5f23f
7 changed files with 6 additions and 25 deletions

View file

@ -5,7 +5,7 @@
android:versionCode="201" android:versionCode="201"
package="net.osmand.plus"> package="net.osmand.plus">
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="19" /> <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

View file

@ -31,11 +31,11 @@ public class HelpActivity extends ActionBarActivity {
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
getMyApplication().applyTheme(this); getMyApplication().applyTheme(this);
super.onCreate(savedInstanceState);
supportRequestWindowFeature(Window.FEATURE_NO_TITLE); supportRequestWindowFeature(Window.FEATURE_NO_TITLE);
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.ICE_CREAM_SANDWICH) { if (Build.VERSION.SDK_INT > Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
getWindow().setUiOptions(ActivityInfo.UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW); getWindow().setUiOptions(ActivityInfo.UIOPTION_SPLIT_ACTION_BAR_WHEN_NARROW);
} }
super.onCreate(savedInstanceState);
wv = new WebView(this); wv = new WebView(this);
getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setDisplayHomeAsUpEnabled(true);
String title = getString(R.string.help); String title = getString(R.string.help);

View file

@ -3,6 +3,7 @@
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/> <classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/> <classpathentry kind="output" path="bin/classes"/>
</classpath> </classpath>

2
appcompat/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
bin
gen

View file

@ -1,8 +0,0 @@
/*___Generated_by_IDEA___*/
package android.support.v7.appcompat;
/* This stub is only used by the IDE. It is NOT the BuildConfig class actually packed into the APK */
public final class BuildConfig {
public final static boolean DEBUG = Boolean.parseBoolean(null);
}

View file

@ -1,7 +0,0 @@
/*___Generated_by_IDEA___*/
package android.support.v7.appcompat;
/* This stub is only used by the IDE. It is NOT the Manifest class actually packed into the APK */
public final class Manifest {
}

View file

@ -1,7 +0,0 @@
/*___Generated_by_IDEA___*/
package android.support.v7.appcompat;
/* This stub is only used by the IDE. It is NOT the R class actually packed into the APK */
public final class R {
}