From 4590c8f08b7c37eaa942041ede9b3d9fce4dde36 Mon Sep 17 00:00:00 2001 From: Will Kwon Date: Wed, 3 May 2017 15:58:46 -0700 Subject: [PATCH] Replacing WPButton with Button --- .../android/ui/publicize/PublicizeListFragment.java | 8 ++++---- WordPress/src/main/res/layout/publicize_list_fragment.xml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/WordPress/src/main/java/org/wordpress/android/ui/publicize/PublicizeListFragment.java b/WordPress/src/main/java/org/wordpress/android/ui/publicize/PublicizeListFragment.java index c5ef869dc19e..f95317d2b9be 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/publicize/PublicizeListFragment.java +++ b/WordPress/src/main/java/org/wordpress/android/ui/publicize/PublicizeListFragment.java @@ -6,6 +6,7 @@ import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; +import android.widget.Button; import android.widget.TextView; import org.wordpress.android.R; @@ -15,7 +16,6 @@ import org.wordpress.android.util.DisplayUtils; import org.wordpress.android.util.NetworkUtils; import org.wordpress.android.widgets.RecyclerItemDecoration; -import org.wordpress.android.widgets.WPButton; public class PublicizeListFragment extends PublicizeBaseFragment { public interface PublicizeManageConnectionsListener { @@ -27,7 +27,7 @@ public interface PublicizeManageConnectionsListener { private PublicizeServiceAdapter mAdapter; private RecyclerView mRecycler; private TextView mEmptyView; - private WPButton mManageButton; + private Button mManageButton; public static PublicizeListFragment newInstance(int siteId) { Bundle args = new Bundle(); @@ -64,7 +64,7 @@ public void onResume() { } getAdapter().refresh(); setTitle(R.string.sharing); - setNavigationIcon(R.drawable.ic_arrow_back_white_24dp); + setNavigationIcon(R.drawable.ic_arrow_left); } @Override @@ -79,7 +79,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa mRecycler = (RecyclerView) rootView.findViewById(R.id.recycler_view); mEmptyView = (TextView) rootView.findViewById(R.id.empty_view); - mManageButton = (WPButton) rootView.findViewById(R.id.manage_button); + mManageButton = (Button) rootView.findViewById(R.id.manage_button); int spacingHorizontal = 0; int spacingVertical = DisplayUtils.dpToPx(getActivity(), 1); diff --git a/WordPress/src/main/res/layout/publicize_list_fragment.xml b/WordPress/src/main/res/layout/publicize_list_fragment.xml index 6abf39a4b858..69ef07e237b1 100644 --- a/WordPress/src/main/res/layout/publicize_list_fragment.xml +++ b/WordPress/src/main/res/layout/publicize_list_fragment.xml @@ -51,7 +51,7 @@ android:textColor="@color/grey_dark" android:textSize="@dimen/text_sz_medium" /> -