Revision 11298b49
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/examples/TableOfContents.java | ||
---|---|---|
64 | 64 |
import org.distorted.examples.blur.BlurActivity; |
65 | 65 |
import org.distorted.examples.multiblur.MultiblurActivity; |
66 | 66 |
import org.distorted.examples.stencil.StencilActivity; |
67 |
import org.distorted.examples.glow.GlowActivity;
|
|
67 |
import org.distorted.examples.movingglow.MovingGlowActivity;
|
|
68 | 68 |
|
69 | 69 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
70 | 70 |
|
... | ... | |
360 | 360 |
{ |
361 | 361 |
final Map<String, Object> item = new HashMap<>(); |
362 | 362 |
item.put(ITEM_IMAGE, R.drawable.icon_example_glow); |
363 |
item.put(ITEM_TITLE, (i+1)+". "+getText(R.string.example_glow)); |
|
364 |
item.put(ITEM_SUBTITLE, getText(R.string.example_glow_subtitle)); |
|
363 |
item.put(ITEM_TITLE, (i+1)+". "+getText(R.string.example_moving_glow));
|
|
364 |
item.put(ITEM_SUBTITLE, getText(R.string.example_moving_glow_subtitle));
|
|
365 | 365 |
data.add(item); |
366 |
activityMapping.put(i++, GlowActivity.class); |
|
366 |
activityMapping.put(i++, MovingGlowActivity.class);
|
|
367 | 367 |
} |
368 | 368 |
|
369 | 369 |
final SimpleAdapter dataAdapter = new SimpleAdapter(this, data, R.layout.toc_item, new String[] {ITEM_IMAGE, ITEM_TITLE, ITEM_SUBTITLE}, new int[] {R.id.Image, R.id.Title, R.id.SubTitle}); |
Also available in: Unified diff
Rename the last 'Glow' app.