diff options
author | Amith Yamasani <yamasani@google.com> | 2012-05-09 09:43:33 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2012-05-09 12:05:17 -0700 |
commit | f0b05de3e06ad319a32fc1784d1b5cef48521f81 (patch) | |
tree | 2c05b748a8f51ef3075b1e20a8fbc0a3a48788d4 /res | |
parent | fbffd0c98203c63af85a3fc6d85660b21c211bfe (diff) | |
download | packages_apps_Settings-f0b05de3e06ad319a32fc1784d1b5cef48521f81.zip packages_apps_Settings-f0b05de3e06ad319a32fc1784d1b5cef48521f81.tar.gz packages_apps_Settings-f0b05de3e06ad319a32fc1784d1b5cef48521f81.tar.bz2 |
Apps tabs align to title on 2-pane settings.
Pad the lists in Apps screen.
Pad the color bar to align with the list.
Bug: 6449489
Change-Id: I28c39e2aae04a1fe36c6b7dc447ae19da575edaf
Diffstat (limited to 'res')
-rw-r--r-- | res/layout-sw720dp/tab_widget.xml (renamed from res/layout-h720dp/tab_widget.xml) | 9 | ||||
-rw-r--r-- | res/layout-w720dp/tab_widget.xml | 29 | ||||
-rwxr-xr-x | res/layout/manage_applications.xml | 6 | ||||
-rw-r--r-- | res/layout/manage_apps_tab_content.xml | 7 | ||||
-rw-r--r-- | res/layout/running_processes_view.xml | 7 |
5 files changed, 21 insertions, 37 deletions
diff --git a/res/layout-h720dp/tab_widget.xml b/res/layout-sw720dp/tab_widget.xml index 5a4e580..4cd4547 100644 --- a/res/layout-h720dp/tab_widget.xml +++ b/res/layout-sw720dp/tab_widget.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2011 The Android Open Source Project +<!-- 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. @@ -17,13 +17,16 @@ <HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" - android:scrollbars="none"> + android:scrollbars="none" + android:fillViewport="true"> <TabWidget android:id="@android:id/tabs" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" + android:paddingLeft="@*android:dimen/preference_fragment_padding_side" + android:paddingRight="@*android:dimen/preference_fragment_padding_side" style="?android:attr/tabWidgetStyle" /> </HorizontalScrollView> diff --git a/res/layout-w720dp/tab_widget.xml b/res/layout-w720dp/tab_widget.xml deleted file mode 100644 index 5a4e580..0000000 --- a/res/layout-w720dp/tab_widget.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2011 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. ---> - -<HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:scrollbars="none"> - - <TabWidget - android:id="@android:id/tabs" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="horizontal" - style="?android:attr/tabWidgetStyle" /> - -</HorizontalScrollView> diff --git a/res/layout/manage_applications.xml b/res/layout/manage_applications.xml index 7df2f54..da56c99 100755 --- a/res/layout/manage_applications.xml +++ b/res/layout/manage_applications.xml @@ -49,7 +49,9 @@ android:paddingTop="30dp" android:paddingLeft="4dp" android:paddingRight="4dp" - android:paddingBottom="1dp"> + android:paddingBottom="1dp" + android:layout_marginLeft="@*android:dimen/preference_fragment_padding_side" + android:layout_marginRight="@*android:dimen/preference_fragment_padding_side"> <TextView android:id="@+id/usedStorageText" android:layout_width="0px" android:layout_height="wrap_content" @@ -91,6 +93,8 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" + android:layout_marginLeft="@*android:dimen/preference_fragment_padding_side" + android:layout_marginRight="@*android:dimen/preference_fragment_padding_side" android:visibility="gone" android:gravity="center"> diff --git a/res/layout/manage_apps_tab_content.xml b/res/layout/manage_apps_tab_content.xml index 3898227..b36501b 100644 --- a/res/layout/manage_apps_tab_content.xml +++ b/res/layout/manage_apps_tab_content.xml @@ -27,9 +27,10 @@ <LinearLayout android:orientation="vertical" android:layout_width="match_parent" - android:layout_height="match_parent"> - - <include layout="@layout/tab_widget" /> + android:layout_height="match_parent" + > + + <include layout="@layout/tab_widget"/> <FrameLayout android:id="@android:id/tabcontent" diff --git a/res/layout/running_processes_view.xml b/res/layout/running_processes_view.xml index 3558e92..e23de16 100644 --- a/res/layout/running_processes_view.xml +++ b/res/layout/running_processes_view.xml @@ -26,7 +26,10 @@ <ListView android:id="@android:id/list" android:layout_width="match_parent" android:layout_height="match_parent" + android:paddingLeft="@*android:dimen/preference_fragment_padding_side" + android:paddingRight="@*android:dimen/preference_fragment_padding_side" android:drawSelectorOnTop="false" + android:scrollbarStyle="outsideOverlay" android:fastScrollEnabled="true" /> <TextView android:id="@android:id/empty" android:layout_width="match_parent" @@ -46,7 +49,9 @@ android:paddingTop="30dp" android:paddingLeft="4dp" android:paddingRight="4dp" - android:paddingBottom="1dp"> + android:paddingBottom="1dp" + android:layout_marginLeft="@*android:dimen/preference_fragment_padding_side" + android:layout_marginRight="@*android:dimen/preference_fragment_padding_side"> <TextView android:id="@+id/foregroundText" android:layout_width="0px" android:layout_height="wrap_content" |