From 87e1ffd234265d8dbc5a808c4872a7f9efdafe39 Mon Sep 17 00:00:00 2001 From: Neslihan Date: Sat, 11 Mar 2017 12:13:52 +0300 Subject: [PATCH 1/3] Fix Lint errors/warnings - HardcodedText: Hardcoded text --- app/src/main/res/layout/fragment_media_detail.xml | 8 ++++---- app/src/main/res/values/strings.xml | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/fragment_media_detail.xml b/app/src/main/res/layout/fragment_media_detail.xml index a311fb3c2..557c571a3 100644 --- a/app/src/main/res/layout/fragment_media_detail.xml +++ b/app/src/main/res/layout/fragment_media_detail.xml @@ -73,7 +73,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:textColor="@android:color/white" - android:text="Title" + android:text="@string/media_detail_title" android:textSize="16sp" android:textStyle="bold" android:paddingBottom="6dp" @@ -81,7 +81,7 @@ This file already exists on Commons. Are you sure you want to proceed? Yes No + Title + Title of the media + Description + Description of the media goes here. This can potentially be fairly long, and will need to wrap across multiple lines. We hope it looks nice though. From 93ca9f053ff17a739b075ea1cd0edf7d68433fd0 Mon Sep 17 00:00:00 2001 From: Neslihan Date: Sat, 11 Mar 2017 12:20:19 +0300 Subject: [PATCH 2/3] Fix Lint errors/warnings - Deprecated: Using deprecated resources --- app/src/main/res/layout-land/welcome_final.xml | 3 +-- app/src/main/res/layout/fragment_categorization.xml | 2 +- app/src/main/res/layout/fragment_single_upload.xml | 2 +- app/src/main/res/layout/welcome_final.xml | 1 - 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout-land/welcome_final.xml b/app/src/main/res/layout-land/welcome_final.xml index e6277bf49..62d2a9e00 100644 --- a/app/src/main/res/layout-land/welcome_final.xml +++ b/app/src/main/res/layout-land/welcome_final.xml @@ -41,8 +41,7 @@ android:textStyle="bold" android:textAlignment="center" android:gravity="center_horizontal" - android:textColor="@android:color/white" - android:singleLine="false"/> + android:textColor="@android:color/white"/>