Question: I have an array **InputFields**, in my situation - **six InputFields**. How can I get the text and save it from each InputField? 

Everything should work like this: I turn on the app, I change one, two or all of the input field, then turn off the application. Again, I turn on, and input fields have to be values which I wrote earlier.

I have a code that must seem to work properly, but this code works like this: it takes only the last value entered by the user and writes it to the last input field.

```
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class SaveText : MonoBehaviour {
    public GameObject[] InputFields;
    public static string n;

    public void Start ()
{
    for(int i = 0; i < InputFields.Length; i++)
    {
        InputFields[i].GetComponent<InputField> ().text = PlayerPrefs.GetString (InputFields[i].name);
        Debug.Log (PlayerPrefs.GetString (InputFields[i].name));
        n = InputFields[i].name;
        var input = InputFields[i].GetComponent<InputField> ();
        var se = new InputField.SubmitEvent ();
        se.AddListener (SubmitName);
        input.onEndEdit = se;
    }

}

public void SubmitName(string arg)
{
    PlayerPrefs.SetString (n, arg);
}

```

An array of input fields I initialize dragging in Unity each input field in free cell in Script Component.

Answer: 
Another simple way to set color for header text is to override leanback color in xml:

```
<color name="lb_browse_header_color">#f00</color>

```

advantage/drawback: it set color for all headers.
Might be a bit late but for whosoever is still looking

```
<style name="AppTheme" parent="@style/Theme.AppCompat.Leanback">
        <item name="rowHeaderStyle">@style/MediaHeader</item>
</style>

<style name="MediaHeader">
        <item name="android:textAppearance">@style/MyMediaTextStyle</item>
</style>

<style name="MyMediaTextStyle">
        <item name="android:fontFamily">@font/roboto</item>
        <item name="android:textSize">30sp</item>
        <item name="android:textColor">@android:color/white</item>
</style>

```