List of usage examples for android.widget TextView getX
@ViewDebug.ExportedProperty(category = "drawing") public float getX()
From source file:de.tobiasbielefeld.solitaire.games.Game.java
/** * mirrors the textViews, if there are any. Used for left handed mode *///from w w w . j a va 2 s . c o m public void mirrorTextViews(RelativeLayout layoutGame) { for (TextView textView : textViews) { textView.setX(layoutGame.getWidth() - textView.getX() - Card.width); } }