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

Commit 9dc14a8b authored by Yorke Lee's avatar Yorke Lee
Browse files

UI polish for list section headers in People

Bug: 10671447
Change-Id: I4857282a65474105ba0415bd881c758bddb381a8
parent 4e295670
Loading
Loading
Loading
Loading
+0 −24
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2011 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.
-->

<TextView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/title"
    style="@style/ContactListSeparatorTextViewStyle"
    android:paddingLeft="8dip"
    android:paddingRight="8dip"
    android:paddingStart="8dip"
    android:paddingEnd="8dip" />
+2 −5
Original line number Diff line number Diff line
@@ -34,10 +34,7 @@
        android:layout_gravity="center_vertical"
        android:paddingLeft="?attr/list_item_header_text_indent"
        android:paddingStart="?attr/list_item_header_text_indent"
        android:textAppearance="?android:attr/textAppearanceSmall"
        android:textColor="@color/people_app_theme_color"
        android:textStyle="bold"
        android:textAllCaps="true"
        android:textAppearance="@style/SectionHeaderStyle"
        android:singleLine="true"
        android:textAlignment="viewStart" />

@@ -48,7 +45,7 @@
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical"
        android:textColor="@color/people_app_theme_color"
        android:textAppearance="@style/SectionHeaderStyle"
        android:textSize="12sp"
        android:singleLine="true"
        android:ellipsize="middle"
+2 −5
Original line number Diff line number Diff line
@@ -34,10 +34,7 @@
        android:layout_height="wrap_content"
        android:paddingLeft="?attr/list_item_header_text_indent"
        android:paddingStart="?attr/list_item_header_text_indent"
        android:textAppearance="?android:attr/textAppearanceSmall"
        android:textColor="@color/people_app_theme_color"
        android:textStyle="bold"
        android:textAllCaps="true"
        android:textAppearance="@style/SectionHeaderStyle"
        android:singleLine="true"/>

    <!-- TODO: Should use correct color with a correct name (content should be same).
@@ -48,7 +45,7 @@
        android:layout_height="wrap_content"
        android:paddingLeft="?attr/list_item_header_text_indent"
        android:paddingStart="?attr/list_item_header_text_indent"
        android:textColor="@color/people_app_theme_color"
        android:textAppearance="@style/SectionHeaderStyle"
        android:textSize="12sp"
        android:singleLine="true"
        android:ellipsize="middle" />
+2 −5
Original line number Diff line number Diff line
@@ -34,14 +34,11 @@
        android:layout_height="wrap_content"
        android:singleLine="true"
        android:text="@string/user_profile_contacts_list_header"
        android:textStyle="bold"
        android:ellipsize="end"
        android:layout_weight="1"
        android:textAllCaps="true"
        android:textAppearance="?android:attr/textAppearanceSmall"
        android:textAppearance="@style/SectionHeaderStyle"
        android:paddingLeft="?attr/list_item_text_indent"
        android:paddingStart="?attr/list_item_text_indent"
        android:textColor="@color/people_app_theme_color" />
        android:paddingStart="?attr/list_item_text_indent" />

    <TextView
        android:id="@+id/contacts_count"
+2 −2
Original line number Diff line number Diff line
@@ -41,8 +41,8 @@
        <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">20sp</item>
        <item name="list_item_header_text_color">@color/dialtacts_secondary_text_color</item>
        <item name="list_item_header_text_size">25sp</item>
        <item name="list_item_header_text_color">@color/people_app_theme_color</item>
        <item name="list_item_header_height">48dip</item>
        <item name="list_item_header_underline_height">2dip</item>
        <item name="list_item_header_underline_color">@color/secondary_header_separator_color</item>
Loading