import-log: some cosmetics
This commit is contained in:
@@ -432,8 +432,9 @@ public class ImportKeysActivity extends ActionBarActivity implements ActionBar.O
|
||||
toast.setText(str);
|
||||
toast.setDuration(duration);
|
||||
toast.setIndeterminate(duration == 0);
|
||||
toast.setButtonText("View log");
|
||||
toast.setSwipeToDismiss(true);
|
||||
toast.setButtonIcon(R.drawable.ic_action_view_as_list,
|
||||
getResources().getString(R.string.view_log));
|
||||
toast.setOnClickWrapper(new OnClickWrapper("supercardtoast",
|
||||
new SuperToast.OnClickListener() {
|
||||
@Override
|
||||
|
||||
@@ -54,7 +54,7 @@ public class LogDisplayFragment extends ListFragment {
|
||||
super(context, R.layout.log_display_item, log);
|
||||
mInflater = LayoutInflater.from(getContext());
|
||||
dipFactor = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,
|
||||
(float) 6, getResources().getDisplayMetrics());
|
||||
(float) 10, getResources().getDisplayMetrics());
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user