package com.example.bjorn.guidbru; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; public class Extra_Info { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.extra_info, container, false); return rootView; } } I am new with android studio and I have to creat a simple app. I made a class Extra_Info and also the xml lay-out file extra_info. Now I want to show the content of the file in the xml in my app using this code. But it doesn't works. What do I have to Add?
I am using navigationdrawer activity.
No comments:
Post a Comment