Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?><!--
      2 Copyright 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 
     17 
     18 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     19     xmlns:tools="http://schemas.android.com/tools"
     20     android:layout_width="match_parent"
     21     android:layout_height="match_parent">
     22 
     23     <LinearLayout
     24         android:layout_width="match_parent"
     25         android:layout_height="wrap_content"
     26         android:orientation="vertical"
     27         android:padding="@dimen/margin_medium">
     28 
     29         <TextView
     30             android:id="@+id/say_hello_explanation"
     31             android:layout_width="match_parent"
     32             android:layout_height="wrap_content"
     33             android:textAppearance="?android:attr/textAppearanceMedium"
     34             tools:text="@string/explanation_can_say_hello_true" />
     35 
     36         <Button
     37             android:id="@+id/say_hello"
     38             android:layout_width="wrap_content"
     39             android:layout_height="wrap_content"
     40             android:layout_marginBottom="@dimen/margin_medium"
     41             android:layout_marginStart="@dimen/margin_medium"
     42             android:text="@string/action_can_say_hello" />
     43 
     44         <TextView
     45             android:id="@+id/your_number"
     46             android:layout_width="match_parent"
     47             android:layout_height="wrap_content"
     48             android:layout_marginBottom="@dimen/margin_medium"
     49             android:layout_marginTop="@dimen/margin_medium"
     50             android:textAppearance="?android:attr/textAppearanceMedium"
     51             tools:text="@string/your_number" />
     52 
     53         <TextView
     54             android:id="@+id/your_rank"
     55             android:layout_width="match_parent"
     56             android:layout_height="wrap_content"
     57             android:layout_marginBottom="@dimen/margin_medium"
     58             android:layout_marginTop="@dimen/margin_medium"
     59             android:textAppearance="?android:attr/textAppearanceMedium"
     60             tools:text="@string/your_rank" />
     61 
     62         <TextView
     63             android:id="@+id/approvals_you_have"
     64             android:layout_width="match_parent"
     65             android:layout_height="wrap_content"
     66             android:layout_marginBottom="@dimen/margin_medium"
     67             android:layout_marginTop="@dimen/margin_medium"
     68             android:textAppearance="?android:attr/textAppearanceMedium"
     69             tools:text="@string/approvals_you_have" />
     70 
     71         <TextView
     72             android:id="@+id/your_items"
     73             android:layout_width="match_parent"
     74             android:layout_height="wrap_content"
     75             android:layout_marginTop="@dimen/margin_medium"
     76             android:textAppearance="?android:attr/textAppearanceMedium"
     77             tools:text="@string/your_items" />
     78 
     79     </LinearLayout>
     80 
     81 </ScrollView>
     82