package cafe.adriel.nmsalphabet.ui;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import butterknife.BindView;
import butterknife.ButterKnife;
import cafe.adriel.nmsalphabet.Constant;
import cafe.adriel.nmsalphabet.R;
import cafe.adriel.nmsalphabet.util.LanguageUtil;
import cafe.adriel.nmsalphabet.util.Triple;
import cafe.adriel.nmsalphabet.util.Util;

public class TranslatorsActivity extends BaseActivity {

    @BindView(R.id.translators_layout)
    LinearLayout translatorsLayout;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_translators);
        getSupportActionBar().setDisplayHomeAsUpEnabled(true);
        ButterKnife.bind(this);
        init();
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        switch (item.getItemId()) {
            case android.R.id.home:
                onBackPressed();
                break;
        }
        return true;
    }

    @Override
    protected void init() {
        adjustMarginAndPadding();
        for(Triple<String, String, String> translator : Constant.TRANSLATORS){
            String language = translator.getA();
            String name = translator.getB();
            String twitter = translator.getC();
            View translatorView = setupTranslator(language, name, twitter);
            translatorsLayout.addView(translatorView);
        }
    }

    private View setupTranslator(String language, String name, final String twitter){
        View rootView = LayoutInflater.from(this).inflate(R.layout.list_item_translator, null, false);
        rootView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                if(Util.isNotEmpty(twitter)) {
                    String url = "http://twitter.com/" + twitter.replace("@", "");
                    Util.openUrl(TranslatorsActivity.this, url);
                }
            }
        });

        TranslatorViewHolder holder = new TranslatorViewHolder(rootView);
        holder.translatorNameView.setText(name);
        holder.translatorTwitterView.setText(twitter);
        switch (language){
            case LanguageUtil.LANGUAGE_EN:
                holder.countryFlagView.setImageResource(R.drawable.flag_uk_big);
                break;
            case LanguageUtil.LANGUAGE_PT:
                holder.countryFlagView.setImageResource(R.drawable.flag_brazil_big);
                break;
            case LanguageUtil.LANGUAGE_DE:
                holder.countryFlagView.setImageResource(R.drawable.flag_germany_big);
                break;
        }

        return rootView;
    }

    public static class TranslatorViewHolder {
        @BindView(R.id.country_flag)
        public ImageView countryFlagView;
        @BindView(R.id.translator_name)
        public TextView translatorNameView;
        @BindView(R.id.translator_twitter)
        public TextView translatorTwitterView;

        public TranslatorViewHolder(View v) {
            ButterKnife.bind(this, v);
        }
    }
}
@@ -885,24 +885,64 @@
 bled(true);%0A
+        setTitle(R.string.translators);%0A
         Butt

Fix TranslatorsActivity title