Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   ~ Copyright (C) 2014 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 
     18 <!-- The phone favorites menu appears on the main dialer screen above the favorite callers area,
     19      and provides access to the All Contacts list. -->
     20 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     21                 android:id="@+id/phone_favorites_menu"
     22                 android:layout_width="match_parent"
     23                 android:layout_height="wrap_content"
     24                 android:paddingLeft="@dimen/favorites_menu_padding_horizontal"
     25                 android:paddingRight="@dimen/favorites_menu_padding_horizontal"
     26                 android:paddingTop="@dimen/favorites_menu_padding_top"
     27                 android:paddingBottom="@dimen/favorites_menu_padding_bottom"
     28                 android:background="@color/favorites_menu_background_color"
     29         >
     30     <TextView
     31             android:layout_width="wrap_content"
     32             android:layout_height="@dimen/favorites_menu_speed_dial_height"
     33             android:fontFamily="@string/favorites_menu_speed_dial_font_family"
     34             android:text="@string/favorites_menu_speed_dial"
     35             android:textSize="@dimen/favorites_menu_speed_dial_text_size"
     36             android:textColor="@color/speed_dial_text_color"
     37             android:layout_alignParentLeft="true"
     38             android:layout_centerVertical="true"
     39             android:gravity="center"
     40         />
     41     <Button
     42             android:id="@+id/all_contacts_button"
     43             android:fontFamily="@string/favorites_menu_all_contacts_font_family"
     44             android:layout_width="wrap_content"
     45             android:layout_height="@dimen/favorites_menu_all_contacts_height"
     46             android:paddingLeft="@dimen/favorites_menu_padding_horizontal"
     47             android:paddingRight="@dimen/favorites_menu_padding_horizontal"
     48             android:text="@string/favorites_menu_all_contacts"
     49             android:textSize="@dimen/favorites_menu_all_contacts_text_size"
     50             android:background="@drawable/background_all_contacts"
     51             android:textColor="@color/all_contacts_button_text_color"
     52             android:layout_alignParentRight="true"
     53             android:layout_centerVertical="true"
     54             android:gravity="center"
     55         />
     56 </RelativeLayout>