Searched refs:snackbar (Results 1 – 19 of 19) sorted by relevance
57 inflate(context, R.layout.snackbar, this); in Snackbar()63 Snackbar snackbar = new Snackbar(launcher, null); in show() local65 snackbar.setOrientation(HORIZONTAL); in show()66 snackbar.setGravity(Gravity.CENTER_VERTICAL); in show()68 snackbar.setElevation(res.getDimension(R.dimen.snackbar_elevation)); in show()70 snackbar.setPadding(padding, padding, padding, padding); in show()71 snackbar.setBackgroundResource(R.drawable.round_rect_primary); in show()73 snackbar.mIsOpen = true; in show()75 dragLayer.addView(snackbar); in show()77 DragLayer.LayoutParams params = (DragLayer.LayoutParams) snackbar.getLayoutParams(); in show()[all …]
19 import com.google.android.material.snackbar.Snackbar;32 public static void show(Snackbar snackbar) { in show() argument33 sSnackbar = new WeakReference<>(snackbar); in show()34 snackbar.show(); in show()38 final Snackbar snackbar = sSnackbar == null ? null : sSnackbar.get(); in dismiss() local39 if (snackbar != null) { in dismiss()40 snackbar.dismiss(); in dismiss()
22 import com.google.android.material.snackbar.Snackbar;
29 import com.google.android.material.snackbar.Snackbar;87 Snackbar snackbar = makeSnackbar(activity, text, Snackbar.LENGTH_SHORT); in showCustomTextWithImage() local88 View snackbarLayout = snackbar.getView(); in showCustomTextWithImage()94 snackbar.show(); in showCustomTextWithImage()
38 import com.google.android.material.snackbar.Snackbar;
22 import com.google.android.material.snackbar.Snackbar;202 final Snackbar snackbar = Snackbar.make(mSnackbarAnchor, in showUndoBar() local211 SnackbarManager.show(snackbar); in showUndoBar()
141 public void onDismissed(Snackbar snackbar, int i) { in promptUserToViewSentMessage()142 super.onDismissed(snackbar, i); in promptUserToViewSentMessage()143 clear(snackbar.getContext()); in promptUserToViewSentMessage()
28 import com.google.android.material.snackbar.Snackbar;632 final Snackbar snackbar = createSnackbar(mSilentSetting.getLabelResId()); in run() local637 snackbar.setAction(actionResId, mSilentSetting.getActionListener()); in run()640 SnackbarManager.show(snackbar); in run()
21 import com.google.android.material.snackbar.Snackbar;
28 import com.google.android.material.snackbar.Snackbar;
26 import com.google.android.material.snackbar.Snackbar;
40 import com.google.android.material.snackbar.Snackbar;919 final Snackbar snackbar = Snackbar.make(mLayoutRoot, message, length) in onGroupDeleted() local932 snackbar.show(); in onGroupDeleted()
54 import com.google.android.material.snackbar.Snackbar;
49 import com.google.android.material.snackbar.Snackbar;
1973 AbstractFloatingView snackbar = AbstractFloatingView.getOpenView(this, TYPE_SNACKBAR); in preAddApps() local1974 if (snackbar != null) { in preAddApps()1975 snackbar.post(() -> snackbar.close(true)); in preAddApps()
1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...