Hello everyone, so I'm starting to dive into android development and I have a few questions.

1. what is the difference between wrap_content, fill_parent, and match_parent?

2. I have 2 textViews in my Fragment_main.xml each with a different string. When I use wrap_content, both show up on my android device. If I use fill/match_parent only the first string shows up, why is that?


<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.example.myfirstapp.MainActivity$PlaceholderFragment" >

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world" />



<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/crimeScum"/>



</LinearLayout>



Thank You!