diff options
author | Adam Powell <adamp@google.com> | 2012-10-10 11:31:34 -0700 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2012-10-10 12:52:10 -0700 |
commit | c5e436c18f3cb9caf731a9fb01bc9a3fa9cf01cc (patch) | |
tree | bb6019dfa868d2ddd9f32630837a5bdb36d7bcfe | |
parent | a92f380f866be566d2f47ffa14ade81e6551ca56 (diff) | |
download | packages_apps_Settings-c5e436c18f3cb9caf731a9fb01bc9a3fa9cf01cc.zip packages_apps_Settings-c5e436c18f3cb9caf731a9fb01bc9a3fa9cf01cc.tar.gz packages_apps_Settings-c5e436c18f3cb9caf731a9fb01bc9a3fa9cf01cc.tar.bz2 |
Fix padding for PagerTabStrip on large screen devices
Bug 7323241
Change-Id: I83cd4d4e1eea150817c519328bb2572b6043b3b7
-rw-r--r-- | res/layout/manage_applications_content.xml | 4 | ||||
-rw-r--r-- | res/values-sw720dp/dimens.xml | 19 | ||||
-rwxr-xr-x | res/values/dimens.xml | 3 |
3 files changed, 25 insertions, 1 deletions
diff --git a/res/layout/manage_applications_content.xml b/res/layout/manage_applications_content.xml index 96ddeb3..32d6378 100644 --- a/res/layout/manage_applications_content.xml +++ b/res/layout/manage_applications_content.xml @@ -35,7 +35,9 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="top" - android:textAppearance="@style/TextAppearance.PagerTabs"> + android:textAppearance="@style/TextAppearance.PagerTabs" + android:paddingLeft="@dimen/pager_tabs_padding" + android:paddingRight="@dimen/pager_tabs_padding"> </android.support.v4.view.PagerTabStrip> </android.support.v4.view.ViewPager> diff --git a/res/values-sw720dp/dimens.xml b/res/values-sw720dp/dimens.xml new file mode 100644 index 0000000..5a58609 --- /dev/null +++ b/res/values-sw720dp/dimens.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 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. +--> + +<resources> + <dimen name="pager_tabs_padding">@*android:dimen/preference_fragment_padding_side</dimen> +</resources> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 9335788..34b2d86 100755 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -51,4 +51,7 @@ <dimen name="header_icon_width">28dp</dimen> <dimen name="appwidget_min_width">260dip</dimen> <dimen name="appwidget_min_height">40dip</dimen> + + <dimen name="pager_tabs_padding">0dp</dimen> + </resources> |