Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?><!--
      2      Copyright (C) 2015 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     style="@style/RootLayoutPadding"
     18     android:layout_width="match_parent"
     19     android:layout_height="match_parent"
     20     android:orientation="vertical">
     21 
     22     <ScrollView
     23         android:layout_width="match_parent"
     24         android:layout_height="0dp"
     25         android:layout_weight="1"
     26         android:fillViewport="true">
     27 
     28         <LinearLayout
     29             android:layout_width="match_parent"
     30             android:layout_height="match_parent"
     31             android:orientation="vertical">
     32 
     33             <LinearLayout
     34                 android:id="@+id/test_messages"
     35                 android:layout_width="match_parent"
     36                 android:layout_height="wrap_content"
     37                 android:orientation="vertical">
     38 
     39                 <TextView
     40                     android:id="@+id/test_instruction"
     41                     style="@style/InstructionsFont"
     42                     android:layout_width="match_parent"
     43                     android:layout_height="wrap_content"
     44                     android:layout_weight="0" />
     45 
     46                 <TextView
     47                     android:id="@+id/test_log"
     48                     android:layout_width="match_parent"
     49                     android:layout_height="0dp"
     50                     android:layout_weight="1"
     51                     android:orientation="vertical" />
     52 
     53             </LinearLayout>
     54 
     55             <LinearLayout
     56                 android:id="@+id/action_buttons"
     57                 android:layout_width="match_parent"
     58                 android:layout_height="wrap_content"
     59                 android:layout_weight="0"
     60                 android:orientation="horizontal">
     61 
     62                 <Button
     63                     android:id="@+id/action_reset"
     64                     android:layout_width="0dp"
     65                     android:layout_height="wrap_content"
     66                     android:layout_weight="1"
     67                     android:text="@string/keychain_reset" />
     68 
     69                 <Button
     70                     android:id="@+id/action_skip"
     71                     android:layout_width="0dp"
     72                     android:layout_height="wrap_content"
     73                     android:layout_weight="1"
     74                     android:text="@string/keychain_skip" />
     75 
     76                 <Button
     77                     android:id="@+id/action_next"
     78                     android:layout_width="0dp"
     79                     android:layout_height="wrap_content"
     80                     android:layout_weight="1"
     81                     android:text="@string/next_button_text" />
     82 
     83             </LinearLayout>
     84         </LinearLayout>
     85     </ScrollView>
     86 
     87     <include
     88         layout="@layout/pass_fail_buttons"
     89         android:layout_width="match_parent"
     90         android:layout_height="wrap_content"
     91         android:layout_weight="0" />
     92 
     93 </LinearLayout>
     94