diff options
author | Brian Attwell <brianattwell@google.com> | 2014-06-26 05:37:04 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-06-25 17:34:05 +0000 |
commit | fe23529616b72e919f376e6f9f0d7ecb5543b54c (patch) | |
tree | c4ff52dd7e921096138227272178af44ea3f8d62 /res | |
parent | 59db90ba1afda7776e04636a697561013e81062e (diff) | |
parent | 3c4e8501b8fe4a6f508a256fd133004e1f1936a4 (diff) | |
download | packages_apps_ContactsCommon-fe23529616b72e919f376e6f9f0d7ecb5543b54c.tar.gz packages_apps_ContactsCommon-fe23529616b72e919f376e6f9f0d7ecb5543b54c.tar.bz2 packages_apps_ContactsCommon-fe23529616b72e919f376e6f9f0d7ecb5543b54c.zip |
Merge "Frequently Contacted title style in Favorites tab"
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/list_separator.xml | 22 | ||||
-rw-r--r-- | res/values/colors.xml | 3 | ||||
-rw-r--r-- | res/values/dimens.xml | 6 |
3 files changed, 17 insertions, 14 deletions
diff --git a/res/layout/list_separator.xml b/res/layout/list_separator.xml index 4553d48b..97e154bb 100644 --- a/res/layout/list_separator.xml +++ b/res/layout/list_separator.xml @@ -13,21 +13,15 @@ See the License for the specific language governing permissions and limitations under the License. --> - -<FrameLayout +<TextView xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" + android:id="@+id/title" + android:textColor="@color/frequently_contacted_title_color" android:paddingLeft="16dip" - android:paddingRight="16dip" android:paddingStart="16dip" + android:paddingRight="16dip" android:paddingEnd="16dip" - android:focusable="false"> - <TextView - android:id="@+id/title" - style="@style/ContactListSeparatorTextViewStyle" - android:paddingLeft="8dip" - android:paddingRight="8dip" - android:paddingStart="8dip" - android:paddingEnd="8dip" /> -</FrameLayout> + android:paddingBottom="15dip" + android:paddingTop="16dip" + android:textStyle="bold" + android:textSize="20sp"/> diff --git a/res/values/colors.xml b/res/values/colors.xml index 5e3f4b88..80c444bc 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -83,6 +83,9 @@ <!-- Darker version of the actionbar color. Used for the status bar and navigation bar colors. --> <color name="actionbar_background_color_dark">#008aa1</color> + <!-- Color of the title to the Frequently Contacted section --> + <color name="frequently_contacted_title_color">#00acc1</color> + <!-- Color of action bar text. Ensure this stays in sync with packages/Telephony phone_settings_actionbar_text_color--> <color name="actionbar_text_color">#ffffff</color> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index cf2f944d..942b2c89 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -125,4 +125,10 @@ <dimen name="search_box_text_left_margin">27dp</dimen> <!-- Search box text size --> <dimen name="search_text_size">20sp</dimen> + + <!-- Top margin for the Frequently Contacted section title --> + <dimen name="frequently_contacted_title_top_margin_when_first_row">16dp</dimen> + <!-- Top margin for the Frequently Contacted section title, when the title is the first + item in the list --> + <dimen name="frequently_contacted_title_top_margin">57dp</dimen> </resources> |