This part of my app drills from the book overview to the chapter

![enter image description here](https://i.stack.imgur.com/yqOLp.jpg)

![enter image description here](https://i.stack.imgur.com/jjxpt.jpg)

I need it to display the chapter number next to "Chapter"

Here is my current code

### ProverbContent

```
public class ProverbContent {

    public static List<ProverbItem> ITEMS = new ArrayList<ProverbItem>();

    public static Map<String, ProverbItem> ITEM_MAP = new HashMap<String, ProverbItem>();

    static {

        addItem(new ProverbItem("1", "Chapter 1",
            "1 The proverbs of Solomon the son of David, king of Israel;\n" +
            "\n" +
    ... res of the content goes here

        ));

    }

    private static void addItem(ProverbItem item) {
        ITEMS.add(item);
        ITEM_MAP.put(item.id, item);
    }

    public static class ProverbItem {
        public String id;
        public String content;
        public String chapter;

        public ProverbItem(String id, String content, String chapter) {
            this.id = id;
            this.content = content;
            this.chapter = chapter;
        }

        @Override
        public String toString() {
            return content;
        }
    }
}

```

### activity\_proverb\_detail.xml

```
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/proverb_detail_container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".ProverbDetailActivity"
    tools:ignore="MergeRootFrame" />

```

### ProverbDetailActivity

```
public class ProverbDetailActivity extends ActionBarActivity {

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

          getSupportActionBar().setDisplayHomeAsUpEnabled(true);

          if (savedInstanceState == null) {

              Bundle arguments = new Bundle();
              arguments.putString(ProverbDetailFragment.ARG_ITEM_ID,
                      getIntent().getStringExtra(ProverbDetailFragment.ARG_ITEM_ID));
              ProverbDetailFragment fragment = new ProverbDetailFragment();
              fragment.setArguments(arguments);
              getSupportFragmentManager().beginTransaction()
                      .add(R.id.proverb_detail_container, fragment)
                      .commit();
          }
      }

      @Override
      public boolean onOptionsItemSelected(MenuItem item) {
          int id = item.getItemId();
          if (id == android.R.id.home) {

              NavUtils.navigateUpTo(this, new Intent(this, ProverbListActivity.class));
              return true;
          }
          return super.onOptionsItemSelected(item);
      }
  }

```

### strings.xml

```
<?xml version="1.0" encoding="utf-8"?>
<resources>

    <string name="app_name">Proverbs Reference</string>
    <string name="title_proverb_detail">Chapter</string>

</resources>

```

---

I am new to Java and Android development but I am thinking that I have to add an array in **strings.xml** like 

```
<string-array name="chapter">
    <item>1</item>
    <item>2</item>
    <item>3</item>
    <item>4</item>
    ....
</string-array>

```

that can be presented after "Chapter" but i am not sure what my next immediate steps should be to link this all up