Fix default description text color
This commit is contained in:
parent
63623fb269
commit
8d3e0bcdf2
2 changed files with 6 additions and 2 deletions
|
@ -40,8 +40,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:maxLines="2"
|
android:maxLines="2"
|
||||||
android:textColor="@color/searchbar_text_hint_light"
|
android:textAppearance="@style/TextAppearance.ContextMenuSubtitle"
|
||||||
android:textSize="@dimen/default_desc_text_size"
|
|
||||||
tools:text="Some description"/>
|
tools:text="Some description"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
|
@ -42,6 +42,7 @@ public class AddWaypointBottomSheetDialogFragment extends MenuBottomSheetDialogF
|
||||||
|
|
||||||
BaseBottomSheetItem replaceDestItem = new BottomSheetItemWithDescription.Builder()
|
BaseBottomSheetItem replaceDestItem = new BottomSheetItemWithDescription.Builder()
|
||||||
.setDescription(getCurrentPointName(targetPointsHelper.getPointToNavigate(), false))
|
.setDescription(getCurrentPointName(targetPointsHelper.getPointToNavigate(), false))
|
||||||
|
.setDescriptionColorId(R.color.searchbar_text_hint_light)
|
||||||
.setIcon(getIcon(R.drawable.list_destination, 0))
|
.setIcon(getIcon(R.drawable.list_destination, 0))
|
||||||
.setTitle(getString(R.string.replace_destination_point))
|
.setTitle(getString(R.string.replace_destination_point))
|
||||||
.setLayoutId(R.layout.bottom_sheet_item_with_descr_56dp)
|
.setLayoutId(R.layout.bottom_sheet_item_with_descr_56dp)
|
||||||
|
@ -57,6 +58,7 @@ public class AddWaypointBottomSheetDialogFragment extends MenuBottomSheetDialogF
|
||||||
|
|
||||||
BaseBottomSheetItem replaceStartItem = new BottomSheetItemWithDescription.Builder()
|
BaseBottomSheetItem replaceStartItem = new BottomSheetItemWithDescription.Builder()
|
||||||
.setDescription(getCurrentPointName(targetPointsHelper.getPointToStart(), true))
|
.setDescription(getCurrentPointName(targetPointsHelper.getPointToStart(), true))
|
||||||
|
.setDescriptionColorId(R.color.searchbar_text_hint_light)
|
||||||
.setIcon(getIcon(R.drawable.list_startpoint, 0))
|
.setIcon(getIcon(R.drawable.list_startpoint, 0))
|
||||||
.setTitle(getString(R.string.make_as_start_point))
|
.setTitle(getString(R.string.make_as_start_point))
|
||||||
.setLayoutId(R.layout.bottom_sheet_item_with_descr_56dp)
|
.setLayoutId(R.layout.bottom_sheet_item_with_descr_56dp)
|
||||||
|
@ -79,6 +81,7 @@ public class AddWaypointBottomSheetDialogFragment extends MenuBottomSheetDialogF
|
||||||
|
|
||||||
BaseBottomSheetItem subsequentDestItem = new BottomSheetItemWithDescription.Builder()
|
BaseBottomSheetItem subsequentDestItem = new BottomSheetItemWithDescription.Builder()
|
||||||
.setDescription(getString(R.string.subsequent_dest_description))
|
.setDescription(getString(R.string.subsequent_dest_description))
|
||||||
|
.setDescriptionColorId(R.color.searchbar_text_hint_light)
|
||||||
.setIcon(getSubsequentDestIcon())
|
.setIcon(getSubsequentDestIcon())
|
||||||
.setTitle(getString(R.string.keep_and_add_destination_point))
|
.setTitle(getString(R.string.keep_and_add_destination_point))
|
||||||
.setLayoutId(R.layout.bottom_sheet_item_with_descr_56dp)
|
.setLayoutId(R.layout.bottom_sheet_item_with_descr_56dp)
|
||||||
|
@ -95,6 +98,7 @@ public class AddWaypointBottomSheetDialogFragment extends MenuBottomSheetDialogF
|
||||||
|
|
||||||
BaseBottomSheetItem firstIntermItem = new BottomSheetItemWithDescription.Builder()
|
BaseBottomSheetItem firstIntermItem = new BottomSheetItemWithDescription.Builder()
|
||||||
.setDescription(getString(R.string.first_intermediate_dest_description))
|
.setDescription(getString(R.string.first_intermediate_dest_description))
|
||||||
|
.setDescriptionColorId(R.color.searchbar_text_hint_light)
|
||||||
.setIcon(getFirstIntermDestIcon())
|
.setIcon(getFirstIntermDestIcon())
|
||||||
.setTitle(getString(R.string.add_as_first_destination_point))
|
.setTitle(getString(R.string.add_as_first_destination_point))
|
||||||
.setLayoutId(R.layout.bottom_sheet_item_with_descr_56dp)
|
.setLayoutId(R.layout.bottom_sheet_item_with_descr_56dp)
|
||||||
|
@ -110,6 +114,7 @@ public class AddWaypointBottomSheetDialogFragment extends MenuBottomSheetDialogF
|
||||||
|
|
||||||
BaseBottomSheetItem lastIntermItem = new BottomSheetItemWithDescription.Builder()
|
BaseBottomSheetItem lastIntermItem = new BottomSheetItemWithDescription.Builder()
|
||||||
.setDescription(getString(R.string.last_intermediate_dest_description))
|
.setDescription(getString(R.string.last_intermediate_dest_description))
|
||||||
|
.setDescriptionColorId(R.color.searchbar_text_hint_light)
|
||||||
.setIcon(getLastIntermDistIcon())
|
.setIcon(getLastIntermDistIcon())
|
||||||
.setTitle(getString(R.string.add_as_last_destination_point))
|
.setTitle(getString(R.string.add_as_last_destination_point))
|
||||||
.setLayoutId(R.layout.bottom_sheet_item_with_descr_56dp)
|
.setLayoutId(R.layout.bottom_sheet_item_with_descr_56dp)
|
||||||
|
|
Loading…
Reference in a new issue