List of usage examples for android.widget ImageView setTop
public final void setTop(int top)
From source file:com.cachirulop.moneybox.fragment.MoneyboxFragment.java
/** * Drop again a movement in the moneybox making an animation. * /*w w w. j a v a 2 s . com*/ * @param m * Movement to be dropped. */ public void dropAgainMovement(Movement m) { ImageView v; CurrencyValueDef c; // TODO: This doesn't work!!!!!! c = CurrencyManager.getCurrencyDef(Math.abs(m.getAmount())); v = new ImageView(getActivity()); v.setLeft(findLayout().getWidth() / 2); v.setTop(0); v.setImageDrawable(c.getDrawable()); v.setTag(c); dropMoney(v, m); }