mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-04 05:40:17 +00:00
add label for bin icon and rename drawable
This commit is contained in:
parent
51a7508374
commit
fe041293b6
6 changed files with 7 additions and 5 deletions
|
@ -97,7 +97,7 @@ public class UserDictionaryAddWordFragment extends SubScreenFragment {
|
|||
saveWordButton.setVisibility(TextUtils.isEmpty(mWordEditText.getText().toString()) ? View.INVISIBLE : View.VISIBLE);
|
||||
|
||||
final Button deleteWordButton = mRootView.findViewById(R.id.user_dictionary_delete_button);
|
||||
final Drawable deleteWordIcon = toScaledBitmapDrawable(R.drawable.ic_delete, 0.75f);
|
||||
final Drawable deleteWordIcon = toScaledBitmapDrawable(R.drawable.ic_bin, 0.75f);
|
||||
deleteWordButton.setCompoundDrawablesWithIntrinsicBounds(null, null, deleteWordIcon, null);
|
||||
deleteWordButton.setOnClickListener(v -> {
|
||||
mContents.delete(requireContext());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue