From 836b99966f8f525b9f02f2c5cd25663e2a3b5a12 Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Sat, 29 Sep 2018 19:44:50 +0200 Subject: [PATCH] style dark dialogs (#864) --- .../main/java/com/keylesspalace/tusky/AccountActivity.kt | 2 +- app/src/main/res/values-night/styles.xml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/AccountActivity.kt b/app/src/main/java/com/keylesspalace/tusky/AccountActivity.kt index ef4eade5..58518794 100644 --- a/app/src/main/java/com/keylesspalace/tusky/AccountActivity.kt +++ b/app/src/main/java/com/keylesspalace/tusky/AccountActivity.kt @@ -16,7 +16,6 @@ package com.keylesspalace.tusky import android.animation.ArgbEvaluator -import android.app.AlertDialog import android.arch.lifecycle.Observer import android.arch.lifecycle.ViewModelProviders import android.content.Context @@ -35,6 +34,7 @@ import android.support.v4.app.Fragment import android.support.v4.content.ContextCompat import android.support.v4.view.ViewCompat import android.support.v4.widget.TextViewCompat +import android.support.v7.app.AlertDialog import android.support.v7.widget.LinearLayoutManager import android.view.Menu import android.view.MenuItem diff --git a/app/src/main/res/values-night/styles.xml b/app/src/main/res/values-night/styles.xml index 55329bf7..9495c4dd 100644 --- a/app/src/main/res/values-night/styles.xml +++ b/app/src/main/res/values-night/styles.xml @@ -18,6 +18,7 @@ @color/text_color_primary_dark @style/AppTheme.BottomSheetDialog.Dark + @style/nightDialogTheme @color/window_background_dark @color/custom_tab_toolbar_dark @@ -85,4 +86,9 @@ true + +