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 { ...@@ -75,9 +75,11 @@ public class ChatViewerFragment extends Fragment {
listView = (ListView) view.findViewById(android.R.id.list); listView = (ListView) view.findViewById(android.R.id.list);
listView.setAdapter(chatMessageAdapter); listView.setAdapter(chatMessageAdapter);
view .setBackgroundDrawable(new ColorDrawable( ColorDrawable background = new ColorDrawable(getActivity().getResources().getIntArray(
getActivity().getResources().getIntArray(R.array.account_chat_background)[ R.array.account_chat_background)[AccountManager.getInstance().getColorLevel(account)]);
AccountManager.getInstance().getColorLevel(account)])); background.setAlpha(64);
view.setBackgroundDrawable(background);
inputView = (EditText) view.findViewById(R.id.chat_input); 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