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/decrypt_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/decrypt_layout.xml')
| -rw-r--r-- | app/src/main/res/layout/decrypt_layout.xml | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/app/src/main/res/layout/decrypt_layout.xml b/app/src/main/res/layout/decrypt_layout.xml index 2a94dfee..f076dbad 100644 --- a/app/src/main/res/layout/decrypt_layout.xml +++ b/app/src/main/res/layout/decrypt_layout.xml @@ -19,26 +19,28 @@ android:orientation="vertical"> <TextView + android:id="@+id/crypto_password_category" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:textColor="@color/grey_500" - android:text="CATEGORY HERE" - android:id="@+id/crypto_password_category" android:layout_gravity="center_vertical" - android:textSize="18dp" + android:layout_marginLeft="16dp" + android:text="CATEGORY HERE" + android:textColor="@color/grey_500" android:textIsSelectable="false" - android:layout_marginLeft="16dp" /> + android:textSize="18dp" + tools:ignore="HardcodedText" /> <TextView + android:id="@+id/crypto_password_file" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginLeft="@dimen/activity_horizontal_margin" + android:text="PASSWORD FILE NAME HERE" + android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium" android:textColor="@color/accent" + android:textSize="24dp" android:textStyle="bold" - android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium" - android:text="PASSWORD FILE NAME HERE" - android:id="@+id/crypto_password_file" - android:layout_marginLeft="@dimen/activity_horizontal_margin" - android:textSize="24dp" /> + tools:ignore="HardcodedText" /> </LinearLayout> <ImageView @@ -170,5 +172,4 @@ </LinearLayout> - </ScrollView>
\ No newline at end of file |
