to top
SlidingTabsBasic / res / layout-w720dp /

activity_main.xml

1
<!--
2
  Copyright 2013 The Android Open Source Project
3
 
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
  you may not use this file except in compliance with the License.
6
  You may obtain a copy of the License at
7
 
8
      http://www.apache.org/licenses/LICENSE-2.0
9
 
10
  Unless required by applicable law or agreed to in writing, software
11
  distributed under the License is distributed on an "AS IS" BASIS,
12
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
  See the License for the specific language governing permissions and
14
  limitations under the License.
15
  -->
16
<LinearLayout
17
      xmlns:android="http://schemas.android.com/apk/res/android"
18
      android:orientation="horizontal"
19
      android:layout_width="match_parent"
20
      android:layout_height="match_parent"
21
      android:id="@+id/sample_main_layout">
22
 
23
    <LinearLayout
24
          android:id="@+id/sample_output"
25
          android:layout_width="0px"
26
          android:layout_height="match_parent"
27
          android:layout_weight="1"
28
          android:orientation="vertical">
29
 
30
        <FrameLayout
31
              style="@style/Widget.SampleMessageTile"
32
              android:layout_width="match_parent"
33
              android:layout_height="wrap_content">
34
 
35
            <TextView
36
                  style="@style/Widget.SampleMessage"
37
                  android:layout_width="match_parent"
38
                  android:layout_height="wrap_content"
39
                  android:paddingLeft="@dimen/margin_medium"
40
                  android:paddingRight="@dimen/margin_medium"
41
                  android:paddingTop="@dimen/margin_large"
42
                  android:paddingBottom="@dimen/margin_large"
43
                  android:text="@string/intro_message" />
44
        </FrameLayout>
45
 
46
        <View
47
              android:layout_width="match_parent"
48
              android:layout_height="1dp"
49
              android:background="@android:color/darker_gray" />
50
 
51
        <fragment
52
              android:name="com.example.android.common.logger.LogFragment"
53
              android:id="@+id/log_fragment"
54
              android:layout_width="match_parent"
55
              android:layout_height="0px"
56
              android:layout_weight="1" />
57
 
58
    </LinearLayout>
59
 
60
    <View
61
          android:layout_width="1dp"
62
          android:layout_height="match_parent"
63
          android:background="@android:color/darker_gray" />
64
 
65
    <FrameLayout
66
          android:id="@+id/sample_content_fragment"
67
          android:layout_weight="2"
68
          android:layout_width="0px"
69
          android:layout_height="match_parent" />
70
 
71
</LinearLayout>
72
 
73