Android Studio Top 5 App HELP This needs to be done in Andro

Android Studio Top 5 App HELP (This needs to be done in Android Studio only, not Eclipse, etc.)

Android Studio Top 5 List

Please implement a simple MyTop5List Android application of 5 random animals with a small description about them. The app\'s UI should look like the following screen-shots below. You are free to modify/enhance the GUI. You are free to choose content of your top 5 list.

Top 5 List App’s Behavior
When your application first launches it shouldn’t display previous button. When user clicks to the NEXTbutton Number field should decrease, display different image and description or info also PREVIOUSbutton should appear. When user reaches to the end of the top list the NEXT button should disappear.

Please Copy and paste your Java code, activity.xml and emulator screen shots if possible.

Android Emulator-Copy Nexus 5X API 25 x86:5554 Android Emulator-Copy Neus 5X API 25 x86:5554 Android Emulator-Copy Nexus5X API 25 186:5554 Emulator Copy Nexus, 5X.APL 25 86-5554 11:58 12:01 1 1 :59 MyTop5List MyTop5List MyTop5List Top 5 Number 5 Top 5 Number 3 Top 5 Number 1 Description The African grey parrot is a medium-sized, predominantly grey, black-billed parrot which weighs 400 g, with a length of 33 cm and an average wingspan of 46-52 cm. The adults weigh between 418 and 526 grams Description: Hamsters are rodents belonging to the subfamily Cricetinae. The subfamily contains about 25 species. They have become established as popular small house pets, and partly because they are easy to breed in captivity Description: The Van cat is a distinctive landrace of domestic cat, found in the Lake Van region of eastern Turkey. It has blue or amber eyes or is odd-eyed. The variety has been referred to as the swimming cat, and observed to swim in Lake Van NEXT PREVIOUS NEXT PREVIOUS

Solution


firstimage.xml

<?xml version=\"1.0\" encoding=\"utf-8\"?>
<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"
android:layout_width=\"fill_parent\"
android:layout_height=\"fill_parent\"
android:orientation=\"vertical\" >


<TextView
android:id=\"@+id/tv1\"
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Top 5\" />
<TextView
android:id=\"@+id/tv1\"
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Number 5\" />
<ImageView
android:id=\"@+id/imageView1\"
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:src=\"@drawable/rose\" />
<TextView
android:id=\"@+id/tv1\"
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Description:----------------
---------------------------------
-------------------------------\" />

<Button
android:id=\"@+id/btnChangeImage\"
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Next\"
android:onClick=\"next1\"/>

</LinearLayout>


secondimage.xml


<?xml version=\"1.0\" encoding=\"utf-8\"?>
<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"
android:layout_width=\"fill_parent\"
android:layout_height=\"fill_parent\"
android:orientation=\"vertical\" >


<TextView
android:id=\"@+id/tv2\"
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Top 5\" />
<TextView
android:id=\"@+id/tv2\"
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Number 4\" />
<ImageView

android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:src=\"@drawable/lotus\" />
<TextView
android:id=\"@+id/tv1\"
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Description:----------------
---------------------------------
-------------------------------\" />
<LinearLayout android:layout_width=\"fill_parent\"
android:layout_height=\"fill_parent\"
android:orientation=\"horizontal\"
android:gravity=\"center >
<Button
  
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Previous\"
android:onClick=\"previous1\"/>

<Button

android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Next\"
android:onClick=\"next2\"/>

</LinearLayout>


thirdimage.xml


<?xml version=\"1.0\" encoding=\"utf-8\"?>
<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"
android:layout_width=\"fill_parent\"
android:layout_height=\"fill_parent\"
android:orientation=\"vertical\" >


<TextView

android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Top 5\" />
<TextView

android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Number 3\" />
<ImageView
  
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:src=\"@drawable/Lilly\" />
<TextView
android:id=\"@+id/tv1\"
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Description:----------------
---------------------------------
-------------------------------\" />
<LinearLayout android:layout_width=\"fill_parent\"
android:layout_height=\"fill_parent\"
android:orientation=\"horizontal\"
android:gravity=\"center >
<Button
  
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Previous\"
android:onClick=\"previous2\"/>

<Button
  
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Next\"
android:onClick=\"next3\"/>

</LinearLayout>

fourthimage.xml


<?xml version=\"1.0\" encoding=\"utf-8\"?>
<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"
android:layout_width=\"fill_parent\"
android:layout_height=\"fill_parent\"
android:orientation=\"vertical\" >


<TextView

android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Top 5\" />
<TextView

android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Number 2\" />
<ImageView
  
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:src=\"@drawable/lotus\" />
<TextView
android:id=\"@+id/tv1\"
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Description:----------------
---------------------------------
-------------------------------\" />
<LinearLayout android:layout_width=\"fill_parent\"
android:layout_height=\"fill_parent\"
android:orientation=\"horizontal\"
android:gravity=\"center >
<Button
  
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Previous\"
android:onClick=\"previous3\"/>
<Button
  
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Next\"
android:onClick=\"next4\"/>
</LinearLayout>

</LinearLayout>

fiveimage.xml


<?xml version=\"1.0\" encoding=\"utf-8\"?>
<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"
android:layout_width=\"fill_parent\"
android:layout_height=\"fill_parent\"
android:orientation=\"vertical\" >


<TextView
  
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Top 5\" />
<TextView

android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Number 1\" />
<ImageView
android:id=\"@+id/imageView5\"
android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:src=\"@drawable/sunflower\" />
<TextView

android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Description:----------------
---------------------------------
-------------------------------\" />

<Button

android:layout_width=\"wrap_content\"
android:layout_height=\"wrap_content\"
android:text=\"Previous\"
android:onClick=\"previos4\"/>

</LinearLayout>


MyTop5List.java

package com.jvs.android;

import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.ImageView;
import android.view.View;
import android.view.View.OnClickListener;

public class MyTop5List extends Activity {


   @Override
   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.firstimage);


   }

   public void next1() {

       Intent i=new Intent(this,MTop5List2.class);
startActivity(i);

   }

}

MyTop5List2.java

package com.jvs.android;

import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.ImageView;
import android.view.View;
import android.view.View.OnClickListener;

public class MyTop5List2 extends Activity {


   @Override
   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.secondimage);


   }

   public void next2(View v) {

       Intent i=new Intent(this,MyTopList3.class);
startActivity(i);

   }
public void previous1(View v) {

       Intent i=new Intent(this,MyTopList.class);
startActivity(i);

   }
}

MyTop5List3.java

package com.jvs.android;

import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.ImageView;
import android.view.View;
import android.view.View.OnClickListener;

public class MyTop5List2 extends Activity {


   @Override
   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.thirdimage);


   }

   public void next3(View v) {

       Intent i=new Intent(this,MyTopList4.class);
startActivity(i);

   }
public void previous2(View v) {

       Intent i=new Intent(this,MyTopList2.class);
startActivity(i);

   }
}


MyTop5List4.java

package com.jvs.android;

import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.ImageView;
import android.view.View;
import android.view.View.OnClickListener;

public class MyTop5List2 extends Activity {


   @Override
   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.fourthimage);


   }

   public void next4(View v) {

       Intent i=new Intent(this,MyTopList5.class);
startActivity(i);

   }
public void previous3(View v) {

       Intent i=new Intent(this,MyTopList3.class);
startActivity(i);

   }
}


MyTop5List5.java

package com.jvs.android;

import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.ImageView;
import android.view.View;
import android.view.View.OnClickListener;

public class MyTop5List2 extends Activity {


   @Override
   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.fiveimage);


   }

public void previous4(View v) {

       Intent i=new Intent(this,MyTopList4.class);
startActivity(i);

   }
}

Android Studio Top 5 App HELP (This needs to be done in Android Studio only, not Eclipse, etc.) Android Studio Top 5 List Please implement a simple MyTop5List A
Android Studio Top 5 App HELP (This needs to be done in Android Studio only, not Eclipse, etc.) Android Studio Top 5 List Please implement a simple MyTop5List A
Android Studio Top 5 App HELP (This needs to be done in Android Studio only, not Eclipse, etc.) Android Studio Top 5 List Please implement a simple MyTop5List A
Android Studio Top 5 App HELP (This needs to be done in Android Studio only, not Eclipse, etc.) Android Studio Top 5 List Please implement a simple MyTop5List A
Android Studio Top 5 App HELP (This needs to be done in Android Studio only, not Eclipse, etc.) Android Studio Top 5 List Please implement a simple MyTop5List A
Android Studio Top 5 App HELP (This needs to be done in Android Studio only, not Eclipse, etc.) Android Studio Top 5 List Please implement a simple MyTop5List A
Android Studio Top 5 App HELP (This needs to be done in Android Studio only, not Eclipse, etc.) Android Studio Top 5 List Please implement a simple MyTop5List A

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site