android - How to use Fragment in AppCompatPreferenceActivity -


i'm trying appcompatpreferenceactivity use fragment, can't

i can use appcompatpreferenceactivity elsewhere

public class morefragment extends fragment {  @nullable @override public view oncreateview(layoutinflater inflater, @nullable viewgroup container, bundle savedinstancestate) {     view v = inflater.inflate(r.layout.more,container,false);      return v; } 

}


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -