Permalink
Browse files

Ajout du titre dynamique de certaines classes

  • Loading branch information...
Simon Thibert
Simon Thibert committed May 11, 2012
1 parent 7513aa3 commit 23e75cc8fe59ed5983c1230cf5d398b3ebadc442
@@ -19,6 +19,7 @@
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TextView;
import com.mobilecityguide.MobileCityGuideActivity;
import com.mobilecityguide.R;
@@ -81,6 +82,9 @@ public void onCreate(Bundle savedInstanceState) {
}
setContentView(R.layout.add_poi);
((TextView) findViewById(R.id.poi_title)).setText(UserController.city); // setting window title
setListeners();
}
@@ -72,7 +72,7 @@ public void onCreate(Bundle savedInstanceState) {
setContentView(R.layout.delete_itinerary);
//((TextView) findViewById(R.id.city_title)).setText(UserController.city); // setting window title
((TextView) findViewById(R.id.city_title)).setText(UserController.city); // setting window title
setListeners();
}
@@ -19,6 +19,7 @@
import android.widget.AdapterView.OnItemClickListener;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TextView;
import com.mobilecityguide.MobileCityGuideActivity;
import com.mobilecityguide.R;
@@ -77,6 +78,9 @@ public void onCreate(Bundle savedInstanceState) {
}
setContentView(R.layout.delete_poi);
((TextView) findViewById(R.id.poi_title_menu)).setText(UserController.city); // setting window title
setListeners();
}

0 comments on commit 23e75cc

Please sign in to comment.