Move "Linked contacts" and "Saving to" text in editor.
Move the texts to make them aligned with the other text
in the editor.
BUG 25166013
Change-Id: I79da4a802d66a8cd6f5c63e54d4f7d1fa10f1962
diff --git a/res/layout/compact_account_info.xml b/res/layout/compact_account_info.xml
index b7f396e..79c581f 100644
--- a/res/layout/compact_account_info.xml
+++ b/res/layout/compact_account_info.xml
@@ -40,6 +40,7 @@
android:layout_weight="1"
android:paddingBottom="24dp"
android:paddingTop="24dp"
+ android:layout_marginStart="@dimen/compact_editor_account_left_margin"
android:orientation="vertical"
>
diff --git a/res/layout/editor_all_rawcontacts_accounts_selector.xml b/res/layout/editor_all_rawcontacts_accounts_selector.xml
index 6c28c85..3b17610 100644
--- a/res/layout/editor_all_rawcontacts_accounts_selector.xml
+++ b/res/layout/editor_all_rawcontacts_accounts_selector.xml
@@ -38,6 +38,7 @@
android:id="@+id/rawcontacts_accounts_summary"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:layout_marginStart="@dimen/compact_editor_account_left_margin"
android:textSize="16sp"
android:singleLine="true"
android:layout_weight="1"
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 6339794..ab34001 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -16,6 +16,9 @@
<resources>
<dimen name="account_selector_popup_width">400dip</dimen>
+ <!-- Account info left margin in Compact editor. -->
+ <dimen name="compact_editor_account_left_margin">8dp</dimen>
+
<!-- Initial height of transparent space above QuickContacts -->
<dimen name="quickcontact_starting_empty_height">150dp</dimen>
<!-- Initial size of QuickContact's title size -->