diff options
| author | Felix Bechstein <f@ub0r.de> | 2017-07-25 15:23:50 +0200 |
|---|---|---|
| committer | Mohamed Zenadi <zeapo@users.noreply.github.com> | 2017-07-25 14:23:50 +0100 |
| commit | 5da9e67545644925902b04a11306289add29c033 (patch) | |
| tree | de8ec31c4fe216157b7680a4defdee86429a4122 /app/src/main/res/layout/password_row_layout.xml | |
| parent | 5cba6c62d7b4628dfaf482dd883e333f93d323d4 (diff) | |
| download | HardenedPass-5da9e67545644925902b04a11306289add29c033.tar.gz HardenedPass-5da9e67545644925902b04a11306289add29c033.zip | |
Fix lint warnings (#319)
* Fix lint errors/warnings
Fix a lot of lint errors and warnings.
Most things are automatically applied fixes done with android studio:
* externalize strings
* remove unused code / classes / layouts / imports
* migrate some fields to local variables
* Remove dead code from comments
Removed code that is commented out long ago.
* remove unused resources
* colors
* strings
* drawables
* layouts
* menus
Diffstat (limited to 'app/src/main/res/layout/password_row_layout.xml')
| -rw-r--r-- | app/src/main/res/layout/password_row_layout.xml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app/src/main/res/layout/password_row_layout.xml b/app/src/main/res/layout/password_row_layout.xml index 5860fe48..43df2ecf 100644 --- a/app/src/main/res/layout/password_row_layout.xml +++ b/app/src/main/res/layout/password_row_layout.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:card_view="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="?android:attr/activatedBackgroundIndicator"> @@ -23,20 +23,21 @@ android:layout_centerVertical="true" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" - android:paddingRight="8dp" /> + android:paddingRight="8dp"/> <TextView android:id="@+id/type" android:layout_width="wrap_content" android:layout_height="wrap_content" android:ellipsize="start" - android:singleLine="true" android:text="TYPE" android:textSize="14dp" android:textColor="@color/grey_500" android:layout_alignTop="@+id/type_image" android:layout_toRightOf="@+id/type_image" - android:layout_toEndOf="@+id/type_image" /> + android:layout_toEndOf="@+id/type_image" + android:maxLines="1" + tools:ignore="HardcodedText" /> <TextView android:id="@+id/label" @@ -48,7 +49,8 @@ android:textSize="18dp" android:layout_below="@+id/type" android:layout_alignLeft="@+id/type" - android:layout_alignStart="@+id/type" /> + android:layout_alignStart="@+id/type" + tools:ignore="HardcodedText" /> </RelativeLayout> </LinearLayout>
\ No newline at end of file |
