Fix multi select and more colors
This commit is contained in:
@@ -86,7 +86,7 @@ public class KeychainApplication extends Application {
|
||||
}
|
||||
|
||||
brandGlowEffect(getApplicationContext(),
|
||||
getApplicationContext().getResources().getColor(R.color.emphasis));
|
||||
getApplicationContext().getResources().getColor(R.color.primary));
|
||||
|
||||
setupAccountAsNeeded(this);
|
||||
|
||||
|
||||
@@ -31,8 +31,6 @@ public class MainActivity extends NavDrawerActivity {
|
||||
public void init(Bundle savedInstanceState) {
|
||||
super.init(savedInstanceState);
|
||||
|
||||
setTitle(R.string.nav_keys);
|
||||
|
||||
// if this is the first time show first time activity
|
||||
Preferences prefs = Preferences.getPreferences(this);
|
||||
if (prefs.isFirstTime()) {
|
||||
|
||||
@@ -24,8 +24,6 @@ import org.sufficientlysecure.keychain.R;
|
||||
import org.sufficientlysecure.keychain.remote.ui.AppsListFragment;
|
||||
|
||||
import it.neokree.materialnavigationdrawer.MaterialNavigationDrawer;
|
||||
import it.neokree.materialnavigationdrawer.elements.MaterialSection;
|
||||
import it.neokree.materialnavigationdrawer.elements.listeners.MaterialSectionListener;
|
||||
|
||||
public abstract class NavDrawerActivity extends MaterialNavigationDrawer {
|
||||
|
||||
|
||||
@@ -26,13 +26,13 @@ public class CustomAlertDialogBuilder extends AlertDialog.Builder {
|
||||
int dividerId = dialog.getContext().getResources().getIdentifier("android:id/titleDivider", null, null);
|
||||
View divider = dialog.findViewById(dividerId);
|
||||
if (divider != null) {
|
||||
divider.setBackgroundColor(dialog.getContext().getResources().getColor(R.color.emphasis));
|
||||
divider.setBackgroundColor(dialog.getContext().getResources().getColor(R.color.header_text));
|
||||
}
|
||||
|
||||
int textViewId = dialog.getContext().getResources().getIdentifier("android:id/alertTitle", null, null);
|
||||
TextView tv = (TextView) dialog.findViewById(textViewId);
|
||||
if (tv != null) {
|
||||
tv.setTextColor(dialog.getContext().getResources().getColor(R.color.emphasis));
|
||||
tv.setTextColor(dialog.getContext().getResources().getColor(R.color.header_text));
|
||||
}
|
||||
|
||||
return dialog;
|
||||
|
||||
Reference in New Issue
Block a user