From c897772be53b06bd66447b7be67e464a17d8c2bb Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Wed, 3 Feb 2021 17:17:57 +0100 Subject: [PATCH] dimens.xml: Rename list entry paddings to text paddings. --- oeffi/res/layout/action_bar.xml | 4 +- .../create_launcher_shortcut_dialog.xml | 8 +- oeffi/res/layout/directions_content.xml | 12 +-- oeffi/res/layout/directions_form_include.xml | 28 +++--- .../directions_location_dropdown_entry.xml | 6 +- oeffi/res/layout/directions_map_pin.xml | 14 +-- .../layout/directions_query_history_entry.xml | 22 ++--- .../directions_trip_details_content.xml | 44 ++++----- .../directions_trip_details_fares_row.xml | 6 +- ...rections_trip_details_individual_entry.xml | 8 +- .../directions_trip_details_public_entry.xml | 22 ++--- ...ns_trip_details_public_entry_collapsed.xml | 2 +- ...ections_trip_details_public_entry_stop.xml | 12 +-- .../directions_trip_overview_content.xml | 8 +- oeffi/res/layout/favorites_content.xml | 4 +- oeffi/res/layout/favorites_list_entry.xml | 12 +-- oeffi/res/layout/hint_dialog.xml | 8 +- oeffi/res/layout/navigation_drawer.xml | 10 +- oeffi/res/layout/navigation_drawer_entry.xml | 8 +- oeffi/res/layout/network_picker_content.xml | 12 +-- oeffi/res/layout/network_picker_entry.xml | 14 +-- oeffi/res/layout/network_picker_separator.xml | 8 +- oeffi/res/layout/plans_content.xml | 8 +- oeffi/res/layout/plans_picker_content.xml | 16 ++-- oeffi/res/layout/plans_picker_entry.xml | 28 +++--- oeffi/res/layout/station_widget_content.xml | 6 +- oeffi/res/layout/station_widget_entry.xml | 16 ++-- oeffi/res/layout/stations_content.xml | 92 +++++++++---------- .../layout/stations_filter_popup_content.xml | 18 ++-- .../stations_station_details_content.xml | 18 ++-- .../layout/stations_station_details_entry.xml | 14 +-- .../stations_station_details_header.xml | 14 +-- .../stations_station_details_header_line.xml | 4 +- oeffi/res/layout/stations_station_entry.xml | 26 +++--- .../stations_station_entry_departure.xml | 6 +- .../layout/stations_station_entry_message.xml | 4 +- oeffi/res/values-large/dimens.xml | 16 ++-- oeffi/res/values-xlarge/dimens.xml | 16 ++-- oeffi/res/values/dimens.xml | 16 ++-- .../oeffi/directions/LocationView.java | 6 +- .../oeffi/directions/TripsGallery.java | 2 +- .../stations/StationDetailsActivity.java | 2 +- .../oeffi/stations/StationsActivity.java | 2 +- .../stations/list/StationViewHolder.java | 2 +- 44 files changed, 302 insertions(+), 302 deletions(-) diff --git a/oeffi/res/layout/action_bar.xml b/oeffi/res/layout/action_bar.xml index 65441bd..f092ed2 100644 --- a/oeffi/res/layout/action_bar.xml +++ b/oeffi/res/layout/action_bar.xml @@ -37,8 +37,8 @@ android:gravity="center_vertical" android:minHeight="@dimen/action_bar_height" android:orientation="vertical" - android:paddingLeft="@dimen/list_entry_padding_horizontal_lax" - android:paddingRight="@dimen/list_entry_padding_horizontal_cram"> + android:paddingLeft="@dimen/text_padding_horizontal_lax" + android:paddingRight="@dimen/text_padding_horizontal_cram"> + android:paddingBottom="@dimen/text_padding_vertical_lax" + android:paddingLeft="@dimen/text_padding_horizontal_lax" + android:paddingRight="@dimen/text_padding_horizontal_lax" + android:paddingTop="@dimen/text_padding_vertical_lax"> @@ -115,8 +115,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom|left" - android:layout_marginBottom="@dimen/list_entry_padding_vertical" - android:layout_marginLeft="@dimen/list_entry_padding_horizontal_verylax" + android:layout_marginBottom="@dimen/text_padding_vertical" + android:layout_marginLeft="@dimen/text_padding_horizontal_verylax" android:textSize="@dimen/font_size_disclaimer" android:textColor="@color/fg_significant_on_light" /> diff --git a/oeffi/res/layout/directions_form_include.xml b/oeffi/res/layout/directions_form_include.xml index 0961901..83651a9 100644 --- a/oeffi/res/layout/directions_form_include.xml +++ b/oeffi/res/layout/directions_form_include.xml @@ -44,8 +44,8 @@ @@ -136,10 +136,10 @@ android:id="@+id/directions_option_bike" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginBottom="@dimen/list_entry_padding_vertical_lax" - android:layout_marginLeft="@dimen/list_entry_padding_horizontal_lax" - android:layout_marginRight="@dimen/list_entry_padding_horizontal_lax" - android:layout_marginTop="@dimen/list_entry_padding_vertical_lax" + android:layout_marginBottom="@dimen/text_padding_vertical_lax" + android:layout_marginLeft="@dimen/text_padding_horizontal_lax" + android:layout_marginRight="@dimen/text_padding_horizontal_lax" + android:layout_marginTop="@dimen/text_padding_vertical_lax" android:text="@string/directions_option_bike" android:visibility="gone" /> @@ -162,24 +162,24 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:contentDescription="@string/directions_time_arr_dep_description" - android:paddingLeft="@dimen/list_entry_padding_horizontal_lax" - android:paddingRight="@dimen/list_entry_padding_horizontal_lax" + android:paddingLeft="@dimen/text_padding_horizontal_lax" + android:paddingRight="@dimen/text_padding_horizontal_lax" android:singleLine="true" />