Fix icon color
This commit is contained in:
parent
c125c7485c
commit
756246024e
4 changed files with 5 additions and 6 deletions
|
@ -37,7 +37,7 @@
|
|||
android:maxLines="1"
|
||||
android:text="@string/shared_string_add"
|
||||
android:textAllCaps="true"
|
||||
android:textColor="@color/keyboard_item_add_button_text_color"
|
||||
android:textColor="@color/keyboard_item_button_text_color"
|
||||
android:textSize="@dimen/default_list_text_size"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
@ -210,7 +210,7 @@
|
|||
android:layout_weight="3"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/keyboard_item_add_button_text_color"
|
||||
android:textColor="@color/keyboard_item_button_text_color"
|
||||
android:textSize="@dimen/default_list_text_size"
|
||||
android:text="@string/shared_string_add"/>
|
||||
|
||||
|
|
|
@ -292,8 +292,7 @@
|
|||
<color name="keyboard_item_add_button_light_bg_pressed">#4b62e3</color>
|
||||
<color name="keyboard_item_add_button_dark_bg">#2d3980</color>
|
||||
<color name="keyboard_item_add_button_dark_bg_pressed">#4b62e3</color>
|
||||
<color name="keyboard_item_add_button_text_color">#ffffff</color>
|
||||
<color name="keyboard_item_show_hide_color">#222c66</color>
|
||||
<color name="keyboard_item_button_text_color">#ffffff</color>
|
||||
<color name="keyboard_item_add_button_divider_light">#4b62e3</color>
|
||||
<color name="keyboard_item_add_button_divider_dark">#121733</color>
|
||||
<color name="keyboard_divider_light">#e6e6e6</color>
|
||||
|
|
|
@ -313,7 +313,7 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm
|
|||
if (orientationPortrait) {
|
||||
final ImageView showHideKeyboardIcon = (ImageView) mainView.findViewById(R.id.show_hide_keyboard_icon);
|
||||
showHideKeyboardIcon.setBackgroundResource(lightTheme ? R.drawable.keyboard_item_add_button_light_bg : R.drawable.keyboard_item_add_button_dark_bg);
|
||||
showHideKeyboardIcon.setImageDrawable(iconsCache.getIcon(R.drawable.ic_action_arrow_down, R.color.keyboard_item_show_hide_color));
|
||||
showHideKeyboardIcon.setImageDrawable(iconsCache.getIcon(R.drawable.ic_action_arrow_down, R.color.keyboard_item_button_text_color));
|
||||
showHideKeyboardIcon.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
|
@ -588,7 +588,7 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm
|
|||
mainView.findViewById(R.id.keyboard_grid_view).setVisibility(visibility);
|
||||
mainView.findViewById(R.id.keyboard_divider).setVisibility(visibility);
|
||||
((ImageView) mainView.findViewById(R.id.show_hide_keyboard_icon))
|
||||
.setImageDrawable(iconsCache.getIcon(show ? R.drawable.ic_action_arrow_down : R.drawable.ic_action_arrow_up, R.color.keyboard_item_show_hide_color));
|
||||
.setImageDrawable(iconsCache.getIcon(show ? R.drawable.ic_action_arrow_down : R.drawable.ic_action_arrow_up, R.color.keyboard_item_button_text_color));
|
||||
}
|
||||
|
||||
private void changeKeyboardInBoxes() {
|
||||
|
|
Loading…
Reference in a new issue