Commit 1ebd7d41 authored by Grigory Fedorov's avatar Grigory Fedorov

ChatViewerFragment: background made semi transparent - less saturated, better for eyes.

parent de328db8
......@@ -75,9 +75,11 @@ public class ChatViewerFragment extends Fragment {
listView = (ListView) view.findViewById(android.R.id.list);
listView.setAdapter(chatMessageAdapter);
view .setBackgroundDrawable(new ColorDrawable(
getActivity().getResources().getIntArray(R.array.account_chat_background)[
AccountManager.getInstance().getColorLevel(account)]));
ColorDrawable background = new ColorDrawable(getActivity().getResources().getIntArray(
R.array.account_chat_background)[AccountManager.getInstance().getColorLevel(account)]);
background.setAlpha(64);
view.setBackgroundDrawable(background);
inputView = (EditText) view.findViewById(R.id.chat_input);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment