Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 Copyright 2014 The Android Open Source Project
      4 
      5 Licensed under the Apache License, Version 2.0 (the "License");
      6 you may not use this file except in compliance with the License.
      7 You may obtain a copy of the License at
      8 
      9  http://www.apache.org/licenses/LICENSE-2.0
     10 
     11 Unless required by applicable law or agreed to in writing, software
     12 distributed under the License is distributed on an "AS IS" BASIS,
     13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14 See the License for the specific language governing permissions and
     15 limitations under the License.
     16 -->
     17 
     18 
     19 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     20             xmlns:tools="http://schemas.android.com/tools"
     21             android:layout_width="match_parent"
     22             android:layout_height="match_parent">
     23 
     24     <LinearLayout
     25         android:layout_width="match_parent"
     26         android:layout_height="wrap_content"
     27         android:orientation="vertical"
     28         android:padding="@dimen/margin_medium">
     29 
     30         <TextView
     31             android:id="@+id/say_hello_explanation"
     32             android:layout_width="match_parent"
     33             android:layout_height="wrap_content"
     34             android:textAppearance="?android:attr/textAppearanceMedium"
     35             tools:text="@string/explanation_can_say_hello_true"/>
     36 
     37         <Button
     38             android:id="@+id/say_hello"
     39             android:layout_width="wrap_content"
     40             android:layout_height="wrap_content"
     41             android:layout_marginStart="@dimen/margin_medium"
     42             android:text="@string/action_can_say_hello"/>
     43 
     44         <include layout="@layout/separator"/>
     45 
     46         <TextView
     47             android:id="@+id/your_number"
     48             android:layout_width="match_parent"
     49             android:layout_height="wrap_content"
     50             android:textAppearance="?android:attr/textAppearanceMedium"
     51             tools:text="@string/your_number"/>
     52 
     53         <include layout="@layout/separator"/>
     54 
     55         <TextView
     56             android:id="@+id/your_rank"
     57             android:layout_width="match_parent"
     58             android:layout_height="wrap_content"
     59             android:textAppearance="?android:attr/textAppearanceMedium"
     60             tools:text="@string/your_rank"/>
     61 
     62         <include layout="@layout/separator" android:id="@+id/bundle_separator"/>
     63 
     64         <TextView
     65             android:id="@+id/approvals_you_have"
     66             android:layout_width="match_parent"
     67             android:layout_height="wrap_content"
     68             android:textAppearance="?android:attr/textAppearanceMedium"
     69             tools:text="@string/approvals_you_have"/>
     70 
     71         <include layout="@layout/separator" android:id="@+id/bundle_array_separator" />
     72 
     73         <TextView
     74             android:id="@+id/your_items"
     75             android:layout_width="match_parent"
     76             android:layout_height="wrap_content"
     77             android:textAppearance="?android:attr/textAppearanceMedium"
     78             tools:text="@string/your_items"/>
     79 
     80     </LinearLayout>
     81 
     82 </ScrollView>
     83