From 040f000d99b6ba2be9caa512431cc25fe4e68df1 Mon Sep 17 00:00:00 2001 From: zeapo Date: Fri, 11 Aug 2017 09:31:48 +0200 Subject: fix lint --- app/src/main/res/layout/activity_git_config.xml | 13 ++++++++----- app/src/main/res/values/strings.xml | 3 +++ 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'app') diff --git a/app/src/main/res/layout/activity_git_config.xml b/app/src/main/res/layout/activity_git_config.xml index 17deb499..2174ffb6 100644 --- a/app/src/main/res/layout/activity_git_config.xml +++ b/app/src/main/res/layout/activity_git_config.xml @@ -99,7 +99,7 @@ android:background="@drawable/bottom_line" android:gravity="start" android:paddingBottom="6dp" - android:text="Hackish tools" + android:text="@string/hackish_tools" android:textColor="@color/blue_grey_500" android:textStyle="bold" app:layout_constraintLeft_toLeftOf="parent" @@ -115,7 +115,7 @@ android:layout_marginStart="8dp" android:layout_marginTop="8dp" android:onClick="abortRebase" - android:text="Abort rebase" + android:text="@string/abort_rebase" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -127,9 +127,10 @@ android:layout_height="wrap_content" android:layout_marginStart="8dp" android:layout_marginTop="8dp" - android:text="Commit hash" + android:text="@string/commit_hash" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/textView6" /> + app:layout_constraintTop_toBottomOf="@+id/textView6" + android:layout_marginLeft="8dp" /> + app:layout_constraintStart_toEndOf="@+id/textView7" + android:layout_marginLeft="16dp" + tools:ignore="HardcodedText" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index e9ad089b..4f5e422f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -210,4 +210,7 @@ Error occurred during the push operation: Clear ssh-key saved passphrase Remember the passphase + Hackish tools + Abort rebase + Commit hash -- cgit v1.2.3