Merge "Modify Running Services layout"
This commit is contained in:
committed by
Android (Google) Code Review
commit
cb62e99093
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user