Fix background color and name text size

This commit is contained in:
Alexander Sytnyk 2018-02-20 13:23:02 +02:00
parent 9c2ac18147
commit 626961f31d
2 changed files with 2 additions and 4 deletions

View file

@ -343,7 +343,7 @@
android:hint="@string/optional_point_name" android:hint="@string/optional_point_name"
android:imeOptions="actionDone" android:imeOptions="actionDone"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/dialog_header_text_size"/> android:textSize="@dimen/default_list_text_size"/>
<ImageView <ImageView
android:id="@+id/point_name_keyboard_btn" android:id="@+id/point_name_keyboard_btn"

View file

@ -166,9 +166,7 @@ public class CoordinateInputDialogFragment extends DialogFragment implements Osm
((TextView) mainView.findViewById(R.id.toolbar_text)) ((TextView) mainView.findViewById(R.id.toolbar_text))
.setTextColor(getResolvedColor(lightTheme ? R.color.color_black : R.color.color_white)); .setTextColor(getResolvedColor(lightTheme ? R.color.color_black : R.color.color_white));
setBackgroundColor(R.id.app_bar, lightTheme ? R.color.route_info_bg_light : R.color.route_info_bg_dark); setBackgroundColor(R.id.app_bar, lightTheme ? R.color.route_info_bg_light : R.color.route_info_bg_dark);
if (!lightTheme) { setBackgroundColor(mainView, lightTheme ? R.color.ctx_menu_info_view_bg_light : R.color.coordinate_input_markers_list_bg_dark);
setBackgroundColor(mainView, R.color.coordinate_input_markers_list_bg_dark);
}
} else { } else {
((TextView) mainView.findViewById(R.id.toolbar_text)) ((TextView) mainView.findViewById(R.id.toolbar_text))
.setTextColor(getResolvedColor(lightTheme ? R.color.color_white : R.color.ctx_menu_title_color_dark)); .setTextColor(getResolvedColor(lightTheme ? R.color.color_white : R.color.ctx_menu_title_color_dark));