add color

This commit is contained in:
Chumva 2018-04-10 14:48:07 +03:00
parent 0e3894f11b
commit d63198e2d5
2 changed files with 2 additions and 2 deletions

View file

@ -146,6 +146,7 @@
<color name="status_bar_wikivoyage_dark">#101112</color>
<color name="status_bar_wikivoyage_article_light">#f2f2f2</color>
<color name="status_bar_wikivoyage_article_dark">#222526</color>
<color name="bottom_bar_wikivoyage_article_light">#f5f5f5</color>
<color name="color_transparent">#0000</color>

View file

@ -17,7 +17,6 @@ import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;
import android.widget.FrameLayout;
import android.widget.TextView;
import net.osmand.AndroidUtils;
@ -93,7 +92,7 @@ public class WikivoyageArticleDialogFragment extends WikivoyageBaseDialogFragmen
final View buttonBar = mainView.findViewById(R.id.bottom_bar);
buttonBar.setBackgroundColor(getResolvedColor(nightMode ? R.color.status_bar_wikivoyage_article_dark : R.color.ctx_menu_card_btn_light));
buttonBar.setBackgroundColor(getResolvedColor(nightMode ? R.color.status_bar_wikivoyage_article_dark : R.color.bottom_bar_wikivoyage_article_light));
TextViewEx contentsButton = (TextViewEx) mainView.findViewById(R.id.contents_button);
TextViewEx saveButton = (TextViewEx) mainView.findViewById(R.id.save_button);