align code for debugging
This commit is contained in:
parent
07ae5372f0
commit
f3487b1cbe
1 changed files with 6 additions and 8 deletions
|
@ -32,12 +32,11 @@ public class DashDownloadMapsFragment extends DashBaseFragment {
|
|||
final View view = getActivity().getLayoutInflater().inflate(R.layout.dash_download_maps_fragment, container, false);
|
||||
Typeface typeface = FontCache.getRobotoMedium(getActivity());
|
||||
final TextView message =((TextView) view.findViewById(R.id.message));
|
||||
final Button local = ((Button) view.findViewById(R.id.local_downloads));
|
||||
message.setTypeface(typeface);
|
||||
|
||||
Button local = ((Button) view.findViewById(R.id.local_downloads));
|
||||
local.setTypeface(typeface);
|
||||
local.setOnClickListener(new View.OnClickListener() {
|
||||
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
final Intent intent = new Intent(view.getContext(), getMyApplication().getAppCustomization().getDownloadIndexActivity());
|
||||
|
@ -50,18 +49,17 @@ public class DashDownloadMapsFragment extends DashBaseFragment {
|
|||
Button cancelBtn = ((Button) view.findViewById(R.id.download_new_map));
|
||||
cancelBtn.setTypeface(typeface);
|
||||
cancelBtn.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
final Intent intent = new Intent(view.getContext(), getMyApplication().getAppCustomization().getDownloadIndexActivity());
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
final Intent intent = new Intent(view.getContext(), getMyApplication().getAppCustomization().getDownloadIndexActivity());
|
||||
intent.putExtra(DownloadActivity.TAB_TO_OPEN, DownloadActivity.DOWNLOAD_TAB);
|
||||
intent.putExtra(DownloadActivity.SINGLE_TAB, true);
|
||||
getActivity().startActivity(intent);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
return view;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
|
|
Loading…
Reference in a new issue