diff --git a/res/drawable-hdpi/dotted_line_480px.png b/res/drawable-hdpi/dotted_line_480px.png deleted file mode 100644 index 4c25bae3853..00000000000 Binary files a/res/drawable-hdpi/dotted_line_480px.png and /dev/null differ diff --git a/res/drawable-mdpi/dotted_line_480px.png b/res/drawable-mdpi/dotted_line_480px.png deleted file mode 100755 index a52ca4392ff..00000000000 Binary files a/res/drawable-mdpi/dotted_line_480px.png and /dev/null differ diff --git a/res/drawable-xhdpi/dotted_line_480px.png b/res/drawable-xhdpi/dotted_line_480px.png deleted file mode 100644 index 7a9d0241d1d..00000000000 Binary files a/res/drawable-xhdpi/dotted_line_480px.png and /dev/null differ diff --git a/res/layout/preference.xml b/res/layout/preference.xml deleted file mode 100644 index 195671b5655..00000000000 --- a/res/layout/preference.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/res/layout/preference_widget_two_summary.xml b/res/layout/preference_widget_two_summary.xml new file mode 100644 index 00000000000..3f951dae62d --- /dev/null +++ b/res/layout/preference_widget_two_summary.xml @@ -0,0 +1,38 @@ + + + + + + + + diff --git a/res/layout/running_processes_header.xml b/res/layout/running_processes_header.xml index b2db025fe9d..384c0b692f4 100644 --- a/res/layout/running_processes_header.xml +++ b/res/layout/running_processes_header.xml @@ -55,38 +55,29 @@ android:scaleType="centerInside" android:src="@color/running_processes_system_ram" android:contentDescription="@null" /> - + android:layout_gravity="center"> - - + - - - + - - - + - - - - - - - - - - - - - - - - - - - - - + android:layout_height="match_parent"> + + + \ No newline at end of file diff --git a/res/layout/running_processes_view.xml b/res/layout/running_processes_view.xml index 19293abf000..a1cc6abf1ad 100644 --- a/res/layout/running_processes_view.xml +++ b/res/layout/running_processes_view.xml @@ -15,26 +15,31 @@ * limitations under the License. --> - + + - - + android:layout_height="match_parent" + android:paddingStart="0dp" + android:paddingEnd="0dp" + android:drawSelectorOnTop="false" + android:scrollbarStyle="outsideOverlay" + android:fastScrollEnabled="true"/> + diff --git a/res/layout/separator_label.xml b/res/layout/separator_label.xml deleted file mode 100644 index b0e69fa05a6..00000000000 --- a/res/layout/separator_label.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - diff --git a/res/layout/tall_preference_category.xml b/res/layout/tall_preference_category.xml deleted file mode 100644 index 7eefdab9ffe..00000000000 --- a/res/layout/tall_preference_category.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - diff --git a/res/layout/widget_text_views.xml b/res/layout/widget_text_views.xml deleted file mode 100644 index 9f0506e3e8c..00000000000 --- a/res/layout/widget_text_views.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - diff --git a/src/com/android/settings/applications/RunningProcessesView.java b/src/com/android/settings/applications/RunningProcessesView.java index 5491ad14c6c..5198a4ac037 100644 --- a/src/com/android/settings/applications/RunningProcessesView.java +++ b/src/com/android/settings/applications/RunningProcessesView.java @@ -164,11 +164,11 @@ public class RunningProcessesView extends FrameLayout public ViewHolder(View v) { rootView = v; - icon = (ImageView)v.findViewById(R.id.icon); - name = (TextView)v.findViewById(R.id.name); - description = (TextView)v.findViewById(R.id.description); - size = (TextView)v.findViewById(R.id.size); - uptime = (TextView)v.findViewById(R.id.uptime); + icon = v.findViewById(android.R.id.icon); + name = v.findViewById(android.R.id.title); + description = v.findViewById(android.R.id.summary); + size = v.findViewById(R.id.widget_summary1); + uptime = v.findViewById(R.id.widget_summary2); v.setTag(this); } diff --git a/src/com/android/settings/applications/RunningServiceDetails.java b/src/com/android/settings/applications/RunningServiceDetails.java index 6165fb43b84..e95b41ae0e7 100644 --- a/src/com/android/settings/applications/RunningServiceDetails.java +++ b/src/com/android/settings/applications/RunningServiceDetails.java @@ -226,7 +226,7 @@ public class RunningServiceDetails extends InstrumentedFragment void addServicesHeader() { if (mNumServices == 0) { - mServicesHeader = (TextView)mInflater.inflate(R.layout.separator_label, + mServicesHeader = (TextView) mInflater.inflate(R.layout.preference_category, mAllDetails, false); mServicesHeader.setText(R.string.runningservicedetails_services_title); mAllDetails.addView(mServicesHeader); @@ -236,7 +236,7 @@ public class RunningServiceDetails extends InstrumentedFragment void addProcessesHeader() { if (mNumProcesses == 0) { - mProcessesHeader = (TextView)mInflater.inflate(R.layout.separator_label, + mProcessesHeader = (TextView) mInflater.inflate(R.layout.preference_category, mAllDetails, false); mProcessesHeader.setText(R.string.runningservicedetails_processes_title); mAllDetails.addView(mProcessesHeader);