-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hw7 #7
base: master
Are you sure you want to change the base?
Conversation
public Dialog onCreateDialog(Bundle savedInstanceState) { | ||
AlertDialog alertDialog = new AlertDialog.Builder(requireContext()) | ||
.setMessage(R.string.confirmDialogMessage) | ||
.setPositiveButton("Да", new DialogInterface.OnClickListener() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
string
} | ||
} | ||
}) | ||
.setNegativeButton("Cancel", new DialogInterface.OnClickListener() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
public boolean onPrepareActionMode(ActionMode mode, Menu menu) { | ||
MenuInflater inflater = new MenuInflater(requireContext()); | ||
inflater.inflate(R.menu.menu_action_mode, menu); | ||
//tabs.setBackgroundColor(ContextCompat.getColor(requireContext(), R.color.actionModeColor)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls cleanup code
android:paddingEnd="@dimen/listItemPaddingHorizontal" | ||
android:paddingStart="@dimen/listItemPaddingHorizontal" | ||
android:paddingTop="@dimen/listItemPaddingVertical"> | ||
android:paddingBottom="28dp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why you remove it?
app:showAsAction="always" | ||
android:id="@+id/menu_item_delete" | ||
android:icon="@drawable/ic_delete" | ||
android:title="Удалить" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
string
No description provided.