mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[android] Migrate place page to Material Components
Signed-off-by: Jean-Baptiste Charron <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
committed by
Konstantin Pastbin
parent
99bb468448
commit
15b3cda4d7
@@ -4,8 +4,6 @@ import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.AttrRes;
|
||||
import androidx.annotation.NonNull;
|
||||
@@ -15,6 +13,10 @@ import androidx.core.view.WindowInsetsCompat;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.lifecycle.Observer;
|
||||
import androidx.lifecycle.ViewModelProvider;
|
||||
|
||||
import com.google.android.material.imageview.ShapeableImageView;
|
||||
import com.google.android.material.textview.MaterialTextView;
|
||||
|
||||
import app.organicmaps.R;
|
||||
import app.organicmaps.util.Graphics;
|
||||
import app.organicmaps.util.WindowInsetUtils.PaddingInsetsListener;
|
||||
@@ -109,8 +111,8 @@ public final class PlacePageButtons extends Fragment implements Observer<List<Pl
|
||||
LayoutInflater inflater = LayoutInflater.from(requireContext());
|
||||
View parent = inflater.inflate(R.layout.place_page_button, mButtonsContainer, false);
|
||||
|
||||
ImageView icon = parent.findViewById(R.id.icon);
|
||||
TextView title = parent.findViewById(R.id.title);
|
||||
ShapeableImageView icon = parent.findViewById(R.id.icon);
|
||||
MaterialTextView title = parent.findViewById(R.id.title);
|
||||
|
||||
title.setText(current.getTitle());
|
||||
parent.setContentDescription(getString(current.getTitle()));
|
||||
|
||||
@@ -13,7 +13,6 @@ import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.IdRes;
|
||||
import androidx.annotation.NonNull;
|
||||
@@ -49,11 +48,11 @@ import app.organicmaps.widget.placepage.sections.PlacePageBookmarkFragment;
|
||||
import app.organicmaps.widget.placepage.sections.PlacePageLinksFragment;
|
||||
import app.organicmaps.widget.placepage.sections.PlacePageOpeningHoursFragment;
|
||||
import app.organicmaps.widget.placepage.sections.PlacePagePhoneFragment;
|
||||
import app.organicmaps.widget.placepage.sections.PlacePageProductsFragment;
|
||||
import app.organicmaps.widget.placepage.sections.PlacePageWikipediaFragment;
|
||||
|
||||
import com.google.android.material.appbar.MaterialToolbar;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import com.google.android.material.textview.MaterialTextView;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
@@ -88,38 +87,38 @@ public class PlacePageView extends Fragment implements View.OnClickListener,
|
||||
// Preview.
|
||||
private ViewGroup mPreview;
|
||||
private MaterialToolbar mToolbar;
|
||||
private TextView mTvTitle;
|
||||
private TextView mTvSecondaryTitle;
|
||||
private TextView mTvSubtitle;
|
||||
private MaterialTextView mTvTitle;
|
||||
private MaterialTextView mTvSecondaryTitle;
|
||||
private MaterialTextView mTvSubtitle;
|
||||
private ArrowView mAvDirection;
|
||||
private TextView mTvDistance;
|
||||
private TextView mTvAddress;
|
||||
private MaterialTextView mTvDistance;
|
||||
private MaterialTextView mTvAddress;
|
||||
// Details.
|
||||
private TextView mTvLatlon;
|
||||
private MaterialTextView mTvLatlon;
|
||||
private View mWifi;
|
||||
private TextView mTvWiFi;
|
||||
private MaterialTextView mTvWiFi;
|
||||
private View mOperator;
|
||||
private TextView mTvOperator;
|
||||
private MaterialTextView mTvOperator;
|
||||
private View mNetwork;
|
||||
private TextView mTvNetwork;
|
||||
private MaterialTextView mTvNetwork;
|
||||
private View mLevel;
|
||||
private TextView mTvLevel;
|
||||
private MaterialTextView mTvLevel;
|
||||
private View mAtm;
|
||||
private TextView mTvAtm;
|
||||
private MaterialTextView mTvAtm;
|
||||
private View mCapacity;
|
||||
private TextView mTvCapacity;
|
||||
private MaterialTextView mTvCapacity;
|
||||
private View mWheelchair;
|
||||
private TextView mTvWheelchair;
|
||||
private MaterialTextView mTvWheelchair;
|
||||
private View mDriveThrough;
|
||||
private TextView mTvDriveThrough;
|
||||
private MaterialTextView mTvDriveThrough;
|
||||
private View mSelfService;
|
||||
private TextView mTvSelfService;
|
||||
private MaterialTextView mTvSelfService;
|
||||
private View mCuisine;
|
||||
private TextView mTvCuisine;
|
||||
private MaterialTextView mTvCuisine;
|
||||
private View mOutdoorSeating;
|
||||
private TextView mTvOutdoorSeating;
|
||||
private MaterialTextView mTvOutdoorSeating;
|
||||
private View mEntrance;
|
||||
private TextView mTvEntrance;
|
||||
private MaterialTextView mTvEntrance;
|
||||
private View mEditPlace;
|
||||
private View mAddOrganisation;
|
||||
private View mAddPlace;
|
||||
@@ -129,7 +128,7 @@ public class PlacePageView extends Fragment implements View.OnClickListener,
|
||||
private CoordinatesFormat mCoordsFormat = CoordinatesFormat.LatLonDecimal;
|
||||
// Downloader`s stuff
|
||||
private DownloaderStatusIcon mDownloaderIcon;
|
||||
private TextView mDownloaderInfo;
|
||||
private MaterialTextView mDownloaderInfo;
|
||||
private int mStorageCallbackSlot;
|
||||
@Nullable
|
||||
private CountryItem mCurrentCountry;
|
||||
@@ -161,7 +160,7 @@ public class PlacePageView extends Fragment implements View.OnClickListener,
|
||||
private PlacePageViewModel mViewModel;
|
||||
private MapObject mMapObject;
|
||||
|
||||
private static void refreshMetadataOrHide(@Nullable String metadata, @NonNull View metaLayout, @NonNull TextView metaTv)
|
||||
private static void refreshMetadataOrHide(@Nullable String metadata, @NonNull View metaLayout, @NonNull MaterialTextView metaTv)
|
||||
{
|
||||
if (!TextUtils.isEmpty(metadata))
|
||||
{
|
||||
@@ -481,9 +480,9 @@ public class PlacePageView extends Fragment implements View.OnClickListener,
|
||||
mEditPlace.setEnabled(Editor.nativeShouldEnableEditPlace());
|
||||
mAddOrganisation.setEnabled(Editor.nativeShouldEnableAddPlace());
|
||||
mAddPlace.setEnabled(Editor.nativeShouldEnableAddPlace());
|
||||
TextView mTvEditPlace = mEditPlace.findViewById(R.id.tv__editor);
|
||||
TextView mTvAddBusiness = mAddPlace.findViewById(R.id.tv__editor);
|
||||
TextView mTvAddPlace = mAddPlace.findViewById(R.id.tv__editor);
|
||||
MaterialTextView mTvEditPlace = mEditPlace.findViewById(R.id.tv__editor);
|
||||
MaterialTextView mTvAddBusiness = mAddPlace.findViewById(R.id.tv__editor);
|
||||
MaterialTextView mTvAddPlace = mAddPlace.findViewById(R.id.tv__editor);
|
||||
final int editPlaceButtonColor = Editor.nativeShouldEnableEditPlace() ? ContextCompat.getColor(getContext(), UiUtils.getStyledResourceId(getContext(), androidx.appcompat.R.attr.colorAccent)) : getResources().getColor(R.color.button_accent_text_disabled);
|
||||
mTvEditPlace.setTextColor(editPlaceButtonColor);
|
||||
mTvAddBusiness.setTextColor(editPlaceButtonColor);
|
||||
|
||||
@@ -3,7 +3,6 @@ package app.organicmaps.widget.placepage.sections;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
@@ -21,6 +20,8 @@ import java.util.List;
|
||||
import static app.organicmaps.editor.data.TimeFormatUtils.formatNonBusinessTime;
|
||||
import static app.organicmaps.editor.data.TimeFormatUtils.formatWeekdaysRange;
|
||||
|
||||
import com.google.android.material.textview.MaterialTextView;
|
||||
|
||||
public class PlaceOpeningHoursAdapter extends RecyclerView.Adapter<PlaceOpeningHoursAdapter.ViewHolder>
|
||||
{
|
||||
private List<WeekScheduleData> mWeekSchedule = Collections.emptyList();
|
||||
@@ -161,9 +162,9 @@ public class PlaceOpeningHoursAdapter extends RecyclerView.Adapter<PlaceOpeningH
|
||||
|
||||
public static class ViewHolder extends RecyclerView.ViewHolder
|
||||
{
|
||||
private final TextView mWeekdays;
|
||||
private final TextView mOpenTime;
|
||||
private final TextView mNonBusinessTime;
|
||||
private final MaterialTextView mWeekdays;
|
||||
private final MaterialTextView mOpenTime;
|
||||
private final MaterialTextView mNonBusinessTime;
|
||||
|
||||
public ViewHolder(@NonNull View itemView)
|
||||
{
|
||||
|
||||
@@ -13,7 +13,6 @@ import android.view.ViewGroup;
|
||||
import android.webkit.WebSettings;
|
||||
import android.webkit.WebView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
@@ -21,6 +20,9 @@ import androidx.fragment.app.Fragment;
|
||||
import androidx.fragment.app.FragmentActivity;
|
||||
import androidx.lifecycle.Observer;
|
||||
import androidx.lifecycle.ViewModelProvider;
|
||||
|
||||
import com.google.android.material.textview.MaterialTextView;
|
||||
|
||||
import app.organicmaps.R;
|
||||
import app.organicmaps.bookmarks.data.Bookmark;
|
||||
import app.organicmaps.bookmarks.data.BookmarkManager;
|
||||
@@ -37,7 +39,7 @@ public class PlacePageBookmarkFragment extends Fragment implements View.OnClickL
|
||||
EditBookmarkFragment.EditBookmarkListener
|
||||
{
|
||||
private View mFrame;
|
||||
private TextView mTvBookmarkNote;
|
||||
private MaterialTextView mTvBookmarkNote;
|
||||
@Nullable
|
||||
private WebView mWvBookmarkNote;
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ import android.text.TextUtils;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
@@ -27,43 +26,45 @@ import java.util.List;
|
||||
import static android.view.View.GONE;
|
||||
import static android.view.View.VISIBLE;
|
||||
|
||||
import com.google.android.material.textview.MaterialTextView;
|
||||
|
||||
public class PlacePageLinksFragment extends Fragment implements Observer<MapObject>
|
||||
{
|
||||
private static final String TAG = PlacePageLinksFragment.class.getSimpleName();
|
||||
|
||||
private View mFrame;
|
||||
private View mFacebookPage;
|
||||
private TextView mTvFacebookPage;
|
||||
private MaterialTextView mTvFacebookPage;
|
||||
private View mInstagramPage;
|
||||
private TextView mTvInstagramPage;
|
||||
private MaterialTextView mTvInstagramPage;
|
||||
private View mTwitterPage;
|
||||
private TextView mTvTwitterPage;
|
||||
private MaterialTextView mTvTwitterPage;
|
||||
private View mFediversePage;
|
||||
private TextView mTvFediversePage;
|
||||
private MaterialTextView mTvFediversePage;
|
||||
private View mBlueskyPage;
|
||||
private TextView mTvBlueskyPage;
|
||||
private MaterialTextView mTvBlueskyPage;
|
||||
private View mVkPage;
|
||||
private TextView mTvVkPage;
|
||||
private MaterialTextView mTvVkPage;
|
||||
private View mLinePage;
|
||||
private TextView mTvLinePage;
|
||||
private MaterialTextView mTvLinePage;
|
||||
|
||||
private View mWebsite;
|
||||
private TextView mTvWebsite;
|
||||
private MaterialTextView mTvWebsite;
|
||||
private View mWebsiteMenu;
|
||||
private TextView mTvWebsiteMenuSubsite;
|
||||
private MaterialTextView mTvWebsiteMenuSubsite;
|
||||
private View mEmail;
|
||||
private TextView mTvEmail;
|
||||
private MaterialTextView mTvEmail;
|
||||
private View mWikimedia;
|
||||
private TextView mTvWikimedia;
|
||||
private MaterialTextView mTvWikimedia;
|
||||
|
||||
private View mPanoramax;
|
||||
private TextView mTvPanoramax;
|
||||
private MaterialTextView mTvPanoramax;
|
||||
|
||||
private PlacePageViewModel mViewModel;
|
||||
private MapObject mMapObject;
|
||||
|
||||
private static void refreshMetadataOrHide(@Nullable String metadata, @NonNull View metaLayout,
|
||||
@NonNull TextView metaTv)
|
||||
@NonNull MaterialTextView metaTv)
|
||||
{
|
||||
if (!TextUtils.isEmpty(metadata))
|
||||
{
|
||||
|
||||
@@ -5,7 +5,6 @@ import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.ColorInt;
|
||||
import androidx.annotation.NonNull;
|
||||
@@ -15,6 +14,9 @@ import androidx.fragment.app.Fragment;
|
||||
import androidx.lifecycle.Observer;
|
||||
import androidx.lifecycle.ViewModelProvider;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
import com.google.android.material.textview.MaterialTextView;
|
||||
|
||||
import app.organicmaps.R;
|
||||
import app.organicmaps.bookmarks.data.MapObject;
|
||||
import app.organicmaps.bookmarks.data.Metadata;
|
||||
@@ -34,9 +36,9 @@ import java.util.Locale;
|
||||
public class PlacePageOpeningHoursFragment extends Fragment implements Observer<MapObject>
|
||||
{
|
||||
private View mFrame;
|
||||
private TextView mTodayLabel;
|
||||
private TextView mTodayOpenTime;
|
||||
private TextView mTodayNonBusinessTime;
|
||||
private MaterialTextView mTodayLabel;
|
||||
private MaterialTextView mTodayOpenTime;
|
||||
private MaterialTextView mTodayNonBusinessTime;
|
||||
private RecyclerView mFullWeekOpeningHours;
|
||||
private PlaceOpeningHoursAdapter mOpeningHoursAdapter;
|
||||
|
||||
|
||||
@@ -7,13 +7,15 @@ import android.text.TextUtils;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.lifecycle.Observer;
|
||||
import androidx.lifecycle.ViewModelProvider;
|
||||
|
||||
import com.google.android.material.textview.MaterialTextView;
|
||||
|
||||
import app.organicmaps.R;
|
||||
import app.organicmaps.bookmarks.data.MapObject;
|
||||
import app.organicmaps.bookmarks.data.Metadata;
|
||||
@@ -29,7 +31,7 @@ public class PlacePageWikipediaFragment extends Fragment implements Observer<Map
|
||||
private View mWiki;
|
||||
private View mPlaceDescriptionViewContainer;
|
||||
|
||||
private TextView mPlaceDescriptionView;
|
||||
private MaterialTextView mPlaceDescriptionView;
|
||||
|
||||
private PlacePageViewModel mViewModel;
|
||||
|
||||
|
||||
@@ -7,10 +7,12 @@ import android.text.TextUtils;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.TextView;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
import com.google.android.material.textview.MaterialTextView;
|
||||
|
||||
import app.organicmaps.R;
|
||||
import app.organicmaps.util.Utils;
|
||||
|
||||
@@ -61,7 +63,7 @@ public class PlacePhoneAdapter extends RecyclerView.Adapter<PlacePhoneAdapter.Vi
|
||||
|
||||
public static class ViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener, View.OnLongClickListener
|
||||
{
|
||||
private final TextView mPhone;
|
||||
private final MaterialTextView mPhone;
|
||||
|
||||
public ViewHolder(@NonNull View itemView)
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
style="@style/PlacePageItemFrame"
|
||||
tools:visibility="visible">
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__editor"
|
||||
style="@style/PlacePageMetadataText.Button"
|
||||
android:text="@string/placepage_add_place_button"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
android:visibility="visible"
|
||||
tools:visibility="visible">
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__editor"
|
||||
style="@style/PlacePageMetadataText.Button"
|
||||
android:gravity="center"
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
tools:background="#4000FFFF"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_atm"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_atm_white" />
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_atm"
|
||||
style="@style/PlacePageMetadataText"
|
||||
tools:text="@string/type.amenity.atm" />
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
tools:background="#20FF0000"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_bluesky"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_bluesky_white"
|
||||
app:tint="?colorAccent"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_bluesky_page"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__bookmark_notes"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -18,7 +18,7 @@
|
||||
android:textAppearance="?android:attr/textAppearance"
|
||||
tools:text="Long, long text Long, long text Long, long text Long, long text Long, long text Long, long text "/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__bookmark_edit"
|
||||
style="@style/PlacePageMetadataText.Button"
|
||||
android:gravity="center"
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
tools:layout_height="@dimen/place_page_buttons_height"
|
||||
tools:ignore="UseCompoundDrawables"
|
||||
tools:background="#40202020">
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/icon"
|
||||
style="@style/PlacePageButtonImage"
|
||||
android:contentDescription="@string/back"
|
||||
tools:src="@drawable/ic_share"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/title"
|
||||
style="@style/PlacePageButtonText"
|
||||
tools:text="@string/back"/>
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
tools:background="#4000FFFF"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_capacity"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_capacity_white" />
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_capacity"
|
||||
android:textAlignment="viewStart"
|
||||
style="@style/PlacePageMetadataText"
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
tools:visibility="visible"
|
||||
tools:ignore="UseCompoundDrawables">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/margin_base"
|
||||
app:tint="?iconTint"
|
||||
app:srcCompat="@drawable/ic_cuisine"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_cuisine"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
android:visibility="visible"
|
||||
tools:visibility="visible">
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/poi_description"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -24,7 +24,7 @@
|
||||
tools:text="asdasdadadasdasdasdasdasdasdasdadas"
|
||||
tools:ignore="UnusedAttribute"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/more_btn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
tools:background="#4000FFFF"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_drive_through"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_drive_through_white" />
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_drive_through"
|
||||
android:textAlignment="viewStart"
|
||||
style="@style/PlacePageMetadataText"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
android:id="@+id/ll__place_editor"
|
||||
style="@style/PlacePageItemFrame"
|
||||
tools:visibility="visible">
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__editor"
|
||||
style="@style/PlacePageMetadataText.Button"
|
||||
android:gravity="center"
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
tools:background="#200000FF"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_email"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_email"
|
||||
app:tint="?colorAccent" />
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_email"
|
||||
android:textAlignment="viewStart"
|
||||
style="@style/PlacePageMetadataText"
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
tools:background="#40FF0000"
|
||||
tools:visibility="visible">
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_entrance"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_entrance"
|
||||
android:textAlignment="viewStart"
|
||||
style="@style/PlacePageMetadataText"
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
style="@style/PlacePageItemFrame"
|
||||
tools:background="#20FF0000"
|
||||
tools:visibility="visible">
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_facebook"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_facebook_white"
|
||||
app:tint="?colorAccent"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_facebook_page"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<android.widget.Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/margin_half"/>
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/shadow_card"
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
tools:background="#20FF0000"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_fediverse"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_mastodon_white"
|
||||
app:tint="?colorAccent"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_fediverse_page"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
tools:background="#20FF0000"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_instagram"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_instagram_white"
|
||||
app:tint="?colorAccent"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_instagram_page"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
android:visibility="visible"
|
||||
tools:background="#20FF0000">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_latlon"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_coordinates" />
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_latlon"
|
||||
android:textAlignment="viewStart"
|
||||
style="@style/PlacePageMetadataText"
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
tools:background="#4000FFFF"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_level"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_level_white" />
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_level"
|
||||
android:textAlignment="viewStart"
|
||||
style="@style/PlacePageMetadataText"
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
style="@style/PlacePageItemFrame"
|
||||
tools:background="#20FF0000"
|
||||
tools:visibility="visible">
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_line"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_line_white"
|
||||
app:tint="?colorAccent"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_line_page"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
tools:background="#4000FFFF"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_network"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_network_white" />
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_network"
|
||||
android:textAlignment="viewStart"
|
||||
style="@style/PlacePageMetadataText"
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
tools:background="#20FF0000"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_open_in"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_open_in"
|
||||
app:tint="?colorAccent"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_open_in"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
style="@style/PlacePageItemFrame">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -14,7 +14,7 @@
|
||||
app:srcCompat="@drawable/ic_operating_hours"
|
||||
app:tint="?iconTint"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/oh_today_label"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -26,7 +26,7 @@
|
||||
android:text="@string/today"
|
||||
tools:visibility="visible"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/oh_today_open_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -39,7 +39,7 @@
|
||||
android:textAlignment="viewEnd"
|
||||
tools:visibility="visible"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/oh_nonbusiness_time"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
style="@style/PlacePageOpeningHoursItem"
|
||||
android:visibility="visible">
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__opening_hours_weekdays"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -14,7 +14,7 @@
|
||||
android:textAppearance="@style/MwmTextAppearance.Body3"
|
||||
tools:text="Mo-Fr"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__opening_hours_time"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -24,7 +24,7 @@
|
||||
android:textAlignment="viewEnd"
|
||||
tools:text="08:00 - 19:00"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__opening_hours_nonbusiness_time"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
tools:background="#4000FFFF"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_operator"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_bank" />
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_operator"
|
||||
android:textAlignment="viewStart"
|
||||
style="@style/PlacePageMetadataText"
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
tools:background="#40FF0000"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_outdoor_seating"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_outdoor_seating"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_outdoor_seating"
|
||||
android:textAlignment="viewStart"
|
||||
style="@style/PlacePageMetadataText"
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
tools:background="#20FF0000"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_panoramax"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_panoramax"
|
||||
app:tint="?colorAccent"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_panoramax"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
android:orientation="horizontal"
|
||||
android:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_phone"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_phone"
|
||||
app:tint="?colorAccent"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_phone"
|
||||
android:textAlignment="viewStart"
|
||||
android:textDirection="ltr"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
tools:background="#2000FF00"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_name"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
android:layout_centerVertical="true"
|
||||
@@ -22,7 +22,7 @@
|
||||
android:layout_height="4dp"
|
||||
android:layout_centerVertical="true"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_address"
|
||||
style="@style/PlacePageMetadataText"
|
||||
android:textAlignment="viewStart"
|
||||
@@ -30,7 +30,7 @@
|
||||
android:layout_toEndOf="@id/iv__place_name"
|
||||
tools:text="Sample place"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_post_address"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
android:layout_marginEnd="@dimen/margin_base"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__title"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
@@ -48,7 +48,7 @@
|
||||
tools:background="#C0800000"
|
||||
tools:ignore="UnusedAttribute"
|
||||
tools:text="Title" />
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__secondary_title"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
@@ -61,7 +61,7 @@
|
||||
tools:background="#C0800000"
|
||||
tools:ignore="UnusedAttribute"
|
||||
tools:text="Secondary Title" />
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__subtitle"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
@@ -71,7 +71,7 @@
|
||||
android:textAppearance="@style/MwmTextAppearance.Body3"
|
||||
tools:background="#300000F0"
|
||||
tools:text="Subtitle, very very very very very very very long" />
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__address"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
@@ -80,7 +80,7 @@
|
||||
android:textAppearance="@style/MwmTextAppearance.Body3"
|
||||
tools:background="#60000000"
|
||||
tools:text="Lenina str, 10" />
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__downloader_details"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -159,7 +159,7 @@
|
||||
android:scaleType="center"
|
||||
app:srcCompat="@drawable/ic_direction_pagepreview"
|
||||
app:tint="?colorAccent" />
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__straight_distance"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
tools:background="#4000FFFF"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_self_service"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_self_service" />
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_self_service"
|
||||
style="@style/PlacePageMetadataText"
|
||||
tools:text="Self-service" />
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
tools:background="#20FF0000"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_twitter"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_twitterx_white"
|
||||
app:tint="?colorAccent"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_twitter_page"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
tools:background="#20FF0000"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_vk"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_vk_white"
|
||||
app:tint="?colorAccent"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_vk_page"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
tools:background="#20FF0000"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_website"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_website"
|
||||
app:tint="?colorAccent"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_website"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
tools:background="#20FF0000"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_website_menu"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_website_menu"
|
||||
@@ -19,7 +19,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_website_menu"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -27,7 +27,7 @@
|
||||
android:text="@string/view_menu"
|
||||
android:textAppearance="@style/MwmTextAppearance.PlacePage.Accent" />
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_website_menu_subtitle"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
tools:background="#4000FFFF"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_wheelchair"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_wheelchair_white" />
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_wheelchair"
|
||||
style="@style/PlacePageMetadataText"
|
||||
tools:text="Wheelchair" />
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
tools:background="#40FF0000"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_wifi"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_wifi"/>
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_wifi"
|
||||
style="@style/PlacePageMetadataText"
|
||||
android:text="@string/yes"/>
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
style="@style/PlacePageItemFrame"
|
||||
tools:visibility="visible">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_wikimedia"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_wikimedia_commons_white"
|
||||
app:tint="?colorAccent" />
|
||||
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_wikimedia"
|
||||
android:textAlignment="viewStart"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@@ -11,12 +11,12 @@
|
||||
style="@style/PlacePageItemFrame"
|
||||
android:visibility="visible"
|
||||
tools:background="#20FF0000">
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/iv__place_wiki"
|
||||
style="@style/PlacePageMetadataIcon"
|
||||
app:srcCompat="@drawable/ic_wiki"
|
||||
app:tint="?colorAccent" />
|
||||
<TextView
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
android:id="@+id/tv__place_wiki"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
<item name="android:layout_height">0dp</item>
|
||||
<item name="android:layout_weight">1</item>
|
||||
<item name="android:layout_marginBottom">@dimen/margin_eighth</item>
|
||||
<item name="android:paddingTop">@dimen/margin_base</item>
|
||||
<item name="android:paddingBottom">@dimen/margin_base</item>
|
||||
<item name="android:scaleType">center</item>
|
||||
<item name="android:color">?iconTint</item>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user