We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How do I get this robot icon not to move without the zoom of the TileView?
RelativeLayout relativeLayout = new RelativeLayout( this ); ImageView logo = new ImageView( this ); logo.setImageResource( R.drawable.logo ); RelativeLayout.LayoutParams logoLayoutParams = new RelativeLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT ); logoLayoutParams.addRule( RelativeLayout.CENTER_IN_PARENT ); relativeLayout.addView( logo, logoLayoutParams ); tileView.addView( relativeLayout );
Can you help me ?
The text was updated successfully, but these errors were encountered:
so you want it to scale, but not move? otherwise there are examples in the README for adding both scaling and non-scaling Views...
Sorry, something went wrong.
this gentle person has provided an example of scaling markers just now: #409 (comment)
No branches or pull requests
How do I get this robot icon not to move without the zoom of the TileView?
RelativeLayout relativeLayout = new RelativeLayout( this );
ImageView logo = new ImageView( this );
logo.setImageResource( R.drawable.logo );
RelativeLayout.LayoutParams logoLayoutParams = new RelativeLayout.LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT );
logoLayoutParams.addRule( RelativeLayout.CENTER_IN_PARENT );
relativeLayout.addView( logo, logoLayoutParams );
tileView.addView( relativeLayout );
Can you help me ?
The text was updated successfully, but these errors were encountered: