Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2011 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
     13      implied.
     14      See the License for the specific language governing permissions and
     15      limitations under the License.
     16 -->
     17 
     18 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     19         android:layout_width="match_parent"
     20         android:layout_height="wrap_content">
     21     <LinearLayout android:layout_width="match_parent"
     22             android:layout_height="wrap_content"
     23             android:orientation="vertical"
     24             android:padding="3mm">
     25 
     26         <LinearLayout android:layout_width="match_parent"
     27                 android:layout_height="wrap_content"
     28                 android:orientation="horizontal"
     29                 android:gravity="center_vertical">
     30 
     31             <ImageView android:id="@+id/icon"
     32                     android:layout_width="@android:dimen/app_icon_size"
     33                     android:layout_height="@android:dimen/app_icon_size"
     34                     android:paddingRight="1mm"/>
     35 
     36             <TextView android:id="@+id/prompt"
     37                     android:layout_width="fill_parent"
     38                     android:layout_height="wrap_content"
     39                     android:textSize="18sp"/>
     40         </LinearLayout>
     41 
     42         <TextView android:id="@+id/warning"
     43                 android:layout_width="fill_parent"
     44                 android:layout_height="wrap_content"
     45                 android:paddingTop="1mm"
     46                 android:paddingBottom="1mm"
     47                 android:text="@string/warning"
     48                 android:textSize="18sp"/>
     49 
     50         <CheckBox android:id="@+id/check"
     51                 android:layout_width="fill_parent"
     52                 android:layout_height="wrap_content"
     53                 android:text="@string/accept"
     54                 android:textSize="20sp"
     55                 android:filterTouchesWhenObscured="true"
     56                 android:checked="false"/>
     57     </LinearLayout>
     58 </ScrollView>
     59