Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3      Copyright (C) 2013 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 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:layout_width="match_parent"
     19     android:layout_height="wrap_content"
     20     android:paddingTop="8dp"
     21     android:paddingBottom="8dp">
     22 
     23     <ImageView
     24         android:id="@+id/status"
     25         android:layout_width="wrap_content"
     26         android:layout_height="wrap_content"
     27         android:layout_alignParentLeft="true"
     28         android:layout_alignParentTop="true"
     29         android:contentDescription="@string/pass_button_text"
     30         android:paddingTop="3dip"
     31         android:paddingLeft="10dip"
     32         android:paddingRight="10dip"
     33         android:src="@drawable/fs_indeterminate" />
     34 
     35     <TextView
     36         android:id="@+id/instructions"
     37         style="@style/InstructionsSmallFont"
     38         android:layout_width="match_parent"
     39         android:layout_height="wrap_content"
     40         android:layout_alignParentTop="true"
     41         android:layout_toRightOf="@id/status" />
     42 
     43     <Button
     44         android:id="@+id/settings_button"
     45         android:layout_width="wrap_content"
     46         android:layout_height="wrap_content"
     47         android:layout_below="@id/instructions"
     48         android:layout_toRightOf="@id/status"
     49         android:text="@string/mtp_app_settings"
     50         android:visibility="gone" />
     51 
     52     <Button
     53         android:id="@+id/next_item_button"
     54         android:layout_width="wrap_content"
     55         android:layout_height="wrap_content"
     56         android:layout_below="@id/instructions"
     57         android:layout_toRightOf="@id/settings_button"
     58         android:text="@string/next_button_text"
     59         android:visibility="gone" />
     60 
     61     <Button
     62         android:id="@+id/pass_item_button"
     63         android:layout_width="wrap_content"
     64         android:layout_height="wrap_content"
     65         android:layout_below="@id/instructions"
     66         android:layout_toRightOf="@id/next_item_button"
     67         android:text="@string/pass_button_text"
     68         android:visibility="gone" />
     69 
     70     <Button
     71         android:id="@+id/fail_item_button"
     72         android:layout_width="wrap_content"
     73         android:layout_height="wrap_content"
     74         android:layout_below="@id/instructions"
     75         android:layout_toRightOf="@id/pass_item_button"
     76         android:text="@string/fail_button_text"
     77         android:visibility="gone" />
     78 
     79 </RelativeLayout>
     80