fix codacy warnings

This commit is contained in:
AndyScherzinger 2017-08-07 23:55:53 +02:00
parent 5d2b30d86c
commit d643d28c58
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
3 changed files with 13 additions and 6 deletions

View file

@ -32,17 +32,20 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/list_item_avatar_icon_margin"
android:src="@drawable/ic_account_plus"/>
android:layout_marginStart="@dimen/list_item_avatar_text_margin"
android:src="@drawable/ic_account_plus"
android:contentDescription="@string/prefs_add_account"/>
<TextView
android:id="@+id/user_name"
android:layout_width="@dimen/zero"
android:layout_width="0dp"
android:layout_height="fill_parent"
android:layout_marginLeft="@dimen/list_item_avatar_text_margin"
android:layout_weight="1"
android:gravity="center_vertical"
android:paddingRight="@dimen/standard_padding"
android:text="@string/placeholder_sentence"
android:paddingLeft="@dimen/standard_padding"
android:text="@string/prefs_add_account"
android:textColor="@color/primary"
android:textSize="@dimen/two_line_primary_text_size"/>

View file

@ -43,7 +43,8 @@
android:layout_marginLeft="12dp"
android:layout_marginRight="1dp"
android:layout_marginTop="1dp"
android:src="@drawable/folder"/>
android:src="@drawable/folder"
android:contentDescription="@string/avatar"/>
<ImageView
android:id="@+id/ticker"
@ -51,7 +52,8 @@
android:layout_height="wrap_content"
android:layout_gravity="bottom|right"
android:background="@drawable/round_bgnd"
android:src="@drawable/ic_account_circle_white_18dp"/>
android:src="@drawable/ic_account_circle_white_18dp"
android:contentDescription="@string/active_user"/>
</FrameLayout>
<LinearLayout

View file

@ -163,6 +163,8 @@
<string name="delete_account">Remove account</string>
<string name="delete_account_warning">Delete account %s with all local files?\n\nDeleting cannot be undone.</string>
<string name="create_account">Create account</string>
<string name="avatar">Avatar</string>
<string name="active_user">Active user</string>
<string name="upload_chooser_title">Upload from &#8230;</string>
<string name="uploader_info_dirname">Folder name</string>
<string name="uploader_upload_in_progress_ticker">Uploading &#8230;</string>