[Android Q&A, Help & Troubleshooting] Irfdiddy:
I have created a new xml file in the res>layout forlder called tabs.xml. It has the following code:

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:orientation="vertical" >

<TabHost

android:id="@android:id/tabhost"

android:layout_width="match_parent"

android:layout_height="match_parent" >

<LinearLayout

android:layout_width="match_parent"

android:layout_height="match_parent"

android:orientation="vertical" >

<TabWidget

android:id="@android:id/tabs"

android:layout_width="match_parent"

android:layout_height="wrap_content" >

</TabWidget>

<FrameLayout

android:id="@android:id/tabcontent"

android:layout_width="match_parent"

android:layout_height="match_parent" >

<RelativeLayout

android:id="@+id/Network"

android:layout_width="match_parent"

android:layout_height="match_parent" >

<TextView

android:id="@+id/textView1"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_alignParentLeft="true"

android:layout_alignParentTop="true"

android:text="Channel Type:"

android:textAppearance="?android:attr/textAppearanceMedium" />

<RadioButton

android:id="@+id/urbanButton1"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_alignParentLeft="true"

android:layout_below="@+id/textView1"

android:text="Urban" />

<RadioButton

android:id="@+id/suburbanButton2"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_alignBaseline="@+id/urbanButton1"

android:layout_alignBottom="@+id/urbanButton1"

android:layout_centerHorizontal="true"

android:text="SubUrban" />

<RadioButton

android:id="@+id/ruralButton3"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_alignBaseline="@+id/suburbanButton2"

android:layout_alignBottom="@+id/suburbanButton2"

android:layout_alignParentRight="true"

android:layout_marginRight="15dp"

android:text="Rural" />

<TextView

android:id="@+id/textView2"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_below="@+id/urbanButton1"

android:text="Characteristics of Channel:"

android:textAppearance="?android:attr/textAppearanceMedium" />

<TextView

android:id="@+id/textView3"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_alignParentLeft="true"

android:layout_alignRight="@+id/suburbanButton2"

android:layout_below="@+id/textView2"

android:text="Medium Text"

android:textAppearance="?android:attr/textAppearanceMedium" />

<CheckBox

android:id="@+id/checkBox1"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_below="@+id/textView3"

android:layout_toLeftOf="@+id/ruralButton3"

android:text="Manual Override" />

</RelativeLayout>

<RelativeLayout

android:id="@+id/power"

android:layout_width="match_parent"

android:layout_height="match_parent" >

</RelativeLayout>

<RelativeLayout

android:id="@+id/Connectivity"

android:layout_width="match_parent"

android:layout_height="match_parent" >

</RelativeLayout>

<RelativeLayout

android:id="@+id/Offline"

android:layout_width="match_parent"

android:layout_height="match_parent" >

</RelativeLayout>

</FrameLayout>

</LinearLayout>`enter code here`

</TabHost>

</LinearLayout>

Now i also have a andoid activity_main.xml in the same folder which i added nothing to it. i also created a java file called Tabs.Java and put it in the src folder under src>com.example.qosmetre>Tabs.Java with the following code

package com.example.qosmetre;

import android.os.Bundle;

import android.app.Activity;

import android.view.Menu;

public class Tabs extends Activity {

@Override

protected void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.tabs);

}

}

Now my question is, when i run my app on the terminal or in debugging mode, how come nothing is showing up but a blank screen? Like i want the tabs to show up first thing with all the stuff underneath them as shown in the code above. Also how would i import a library for scatter plotting data that would be in my app?

I need to know where and what files to put what code in because im just a beginner and i dont know too much so ill need big guidence.

Thanks again in advance.