From 87e1ffd234265d8dbc5a808c4872a7f9efdafe39 Mon Sep 17 00:00:00 2001 From: Neslihan Date: Sat, 11 Mar 2017 12:13:52 +0300 Subject: [PATCH] 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.