Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4  * Copyright (C) 2007-2008 Esmertec AG.
      5  * Copyright (C) 2007-2008 The Android Open Source Project
      6  *
      7  * Licensed under the Apache License, Version 2.0 (the "License");
      8  * you may not use this file except in compliance with the License.
      9  * You may obtain a copy of the License at
     10  *
     11  *      http://www.apache.org/licenses/LICENSE-2.0
     12  *
     13  * Unless required by applicable law or agreed to in writing, software
     14  * distributed under the License is distributed on an "AS IS" BASIS,
     15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     16  * See the License for the specific language governing permissions and
     17  * limitations under the License.
     18  */
     19 -->
     20 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     21     android:layout_width="match_parent"
     22     android:layout_height="wrap_content" >
     23 
     24     <LinearLayout
     25         android:paddingLeft="15dip"
     26         android:paddingTop="15dip"
     27         android:paddingRight="15dip"
     28         android:paddingBottom="15dip"
     29         android:layout_width="match_parent"
     30         android:layout_height="wrap_content"
     31         android:orientation="vertical" >
     32 
     33         <ImageView android:id="@+id/imgAvatar"
     34             android:layout_width="60dip"
     35             android:layout_height="60dip"
     36             android:padding="2dip"
     37             android:background="@drawable/picture_frame_background" />
     38 
     39         <TextView android:id="@+id/labelName"
     40             android:layout_width="match_parent"
     41             android:layout_height="wrap_content"
     42             android:layout_marginTop="12dip"
     43             android:textStyle="bold"
     44             android:textAppearance="?android:attr/textAppearanceMedium"
     45             android:text="@string/label_username" />
     46 
     47         <TextView android:id="@+id/txtName"
     48             android:layout_width="match_parent"
     49             android:layout_height="wrap_content"/>
     50 
     51         <TextView android:id="@+id/labelStatus"
     52             android:layout_width="match_parent"
     53             android:layout_height="wrap_content"
     54             android:layout_marginTop="8dip"
     55             android:textStyle="bold"
     56             android:textAppearance="?android:attr/textAppearanceMedium"
     57             android:text="@string/label_status" />
     58 
     59         <TextView android:id="@+id/txtStatus"
     60             android:layout_width="match_parent"
     61             android:layout_height="wrap_content" />
     62 
     63         <TextView android:id="@+id/txtStatusText"
     64             android:layout_width="match_parent"
     65             android:layout_height="wrap_content"
     66             android:layout_marginRight="8dip"
     67             android:layout_marginTop="4dip"
     68             android:textAppearance="?android:attr/textAppearanceSmall"
     69             android:maxLines="4"
     70             android:textStyle="italic" />
     71 
     72         <TextView android:id="@+id/labelClientType"
     73             android:layout_width="match_parent"
     74             android:layout_height="wrap_content"
     75             android:layout_marginTop="8dip"                
     76             android:textStyle="bold"
     77             android:textAppearance="?android:attr/textAppearanceMedium"
     78             android:text="@string/label_client_type" />
     79 
     80         <TextView android:id="@+id/txtClientType"
     81             android:layout_width="match_parent"
     82             android:layout_height="wrap_content" />
     83 
     84     </LinearLayout>
     85 
     86 </ScrollView>
     87