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

Commit 6023e2a2 authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Align list item with hamburger menu and activity title (2/2)

And remove unused resources.

Bug 28246577

Change-Id: I27992d62b28a774f769453599a625401c40fa20b
parent 8bf40578
Loading
Loading
Loading
Loading

res/layout/list_section.xml

deleted100644 → 0
+0 −35
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 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.
-->

<!-- Layout used for list section separators. -->
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="@dimen/list_section_height"
    >
    <TextView
        android:id="@+id/header_text"
        android:layout_width="56dip"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:textStyle="bold"
        android:textColor="@color/section_header_text_color"
        android:textSize="14sp"
        android:gravity="center"
    />
</RelativeLayout>
+1 −1
Original line number Diff line number Diff line
@@ -20,12 +20,12 @@
    <dimen name="detail_item_vertical_margin">16dip</dimen>
    <dimen name="detail_item_icon_margin">8dip</dimen>
    <dimen name="shortcut_icon_size">64dip</dimen>
    <dimen name="list_section_height">37dip</dimen>
    <dimen name="group_detail_border_padding">16dip</dimen>
    <dimen name="search_view_width">400dip</dimen>
    <dimen name="contact_browser_list_item_text_size">18sp</dimen>
    <dimen name="contact_browser_list_item_photo_size">50dp</dimen>
    <dimen name="contact_browser_list_item_gap_between_image_and_text">25dp</dimen>
    <dimen name="contact_browser_list_item_gap_between_indexer_and_image">15dp</dimen>
    <dimen name="contact_browser_list_top_margin">18dp</dimen>
    <!-- Contact list (vertical scroll bar comes left) -->
    <dimen name="list_visible_scrollbar_padding">32dip</dimen>
+0 −3
Original line number Diff line number Diff line
@@ -136,9 +136,6 @@
    <!-- Font size used for the social status in the widget -->
    <dimen name="widget_text_size_snippet">13sp</dimen>

    <!-- Height of list sections (A, B, C) that show the first character of the contacts -->
    <dimen name="list_section_height">25dip</dimen>

    <!-- Account title left padding -->
    <dimen name="account_container_left_padding">16dip</dimen>

+4 −1
Original line number Diff line number Diff line
@@ -158,10 +158,13 @@
        <item name="list_item_padding_bottom">
            @dimen/contact_browser_list_item_padding_top_or_bottom
        </item>
        <item name="list_item_padding_left">16dip</item>
        <item name="list_item_padding_left">18dp</item>
        <item name="list_item_gap_between_image_and_text">
            @dimen/contact_browser_list_item_gap_between_image_and_text
        </item>
        <item name="list_item_gap_between_indexer_and_image">
            @dimen/contact_browser_list_item_gap_between_indexer_and_image
        </item>
        <item name="list_item_gap_between_label_and_data">5dip</item>
        <item name="list_item_presence_icon_margin">4dip</item>
        <item name="list_item_presence_icon_size">16dip</item>