aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/setup/SetupWizardActivity.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-05-24 02:13:52 +0900
committerTadashi G. Takaoka <takaoka@google.com>2014-05-24 02:13:52 +0900
commitdb21267b788592ce99b9fb052801c6ec90bfe7b6 (patch)
tree148a6339eb699cd438c4be9ac9e65aa9d00f31dd /java/src/com/android/inputmethod/latin/setup/SetupWizardActivity.java
parent7a76350b7b7c500d12d0f1e8e15fd2ea8b4d3035 (diff)
downloadlatinime-db21267b788592ce99b9fb052801c6ec90bfe7b6.tar.gz
latinime-db21267b788592ce99b9fb052801c6ec90bfe7b6.tar.xz
latinime-db21267b788592ce99b9fb052801c6ec90bfe7b6.zip
Use ViewCompat support library and delete ViewCompatUtils
Change-Id: Ifee496ff7ecaf361898444ff4127f16748d96422
Diffstat (limited to 'java/src/com/android/inputmethod/latin/setup/SetupWizardActivity.java')
-rw-r--r--java/src/com/android/inputmethod/latin/setup/SetupWizardActivity.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/setup/SetupWizardActivity.java b/java/src/com/android/inputmethod/latin/setup/SetupWizardActivity.java
index bcac05a6a..fcceaff0e 100644
--- a/java/src/com/android/inputmethod/latin/setup/SetupWizardActivity.java
+++ b/java/src/com/android/inputmethod/latin/setup/SetupWizardActivity.java
@@ -25,6 +25,7 @@ import android.net.Uri;
import android.os.Bundle;
import android.os.Message;
import android.provider.Settings;
+import android.support.v4.view.ViewCompat;
import android.util.Log;
import android.view.View;
import android.view.inputmethod.InputMethodInfo;
@@ -34,7 +35,6 @@ import android.widget.TextView;
import android.widget.VideoView;
import com.android.inputmethod.compat.TextViewCompatUtils;
-import com.android.inputmethod.compat.ViewCompatUtils;
import com.android.inputmethod.latin.R;
import com.android.inputmethod.latin.settings.SettingsActivity;
import com.android.inputmethod.latin.utils.LeakGuardHandlerWrapper;
@@ -448,8 +448,8 @@ public final class SetupWizardActivity extends Activity implements View.OnClickL
mActionLabel = (TextView)mStepView.findViewById(R.id.setup_step_action_label);
mActionLabel.setText(res.getString(actionLabel));
if (actionIcon == 0) {
- final int paddingEnd = ViewCompatUtils.getPaddingEnd(mActionLabel);
- ViewCompatUtils.setPaddingRelative(mActionLabel, paddingEnd, 0, paddingEnd, 0);
+ final int paddingEnd = ViewCompat.getPaddingEnd(mActionLabel);
+ ViewCompat.setPaddingRelative(mActionLabel, paddingEnd, 0, paddingEnd, 0);
} else {
TextViewCompatUtils.setCompoundDrawablesRelativeWithIntrinsicBounds(
mActionLabel, res.getDrawable(actionIcon), null, null, null);