mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Brighten light theme
1) Brighten background color 2) Add unread indicator in conversation list 3) Eliminate some conversation list overdraw
This commit is contained in:
@@ -265,6 +265,12 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
supportRequestWindowFeature(WindowCompat.FEATURE_ACTION_BAR_OVERLAY);
|
||||
setContentView(R.layout.conversation_activity);
|
||||
|
||||
TypedArray typedArray = obtainStyledAttributes(new int[] {R.attr.conversation_background});
|
||||
int color = typedArray.getColor(0, Color.WHITE);
|
||||
typedArray.recycle();
|
||||
|
||||
getWindow().getDecorView().setBackgroundColor(color);
|
||||
|
||||
fragment = initFragment(R.id.fragment_content, new ConversationFragment(),
|
||||
masterSecret, dynamicLanguage.getCurrentLocale());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user