Home | History | Annotate | Download | only in layout-land
      1 <!--
      2   Copyright (C) 2014 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 xmlns:android="http://schemas.android.com/apk/res/android"
     17               android:layout_width="match_parent"
     18               android:layout_height="match_parent"
     19               android:gravity="center_horizontal"
     20               android:orientation="horizontal"
     21               android:paddingBottom="@dimen/activity_vertical_margin"
     22               android:paddingLeft="@dimen/activity_horizontal_margin"
     23               android:paddingRight="@dimen/activity_horizontal_margin"
     24               android:paddingTop="@dimen/activity_vertical_margin">
     25     <LinearLayout
     26         android:layout_width="0dp"
     27         android:layout_height="match_parent"
     28         android:layout_weight="1"
     29         android:orientation="vertical">
     30         <Button
     31             android:id="@+id/send_1_conversation"
     32             android:layout_width="match_parent"
     33             android:layout_height="wrap_content"
     34             android:text="@string/send_1_conversation"/>
     35 
     36         <Button
     37             android:id="@+id/send_2_conversations"
     38             android:layout_width="match_parent"
     39             android:layout_height="wrap_content"
     40             android:text="@string/send_2_conversations"/>
     41 
     42         <Button
     43             android:id="@+id/send_1_conversation_3_messages"
     44             android:layout_width="match_parent"
     45             android:layout_height="wrap_content"
     46             android:text="@string/send_1_conv_3_messages"/>
     47     </LinearLayout>
     48     <RelativeLayout
     49         android:layout_width="0dp"
     50         android:layout_height="match_parent"
     51         android:layout_weight="2">
     52         <Button
     53             android:id="@+id/clear"
     54             android:layout_alignParentBottom="true"
     55             android:layout_width="match_parent"
     56             android:layout_height="wrap_content"
     57             android:text="@string/clear_log"/>
     58 
     59         <TextView
     60             android:id="@+id/data_port"
     61             android:layout_above="@id/clear"
     62             android:layout_width="match_parent"
     63             android:layout_height="match_parent"
     64             android:scrollbars="vertical"/>
     65     </RelativeLayout>
     66 </LinearLayout>
     67