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() {
|
adFreePreference.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public boolean onPreferenceClick(Preference preference) {
|
public boolean onPreferenceClick(Preference preference) {
|
||||||
startActivity(new Intent(getApplicationContext(), PurchaseDialogActivity.class));
|
startActivity(new Intent(PreferencesActivity.this, PurchaseDialogActivity.class));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:a="http://schemas.android.com/apk/res/android"
|
||||||
a:layout_width="wrap_content"
|
a:layout_width="wrap_content"
|
||||||
a:layout_height="wrap_content"
|
a:layout_height="wrap_content"
|
||||||
|
a:minWidth="200dp"
|
||||||
a:orientation="vertical"
|
a:orientation="vertical"
|
||||||
a:padding="3dp"
|
a:padding="3dp"
|
||||||
a:background="?attr/cpp_main_bg">
|
a:background="?attr/cpp_main_bg">
|
||||||
|
Loading…
Reference in New Issue
Block a user