summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/account_filter_header.xml5
-rw-r--r--res/layout/account_selector_list_item.xml2
-rw-r--r--res/layout/contact_list_content.xml2
-rw-r--r--res/layout/contact_list_filter.xml6
-rw-r--r--res/layout/contact_list_filter_custom.xml4
-rw-r--r--res/layout/contact_list_filter_item.xml5
-rw-r--r--res/layout/contact_tile_frequent.xml9
-rw-r--r--res/layout/contact_tile_frequent_phone.xml15
-rw-r--r--res/layout/contact_tile_phone_starred.xml12
-rw-r--r--res/layout/contact_tile_starred.xml8
-rw-r--r--res/layout/contact_tile_starred_quick_contact.xml8
-rw-r--r--res/layout/custom_contact_list_filter_account.xml6
-rw-r--r--res/layout/custom_contact_list_filter_group.xml5
-rw-r--r--res/layout/directory_header.xml13
-rw-r--r--res/layout/list_separator.xml6
-rw-r--r--res/layout/select_dialog_item.xml2
16 files changed, 87 insertions, 21 deletions
diff --git a/res/layout/account_filter_header.xml b/res/layout/account_filter_header.xml
index 0ffb7e1c..268a17e8 100644
--- a/res/layout/account_filter_header.xml
+++ b/res/layout/account_filter_header.xml
@@ -26,10 +26,13 @@
android:paddingTop="@dimen/list_header_extra_top_padding"
android:layout_marginLeft="@dimen/contact_browser_list_header_left_margin"
android:layout_marginRight="@dimen/contact_browser_list_header_right_margin"
+ android:layout_marginStart="@dimen/contact_browser_list_header_left_margin"
+ android:layout_marginEnd="@dimen/contact_browser_list_header_right_margin"
android:background="?android:attr/selectableItemBackground"
android:visibility="gone">
<TextView
android:id="@+id/account_filter_header"
style="@style/ContactListSeparatorTextViewStyle"
- android:paddingLeft="@dimen/contact_browser_list_item_text_indent" />
+ android:paddingLeft="@dimen/contact_browser_list_item_text_indent"
+ android:paddingStart="@dimen/contact_browser_list_item_text_indent" />
</LinearLayout>
diff --git a/res/layout/account_selector_list_item.xml b/res/layout/account_selector_list_item.xml
index 4cba3e96..076cc88d 100644
--- a/res/layout/account_selector_list_item.xml
+++ b/res/layout/account_selector_list_item.xml
@@ -35,6 +35,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="8dip"
+ android:layout_marginEnd="8dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="true"
android:ellipsize="end"/>
@@ -43,6 +44,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="8dip"
+ android:layout_marginEnd="8dip"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:singleLine="true"
diff --git a/res/layout/contact_list_content.xml b/res/layout/contact_list_content.xml
index 94681d69..3a8ad7d2 100644
--- a/res/layout/contact_list_content.xml
+++ b/res/layout/contact_list_content.xml
@@ -44,6 +44,8 @@
android:layout_height="match_parent"
android:layout_marginLeft="?attr/contact_browser_list_padding_left"
android:layout_marginRight="?attr/contact_browser_list_padding_right"
+ android:layout_marginStart="?attr/contact_browser_list_padding_left"
+ android:layout_marginEnd="?attr/contact_browser_list_padding_right"
android:fastScrollEnabled="true"
android:fadingEdge="none" />
<ProgressBar
diff --git a/res/layout/contact_list_filter.xml b/res/layout/contact_list_filter.xml
index f47d309f..d419c7e8 100644
--- a/res/layout/contact_list_filter.xml
+++ b/res/layout/contact_list_filter.xml
@@ -28,12 +28,16 @@
android:layout_height="0dip"
android:layout_weight="1"
android:layout_marginLeft="@dimen/contact_filter_left_margin"
- android:layout_marginRight="@dimen/contact_filter_right_margin" />
+ android:layout_marginRight="@dimen/contact_filter_right_margin"
+ android:layout_marginStart="@dimen/contact_filter_left_margin"
+ android:layout_marginEnd="@dimen/contact_filter_right_margin" />
<View
android:layout_width="match_parent"
android:layout_height="1dip"
android:layout_marginLeft="16dip"
android:layout_marginRight="16dip"
+ android:layout_marginStart="16dip"
+ android:layout_marginEnd="16dip"
android:background="?android:attr/dividerHorizontal" />
</LinearLayout>
diff --git a/res/layout/contact_list_filter_custom.xml b/res/layout/contact_list_filter_custom.xml
index 78318bca..b6d9229f 100644
--- a/res/layout/contact_list_filter_custom.xml
+++ b/res/layout/contact_list_filter_custom.xml
@@ -27,6 +27,8 @@
android:layout_weight="1"
android:layout_marginLeft="@dimen/contact_filter_left_margin"
android:layout_marginRight="@dimen/contact_filter_right_margin"
+ android:layout_marginStart="@dimen/contact_filter_left_margin"
+ android:layout_marginEnd="@dimen/contact_filter_right_margin"
android:overScrollMode="always" />
<View
@@ -34,6 +36,8 @@
android:layout_height="1dip"
android:layout_marginLeft="16dip"
android:layout_marginRight="16dip"
+ android:layout_marginStart="16dip"
+ android:layout_marginEnd="16dip"
android:background="?android:attr/dividerHorizontal" />
<LinearLayout
diff --git a/res/layout/contact_list_filter_item.xml b/res/layout/contact_list_filter_item.xml
index ec6a45ed..09bbe551 100644
--- a/res/layout/contact_list_filter_item.xml
+++ b/res/layout/contact_list_filter_item.xml
@@ -34,7 +34,8 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical"
- android:layout_marginLeft="8dip">
+ android:layout_marginLeft="8dip"
+ android:layout_marginStart="8dip">
<TextView
android:id="@+id/accountType"
@@ -61,6 +62,6 @@
android:layout_marginTop="1dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="right|center_vertical" />
+ android:layout_gravity="end|center_vertical" />
</view>
diff --git a/res/layout/contact_tile_frequent.xml b/res/layout/contact_tile_frequent.xml
index 03559297..404b2feb 100644
--- a/res/layout/contact_tile_frequent.xml
+++ b/res/layout/contact_tile_frequent.xml
@@ -38,8 +38,10 @@
android:orientation="vertical"
android:layout_alignParentBottom="true"
android:gravity="center_vertical"
- android:paddingEnd="80dip"
- android:paddingStart="8dip">
+ android:paddingLeft="8dip"
+ android:paddingRight="80dip"
+ android:paddingStart="8dip"
+ android:paddingEnd="80dip">
<TextView
android:id="@+id/contact_tile_name"
@@ -50,7 +52,8 @@
android:singleLine="true"
android:fadingEdge="horizontal"
android:fadingEdgeLength="3dip"
- android:ellipsize="marquee" />
+ android:ellipsize="marquee"
+ android:textAlignment="viewStart" />
<TextView
android:id="@+id/contact_tile_status"
diff --git a/res/layout/contact_tile_frequent_phone.xml b/res/layout/contact_tile_frequent_phone.xml
index 3a84b5a7..f87dff72 100644
--- a/res/layout/contact_tile_frequent_phone.xml
+++ b/res/layout/contact_tile_frequent_phone.xml
@@ -32,6 +32,7 @@
android:layout_width="64dip"
android:layout_height="64dip"
android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
android:nextFocusRight="@id/contact_tile_frequent_phone"
android:scaleType="centerCrop"
android:focusable="true" />
@@ -41,13 +42,16 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dip"
+ android:layout_marginStart="8dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_marginTop="8dip"
android:layout_toRightOf="@id/contact_tile_quick"
+ android:layout_toEndOf="@id/contact_tile_quick"
android:singleLine="true"
android:fadingEdge="horizontal"
android:fadingEdgeLength="3dip"
- android:ellipsize="marquee" />
+ android:ellipsize="marquee"
+ android:textAlignment="viewStart" />
<LinearLayout
android:orientation="horizontal"
@@ -55,6 +59,7 @@
android:layout_height="wrap_content"
android:layout_below="@id/contact_tile_name"
android:layout_toRightOf="@id/contact_tile_quick"
+ android:layout_toEndOf="@id/contact_tile_quick"
android:gravity="center_vertical">
<TextView
@@ -66,8 +71,11 @@
android:ellipsize="marquee"
android:textColor="@color/dialtacts_secondary_text_color"
android:layout_marginLeft="8dip"
+ android:layout_marginStart="8dip"
android:singleLine="true"
- android:layout_gravity="bottom" />
+ android:layout_gravity="bottom"
+ android:textDirection="ltr"
+ android:textAlignment="viewStart" />
<TextView
android:id="@+id/contact_tile_phone_type"
@@ -80,7 +88,8 @@
android:textAllCaps="true"
android:textColor="@color/dialtacts_secondary_text_color"
android:layout_marginLeft="8dip"
- android:gravity="right"
+ android:layout_marginStart="8dip"
+ android:gravity="end"
android:layout_gravity="bottom" />
</LinearLayout>
diff --git a/res/layout/contact_tile_phone_starred.xml b/res/layout/contact_tile_phone_starred.xml
index 9959c82c..e1e4970a 100644
--- a/res/layout/contact_tile_phone_starred.xml
+++ b/res/layout/contact_tile_phone_starred.xml
@@ -18,6 +18,7 @@
android:background="@null"
android:paddingBottom="1dip"
android:paddingRight="1dip"
+ android:paddingEnd="1dip"
class="com.android.contacts.common.list.ContactTilePhoneStarredView" >
<RelativeLayout
@@ -45,7 +46,11 @@
android:layout_alignParentBottom="true"
android:paddingLeft="8dip"
android:paddingRight="47dip"
- android:drawableRight="@drawable/ic_divider_dashed_holo_dark" />
+ android:paddingStart="8dip"
+ android:paddingEnd="47dip"
+ android:drawableRight="@drawable/ic_divider_dashed_holo_dark"
+ android:drawableEnd="@drawable/ic_divider_dashed_holo_dark"
+ android:textAlignment="viewStart" />
<View
android:id="@+id/contact_tile_push_state"
@@ -61,10 +66,13 @@
android:background="?android:attr/selectableItemBackground"
android:layout_height="@dimen/contact_tile_shadowbox_height"
android:layout_width="48dip"
- android:paddingRight="8dip"
android:paddingLeft="8dip"
+ android:paddingRight="8dip"
+ android:paddingStart="8dip"
+ android:paddingEnd="8dip"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
+ android:layout_alignParentEnd="true"
android:contentDescription="@string/description_view_contact_detail" />
</RelativeLayout>
diff --git a/res/layout/contact_tile_starred.xml b/res/layout/contact_tile_starred.xml
index 06852a6e..e3637472 100644
--- a/res/layout/contact_tile_starred.xml
+++ b/res/layout/contact_tile_starred.xml
@@ -18,6 +18,7 @@
android:background="@null"
android:paddingBottom="1dip"
android:paddingRight="1dip"
+ android:paddingEnd="1dip"
class="com.android.contacts.common.list.ContactTileStarredView" >
<RelativeLayout
@@ -38,8 +39,10 @@
android:background="@color/contact_tile_shadow_box_color"
android:layout_alignParentBottom="true"
android:gravity="center_vertical"
+ android:paddingLeft="8dip"
android:paddingRight="8dip"
- android:paddingLeft="8dip">
+ android:paddingStart="8dip"
+ android:paddingEnd="8dip">
<TextView
android:id="@+id/contact_tile_name"
@@ -50,7 +53,8 @@
android:singleLine="true"
android:fadingEdge="horizontal"
android:fadingEdgeLength="3dip"
- android:ellipsize="marquee" />
+ android:ellipsize="marquee"
+ android:textAlignment="viewStart" />
<TextView
android:id="@+id/contact_tile_status"
diff --git a/res/layout/contact_tile_starred_quick_contact.xml b/res/layout/contact_tile_starred_quick_contact.xml
index 87a6e654..ecbe5839 100644
--- a/res/layout/contact_tile_starred_quick_contact.xml
+++ b/res/layout/contact_tile_starred_quick_contact.xml
@@ -17,6 +17,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:paddingBottom="1dip"
android:paddingRight="1dip"
+ android:paddingEnd="1dip"
android:background="@null"
class="com.android.contacts.common.list.ContactTileStarredView" >
@@ -37,8 +38,10 @@
android:background="@color/contact_tile_shadow_box_color"
android:layout_alignParentBottom="true"
android:gravity="center_vertical"
+ android:paddingLeft="8dip"
android:paddingRight="8dip"
- android:paddingLeft="8dip">
+ android:paddingStart="8dip"
+ android:paddingEnd="8dip">
<TextView
android:id="@+id/contact_tile_name"
@@ -49,7 +52,8 @@
android:singleLine="true"
android:fadingEdge="horizontal"
android:fadingEdgeLength="3dip"
- android:ellipsize="marquee" />
+ android:ellipsize="marquee"
+ android:textAlignment="viewStart" />
<TextView
android:id="@+id/contact_tile_status"
diff --git a/res/layout/custom_contact_list_filter_account.xml b/res/layout/custom_contact_list_filter_account.xml
index 6b25fed9..b1f3f2b3 100644
--- a/res/layout/custom_contact_list_filter_account.xml
+++ b/res/layout/custom_contact_list_filter_account.xml
@@ -20,12 +20,15 @@
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center_vertical"
android:paddingLeft="?android:attr/expandableListPreferredItemPaddingLeft"
- android:paddingRight="?android:attr/scrollbarSize">
+ android:paddingRight="?android:attr/scrollbarSize"
+ android:paddingStart="?android:attr/expandableListPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/scrollbarSize">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="6dip"
+ android:layout_marginEnd="6dip"
android:layout_marginTop="6dip"
android:layout_marginBottom="6dip"
android:layout_weight="1"
@@ -46,6 +49,7 @@
android:layout_height="wrap_content"
android:layout_below="@android:id/text1"
android:layout_alignLeft="@android:id/text1"
+ android:layout_alignStart="@android:id/text1"
android:maxLines="1"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorTertiary"
diff --git a/res/layout/custom_contact_list_filter_group.xml b/res/layout/custom_contact_list_filter_group.xml
index a9de606c..bd8c6049 100644
--- a/res/layout/custom_contact_list_filter_group.xml
+++ b/res/layout/custom_contact_list_filter_group.xml
@@ -21,12 +21,15 @@
android:gravity="center_vertical"
android:paddingLeft="?android:attr/expandableListPreferredItemPaddingLeft"
android:paddingRight="?android:attr/scrollbarSize"
+ android:paddingStart="?android:attr/expandableListPreferredItemPaddingLeft"
+ android:paddingEnd="?android:attr/scrollbarSize"
>
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="6dip"
+ android:layout_marginEnd="6dip"
android:layout_marginTop="6dip"
android:layout_marginBottom="6dip"
android:layout_weight="1"
@@ -49,6 +52,7 @@
android:layout_height="wrap_content"
android:layout_below="@android:id/text1"
android:layout_alignLeft="@android:id/text1"
+ android:layout_alignStart="@android:id/text1"
android:maxLines="2"
android:textAppearance="?android:attr/textAppearanceSmall"
android:duplicateParentState="true"
@@ -61,6 +65,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="4dip"
+ android:layout_marginEnd="4dip"
android:focusable="false"
android:clickable="false"
android:gravity="center_vertical"
diff --git a/res/layout/directory_header.xml b/res/layout/directory_header.xml
index fcd255ef..51b9d057 100644
--- a/res/layout/directory_header.xml
+++ b/res/layout/directory_header.xml
@@ -21,6 +21,8 @@
android:id="@+id/directory_header"
android:paddingLeft="?attr/list_item_padding_left"
android:paddingRight="?attr/list_item_padding_right"
+ android:paddingStart="?attr/list_item_padding_left"
+ android:paddingEnd="?attr/list_item_padding_right"
android:minHeight="@dimen/list_section_divider_min_height"
android:layout_marginTop="@dimen/list_header_extra_top_padding"
android:layout_width="match_parent"
@@ -37,29 +39,34 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dip"
+ android:layout_marginStart="8dip"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/people_app_theme_color"
android:singleLine="true"
android:textStyle="bold"
- android:textAllCaps="true" />
+ android:textAllCaps="true"
+ android:textAlignment="viewStart" />
<TextView
android:id="@+id/display_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dip"
android:layout_marginRight="8dip"
+ android:layout_marginStart="8dip"
+ android:layout_marginEnd="8dip"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/people_app_theme_color"
android:singleLine="true"
android:textStyle="bold"
- android:textAllCaps="true" />
+ android:textAllCaps="true"
+ android:textAlignment="viewStart" />
<TextView
android:id="@+id/count"
android:paddingTop="1dip"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:gravity="right"
+ android:gravity="end"
android:singleLine="true"
android:textSize="12sp"
android:textColor="@color/contact_count_text_color" />
diff --git a/res/layout/list_separator.xml b/res/layout/list_separator.xml
index d94e18c4..4553d48b 100644
--- a/res/layout/list_separator.xml
+++ b/res/layout/list_separator.xml
@@ -20,10 +20,14 @@
android:layout_height="wrap_content"
android:paddingLeft="16dip"
android:paddingRight="16dip"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:focusable="false">
<TextView
android:id="@+id/title"
style="@style/ContactListSeparatorTextViewStyle"
android:paddingLeft="8dip"
- android:paddingRight="8dip" />
+ android:paddingRight="8dip"
+ android:paddingStart="8dip"
+ android:paddingEnd="8dip" />
</FrameLayout>
diff --git a/res/layout/select_dialog_item.xml b/res/layout/select_dialog_item.xml
index d49ae10c..de495f65 100644
--- a/res/layout/select_dialog_item.xml
+++ b/res/layout/select_dialog_item.xml
@@ -29,5 +29,7 @@
android:gravity="center_vertical"
android:paddingLeft="14dip"
android:paddingRight="15dip"
+ android:paddingStart="14dip"
+ android:paddingEnd="15dip"
android:ellipsize="marquee"
/>