Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
what do you mean by parent layout?
Here's what I have.
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@drawable/background">
</PreferenceScreen>
then in code I simply
addPreferencesFromResource(R.xml.preferences);
that still doesn't set the background to my image...
That just crashed the app...
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@drawable/background">
<PreferenceScreen>
</PreferenceScreen>
</LinearLayout>
Does it make a different that my class extends a PreferenceActivity, not a regular activity?