Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2008 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 <com.android.contacts.ui.widget.GenericEditorView
     18     xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:layout_width="wrap_content"
     20     android:layout_height="wrap_content"
     21     android:baselineAligned="false"
     22     android:paddingRight="?android:attr/scrollbarSize">
     23 
     24     <Button
     25         android:id="@+id/edit_label"
     26         android:layout_width="100dip"
     27         android:layout_height="wrap_content"
     28         android:visibility="gone"
     29         android:gravity="left|center_vertical" />
     30 
     31     <ImageButton
     32         android:id="@+id/edit_delete"
     33         android:layout_width="wrap_content"
     34         android:layout_height="wrap_content"
     35         android:layout_alignParentRight="true"
     36         style="@style/MinusButton" />
     37 
     38     <LinearLayout
     39         android:id="@+id/edit_fields"
     40         android:layout_width="0dip"
     41         android:layout_height="wrap_content"
     42         android:layout_marginLeft="4dip"
     43         android:layout_alignWithParentIfMissing="true"
     44         android:layout_toRightOf="@id/edit_label"
     45         android:layout_toLeftOf="@id/edit_delete"
     46         android:orientation="vertical"
     47         android:baselineAligned="false"
     48         android:gravity="center_vertical" />
     49 
     50     <ImageButton
     51         android:id="@+id/edit_more"
     52         android:layout_width="wrap_content"
     53         android:layout_height="wrap_content"
     54         android:layout_alignParentRight="true"
     55         android:layout_alignBottom="@id/edit_fields"
     56         android:visibility="gone"
     57         style="@style/MoreButton" />
     58 
     59     <ImageButton
     60         android:id="@+id/edit_less"
     61         android:layout_width="wrap_content"
     62         android:layout_height="wrap_content"
     63         android:layout_alignParentRight="true"
     64         android:layout_alignBottom="@id/edit_fields"
     65         android:visibility="gone"
     66         style="@style/LessButton" />
     67 
     68 </com.android.contacts.ui.widget.GenericEditorView>
     69