Fix for Android 2.3
This commit is contained in:
parent
1154cae8e5
commit
72f58aad7f
@ -91,7 +91,7 @@ public class PreferencesActivity extends BasePreferencesActivity {
|
||||
adFreePreference.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
|
||||
@Override
|
||||
public boolean onPreferenceClick(Preference preference) {
|
||||
startActivity(new Intent(getApplicationContext(), PurchaseDialogActivity.class));
|
||||
startActivity(new Intent(PreferencesActivity.this, PurchaseDialogActivity.class));
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
@ -25,6 +25,7 @@
|
||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||
a:layout_width="wrap_content"
|
||||
a:layout_height="wrap_content"
|
||||
a:minWidth="200dp"
|
||||
a:orientation="vertical"
|
||||
a:padding="3dp"
|
||||
a:background="?attr/cpp_main_bg">
|
||||
|
Loading…
Reference in New Issue
Block a user