View difference between Paste ID: b2qAAFJi and YvMHK8xp
SHOW: | | - or go back to the newest paste.
1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="match_parent"
4-
    android:layout_height="match_parent"
4+
    android:layout_height="wrap_content"
5
    android:background="#00ff00"
6
    android:orientation="vertical"
7
    android:padding="10dp" >
8
9
    <TextView
10
        android:layout_width="wrap_content"
11
        android:layout_height="wrap_content"
12
        android:text="Hi I am in main layout of Activity"
13
        android:textAppearance="?android:attr/textAppearanceLarge" />
14
15
    <FrameLayout
16
        android:id="@+id/frameLayout"
17
        android:layout_width="match_parent"
18
        android:layout_height="wrap_content"
19
        android:layout_marginBottom="20dp"
20
        android:layout_marginTop="20dp" >
21
    </FrameLayout>
22
23
    <TextView
24
        android:layout_width="wrap_content"
25
        android:layout_height="wrap_content"
26
        android:text="Hi I am in main layout of Activity"
27
        android:textAppearance="?android:attr/textAppearanceLarge" />
28
29
</LinearLayout>