/**
 * 
 * Rating Activity
 * 
 */

package com.MOS.fastfood;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.View;

public class RateActivity extends ActionBarActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_rate);
	}

	
}

@@ -187,16 +187,81 @@
 ew.View;
+%0Aimport android.widget.RatingBar;%0Aimport android.widget.TextView;
 %0A%0Apublic
@@ -309,16 +309,19 @@
 vity %7B%0A%0A
+%09%0A%0A
 %09@Overri
@@ -461,12 +461,630 @@
 e);%0A
+%09%09TextView name_TV = (TextView) findViewById(R.id.nameTV);%0A%09%09TextView address_TV = (TextView) findViewById(R.id.addressTV);%0A%09%09RatingBar ratingBar = (RatingBar) findViewById(R.id.ratingBar1);%0A%09%09System.out.println(%22im here 222%22);%0A%09%09try%7B%0A%09%09%09name_TV.setText(RestaurantData.name.get(RestaurantData.restaurantNumber));%0A%09%09%09address_TV.setText(RestaurantData.address.get(RestaurantData.restaurantNumber));%0A%09%09%09ratingBar.setRating((float) Double.parseDouble(RestaurantData.rate.get(RestaurantData.restaurantNumber)));%0A%09%09%7D%0A%09%09catch(Exception e)%0A%09%09%7B%0A%09%09%09System.out.println(%22ResturantNumber = %22 + RestaurantData.restaurantNumber);%0A%09%09%7D%0A
 %09%7D%0A%0A
-%09
 %0A%7D%0A

Update RateActivity.java