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 <LinearLayout
     18     xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:layout_width="match_parent"
     20     android:layout_height="wrap_content"
     21     android:orientation="vertical">
     22 
     23     <include
     24         android:id="@+id/kind_title_layout"
     25         layout="@layout/edit_kind_title" />
     26 
     27     <!-- Shown only when id/kind_title_layout is hidden, dividing a previous item and this item. -->
     28     <View
     29         android:id="@+id/divider"
     30         android:layout_width="match_parent"
     31         android:layout_height="1px"
     32         android:layout_marginLeft="8dip"
     33         android:layout_marginRight="8dip"
     34         android:background="?android:attr/listDivider" />
     35 
     36     <LinearLayout
     37         android:layout_width="match_parent"
     38         android:layout_height="wrap_content"
     39         android:minHeight="@dimen/editor_min_line_item_height"
     40         android:layout_marginLeft="16dip"
     41         android:layout_marginRight="16dip"
     42         android:orientation="horizontal">
     43         <TextView
     44             android:id="@+id/data"
     45             android:layout_width="0px"
     46             android:layout_height="wrap_content"
     47             android:layout_weight="1"
     48             android:layout_gravity="center_vertical"
     49             android:textAppearance="?android:attr/textAppearanceMedium"
     50             android:textColor="?android:attr/textColorSecondary"
     51             android:singleLine="true"/>
     52         <TextView
     53             android:id="@+id/type"
     54             android:layout_width="wrap_content"
     55             android:layout_height="wrap_content"
     56             android:layout_gravity="center_vertical"
     57             android:textAppearance="?android:attr/textAppearanceSmall"
     58             android:textColor="?android:attr/textColorSecondary"
     59             android:textAllCaps="true"
     60             android:singleLine="true"/>
     61     </LinearLayout>
     62 
     63 </LinearLayout>
     64