android - Moving multiple buttons? -


Can someone help me? I have this problem. I want to move the button. Do I have any kind of problem?

  the expansion of the main activity activity of the public class (button [] B = null; intent [] intention = null; translation animation [] trans; typefaces font; see image view, laziniasti; animation drawback, Organizer; Int i = 0, f = 2000; @ Override Protected Zero; Create (Bundle Saved Instantstate) {Super.Nocrat (Saved Instantstate); setContentView (R.layout.activity_main); Class [] Naslovic = Class, second, category, third. C, Fourth, Class, Fifth class}; Font = Typeface.createFromAsset (getAssets (), "FatmakerTTF"); B = New Button [] {(Find Button) VViBiID (RID.button1), (Button) Find VVBiID (RID.button2), find (find) VVBiID (R.B.ton3), find (find) VBiID (R. Id.button4), (button) Find VibiBID (R.B. button 5), }; Intention = new intention [b.line]; for (i = 0; i <5; i ++) {intent [i] = new intent (main activity, this, naslovi [i]); b [I] .setTag (i); b [i] .setOnClickListener (new button. OnClickListener () {click on Public Zero (see V) {startActivity (intent [vn (integer) v.getTag ()]); Toast.makeText (getApplicationContext (), "Loading ...", Toast .LENGTH_SHORT). Show ();}}); B [i] .setTypeface (font); Trans [i] = new translation animation (0, 0, F, 0); Trans [i] .setDuration (f); B [i] .startAnimation (trans [i]); B [i] .setVisibility (View.VISIBLE); F = f + 250; }}}}    

Here you have some fixes ... Public Sector increases main activity activity {button [B] = tap; Intent [] intention = null; // translate [trans]; Translation of Array Translation? Translation Animation Trans; Typeface font; View Image View, Leguniste; Animation Drawable Playwin, Legionian; Int i = 0, f = 2000; @ Override Protected Zero (Bundle Saved Instantstate) {Super. NET (Saved Instantstate); SetContentView (R.layout.activity_main); Trans = new translation animation (0, 0, F, 0); Class [] Naslovi = = First. Square, second. Category, Third. Class, fourth Class, fifth category}; Font = Typeface.createFromAsset (getAssets (), "Fatmaker .tf"); Find the VVBIID (RID.button2), (button) Find VVBIID (R.B.ton3), (button) Find VVIIDID (RID.button1), (button) Find VBiID (R. Id.button4), (button) Find VibibIID (R.B. button 5),}; Intention = new intention [B. Line]; (I = 0; i

Buttons appear at the top of the screen from below.

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -