Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f5e0133 authored by Maurice Chu's avatar Maurice Chu Committed by Android Git Automerger
Browse files

am c8106e02: Merge "Changed tablet tabs to be a drop down spinner" into jb-dev

* commit 'c8106e02':
  Changed tablet tabs to be a drop down spinner
parents 058fab88 c8106e02
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2012 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<!-- This is the text view layout that is shown in the spinner for the navigation drop down menu on
     tablet devices.  The text appearance is governed via two styles:
     PeopleNavigationDropDownHeaderTextAppearance - text appearance of the item in the header part
         of navigation drop down list of the action bar.
     PeopleNavigationDropDownTextAppearance - text appearance of the item in the drop down part of
         the navigation drop down list of the action bar. -->
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="center_vertical"
    android:paddingLeft="18dip"
    android:paddingRight="18dip"
    android:minHeight="?android:attr/listPreferredItemHeightSmall"
/>
+59 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2012 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<resources>
    <style name="PeopleTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar">
        <item name="android:actionBarStyle">@style/ContactsActionBarStyle</item>
        <item name="android:actionBarWidgetTheme">@style/ContactsActionBarTheme</item>
        <item name="android:actionBarItemBackground">@drawable/action_bar_item_background</item>
        <item name="android:actionBarTabStyle">@style/ContactsActionBarTabView</item>
        <item name="android:actionDropDownStyle">@style/ContactsActionBarDropDownStyle</item>
        <item name="android:textColorPrimary">@color/primary_text_color</item>
        <item name="android:textColorSecondary">@color/secondary_text_color</item>
        <item name="android:listViewStyle">@style/ListViewStyle</item>
        <item name="list_item_height">?android:attr/listPreferredItemHeight</item>
        <item name="activated_background">@drawable/list_item_activated_background</item>
        <item name="section_header_background">@drawable/list_title_holo</item>
        <item name="list_item_divider">?android:attr/listDivider</item>
        <item name="list_item_padding_top">0dip</item>
        <item name="list_item_padding_right">24dip</item>
        <item name="list_item_padding_bottom">0dip</item>
        <item name="list_item_padding_left">0dip</item>
        <item name="list_item_gap_between_image_and_text">8dip</item>
        <item name="list_item_gap_between_label_and_data">5dip</item>
        <item name="list_item_vertical_divider_margin">5dip</item>
        <item name="list_item_presence_icon_margin">4dip</item>
        <item name="list_item_photo_size">64dip</item>
        <item name="list_item_profile_photo_size">80dip</item>
        <item name="list_item_prefix_highlight_color">@color/people_app_theme_color</item>
        <item name="list_item_header_text_indent">8dip</item>
        <item name="list_item_header_text_size">14sp</item>
        <item name="list_item_header_text_color">@color/people_app_theme_color</item>
        <item name="list_item_header_height">32dip</item>
        <item name="list_item_header_underline_height">1dip</item>
        <item name="list_item_header_underline_color">@color/people_app_theme_color</item>
        <item name="list_item_data_width_weight">5</item>
        <item name="list_item_label_width_weight">3</item>
        <item name="list_item_contacts_count_text_color">@color/contact_count_text_color</item>
        <item name="list_item_contacts_count_text_size">12sp</item>
        <item name="contact_browser_list_padding_left">0dip</item>
        <item name="contact_browser_list_padding_right">0dip</item>
        <item name="contact_browser_background">@android:color/transparent</item>
        <item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item>
        <!-- Favorites -->
        <item name="favorites_padding_bottom">0dip</item>
    </style>

</resources>
+2 −1
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
        <item name="android:actionBarWidgetTheme">@style/ContactsActionBarTheme</item>
        <item name="android:actionBarItemBackground">@drawable/action_bar_item_background</item>
        <item name="android:actionBarTabStyle">@style/ContactsActionBarTabView</item>
        <item name="android:actionDropDownStyle">@style/ContactsActionBarDropDownStyle</item>
        <item name="android:textColorPrimary">@color/primary_text_color</item>
        <item name="android:textColorSecondary">@color/secondary_text_color</item>
        <item name="android:listViewStyle">@style/ListViewStyle</item>
@@ -27,7 +28,7 @@
        <item name="section_header_background">@drawable/list_title_holo</item>
        <item name="list_item_divider">?android:attr/listDivider</item>
        <item name="list_item_padding_top">0dip</item>
        <item name="list_item_padding_right">24dip</item>
        <item name="list_item_padding_right">12dip</item>
        <item name="list_item_padding_bottom">0dip</item>
        <item name="list_item_padding_left">0dip</item>
        <item name="list_item_gap_between_image_and_text">8dip</item>
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
        <item name="android:actionBarWidgetTheme">@style/ContactsActionBarTheme</item>
        <item name="android:actionBarItemBackground">@drawable/action_bar_item_background</item>
        <item name="android:actionBarTabStyle">@style/ContactsActionBarTabView</item>
        <item name="android:actionDropDownStyle">@style/ContactsActionBarDropDownStyle</item>
        <item name="android:textColorPrimary">@color/primary_text_color</item>
        <item name="android:textColorSecondary">@color/secondary_text_color</item>
        <item name="android:listViewStyle">@style/ListViewStyle</item>
+1 −1
Original line number Diff line number Diff line
@@ -363,7 +363,7 @@
         This is especially valuable for views without textual representation like ImageView.

         [CHAR LIMIT=NONE] -->
    <string name="contactsAllLabel">All</string>
    <string name="contactsAllLabel">All contacts</string>

    <!-- The content description text for the groups tab.

Loading