I have his following code:
public class MySimpleArrayAdapter extends ArrayAdapter {
@Override
public View getView(int position, View convertView, ViewGroup parent) {
LayoutInflater inflater = (LayoutInflater) mContext
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View rowView = inflater.inflate(R.layout.todo_list, parent, false);
TextView titleTextView = (TextView) rowView
.findViewById(R.id.todo_row_title);
TextView dateTextView = (TextView) rowView
.findViewById(R.id.todo_row_date);
ImageView imageView = (ImageView) rowView
.findViewById(R.id.todo_row_image);
titleTextView.setText(mTitles[position]);
..
}
and this content:
mTitles = [עברית, english, עברית]
meaning some strings in hebrew, and some in english
I run this on my physical device.
However in the UI is see only dates strings. How can I enable hebrew viewing?
Other apps on my mobile shows hebrew.