android Programming Glossary: informationview
Android: Add two text views programmatically http://stackoverflow.com/questions/3210599/android-add-two-text-views-programmatically LinearLayout layout LinearLayout findViewById R.id.info String informations topOffer.getInformations TextView informationView View line new View this line.setLayoutParams new LayoutParams 1 LayoutParams.FILL_PARENT line.setBackgroundColor R.color.solid_history_grey.. 1 LayoutParams.FILL_PARENT line.setBackgroundColor R.color.solid_history_grey for int i 0 i informations.length i informationView new TextView this informationView.setText informations i layout.addView informationView 0 layout.addView line 1 First I.. R.color.solid_history_grey for int i 0 i informations.length i informationView new TextView this informationView.setText informations i layout.addView informationView 0 layout.addView line 1 First I have only added the informationsView..
|