Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2011 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 <FrameLayout
     18     xmlns:android="http://schemas.android.com/apk/res/android"
     19     android:layout_width="match_parent"
     20     android:layout_height="match_parent">
     21 
     22     <LinearLayout
     23         android:id="@+id/save_menu_item"
     24         android:layout_width="wrap_content"
     25         android:layout_height="match_parent"
     26         android:divider="?android:attr/dividerVertical"
     27         android:showDividers="end"
     28         android:dividerPadding="12dip"
     29         android:orientation="horizontal"
     30         android:focusable="true"
     31         android:clickable="true">
     32 
     33         <LinearLayout
     34             android:layout_width="wrap_content"
     35             android:layout_height="match_parent"
     36             android:orientation="horizontal"
     37             android:duplicateParentState="true"
     38             style="?android:attr/actionButtonStyle">
     39 
     40             <ImageView
     41                 android:id="@+id/icon"
     42                 android:layout_width="wrap_content"
     43                 android:layout_height="wrap_content"
     44                 android:layout_gravity="center_vertical"
     45                 android:layout_marginRight="8dip"
     46                 android:layout_marginEnd="8dip"
     47                 android:src="@drawable/ic_menu_done_holo_light"
     48                 android:description="@string/menu_done" />
     49 
     50             <TextView
     51                 android:layout_width="wrap_content"
     52                 android:layout_height="wrap_content"
     53                 android:layout_gravity="center_vertical"
     54                 android:layout_marginRight="20dip"
     55                 android:layout_marginEnd="20dip"
     56                 android:textAppearance="?android:attr/textAppearanceMedium"
     57                 android:textColor="@color/people_app_theme_color"
     58                 android:text="@string/menu_done"
     59                 style="@android:style/Widget.Holo.ActionBar.TabText" />
     60 
     61         </LinearLayout>
     62 
     63     </LinearLayout>
     64 
     65 </FrameLayout>