jenkins-bot has submitted this change and it was merged.

Change subject: Add DescriptionEditViewTest
......................................................................


Add DescriptionEditViewTest

Bug: T148203
Change-Id: I67b3250583784a3ba74b69bf46fbee76465dca71
---
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-dark-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-dark-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-light-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-light-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testLayoutDirection-480dp-en-ltr-font1.0x-light.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testLayoutDirection-480dp-en-rtl-font1.0x-light.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-dark-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-dark-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-light-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-light-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-long_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-long_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-null_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-null_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-short_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-short_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-long_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-long_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-null_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-null_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-short_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-short_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-long_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-long_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-null_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-null_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-short_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-short_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-long_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-long_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-null_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-null_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-short_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-short_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-long_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-long_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-null_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-null_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-short_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-short_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-long_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-long_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-null_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-null_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-short_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-short_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-long_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-long_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-null_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-null_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-short_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-short_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-long_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-long_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-null_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-null_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-short_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-short_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-long_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-long_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-null_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-null_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-short_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-short_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-long_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-long_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-null_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-null_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-short_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-short_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-long_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-long_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-null_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-null_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-short_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-short_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-long_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-long_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-null_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-null_description-unsaved.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-short_description-saving.png
A 
app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-short_description-unsaved.png
A 
app/src/androidTest/java/org/wikipedia/descriptions/DescriptionEditViewTest.java
M app/src/main/java/org/wikipedia/descriptions/DescriptionEditView.java
84 files changed, 133 insertions(+), 4 deletions(-)

Approvals:
  Dbrant: Looks good to me, approved
  jenkins-bot: Verified



diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-dark-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-dark-saving.png
new file mode 100644
index 0000000..9415371
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-dark-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-dark-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-dark-unsaved.png
new file mode 100644
index 0000000..e50f854
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-dark-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-light-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-light-saving.png
new file mode 100644
index 0000000..67154a8
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-light-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-light-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-light-unsaved.png
new file mode 100644
index 0000000..c244a22
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testFocus-480dp-en-ltr-font1.0x-light-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testLayoutDirection-480dp-en-ltr-font1.0x-light.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testLayoutDirection-480dp-en-ltr-font1.0x-light.png
new file mode 100644
index 0000000..11d6546
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testLayoutDirection-480dp-en-ltr-font1.0x-light.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testLayoutDirection-480dp-en-rtl-font1.0x-light.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testLayoutDirection-480dp-en-rtl-font1.0x-light.png
new file mode 100644
index 0000000..8bcc931
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testLayoutDirection-480dp-en-rtl-font1.0x-light.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-dark-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-dark-saving.png
new file mode 100644
index 0000000..704695a
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-dark-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-dark-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-dark-unsaved.png
new file mode 100644
index 0000000..e2df9c4
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-dark-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-light-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-light-saving.png
new file mode 100644
index 0000000..11d6546
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-light-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-light-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-light-unsaved.png
new file mode 100644
index 0000000..06ee093
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testTheme-480dp-en-ltr-font1.0x-light-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-long_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-long_description-saving.png
new file mode 100644
index 0000000..adabb08
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-long_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-long_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-long_description-unsaved.png
new file mode 100644
index 0000000..fce8b0d
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-long_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-null_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-null_description-saving.png
new file mode 100644
index 0000000..af60f68
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-null_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-null_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-null_description-unsaved.png
new file mode 100644
index 0000000..28ef8fb
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-null_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-short_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-short_description-saving.png
new file mode 100644
index 0000000..970ad50
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-short_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-short_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-short_description-unsaved.png
new file mode 100644
index 0000000..2a64d8d
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-long_title-short_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-long_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-long_description-saving.png
new file mode 100644
index 0000000..ca1687b
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-long_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-long_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-long_description-unsaved.png
new file mode 100644
index 0000000..7d9d4aa
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-long_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-null_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-null_description-saving.png
new file mode 100644
index 0000000..ec99bd0
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-null_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-null_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-null_description-unsaved.png
new file mode 100644
index 0000000..f876bce
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-null_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-short_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-short_description-saving.png
new file mode 100644
index 0000000..57c3aa0
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-short_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-short_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-short_description-unsaved.png
new file mode 100644
index 0000000..72d3e17
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-null_title-short_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-long_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-long_description-saving.png
new file mode 100644
index 0000000..c60567d
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-long_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-long_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-long_description-unsaved.png
new file mode 100644
index 0000000..797890a
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-long_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-null_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-null_description-saving.png
new file mode 100644
index 0000000..73a93e6
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-null_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-null_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-null_description-unsaved.png
new file mode 100644
index 0000000..0a6b9ad
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-null_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-short_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-short_description-saving.png
new file mode 100644
index 0000000..11d6546
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-short_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-short_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-short_description-unsaved.png
new file mode 100644
index 0000000..06ee093
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.0x-light-short_title-short_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-long_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-long_description-saving.png
new file mode 100644
index 0000000..e409e52
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-long_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-long_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-long_description-unsaved.png
new file mode 100644
index 0000000..9082edf
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-long_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-null_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-null_description-saving.png
new file mode 100644
index 0000000..73c408a
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-null_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-null_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-null_description-unsaved.png
new file mode 100644
index 0000000..e9fc03e
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-null_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-short_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-short_description-saving.png
new file mode 100644
index 0000000..ce8b212
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-short_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-short_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-short_description-unsaved.png
new file mode 100644
index 0000000..7147062
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-long_title-short_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-long_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-long_description-saving.png
new file mode 100644
index 0000000..f147630
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-long_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-long_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-long_description-unsaved.png
new file mode 100644
index 0000000..076b606
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-long_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-null_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-null_description-saving.png
new file mode 100644
index 0000000..b5aff26
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-null_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-null_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-null_description-unsaved.png
new file mode 100644
index 0000000..369b085
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-null_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-short_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-short_description-saving.png
new file mode 100644
index 0000000..64abc1f
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-short_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-short_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-short_description-unsaved.png
new file mode 100644
index 0000000..1aaf2d2
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-null_title-short_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-long_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-long_description-saving.png
new file mode 100644
index 0000000..6673970
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-long_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-long_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-long_description-unsaved.png
new file mode 100644
index 0000000..e3762b5
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-long_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-null_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-null_description-saving.png
new file mode 100644
index 0000000..a45435f
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-null_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-null_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-null_description-unsaved.png
new file mode 100644
index 0000000..33af24c
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-null_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-short_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-short_description-saving.png
new file mode 100644
index 0000000..a055454
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-short_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-short_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-short_description-unsaved.png
new file mode 100644
index 0000000..eeec7a1
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-480dp-en-ltr-font1.5x-light-short_title-short_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-long_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-long_description-saving.png
new file mode 100644
index 0000000..e6a853f
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-long_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-long_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-long_description-unsaved.png
new file mode 100644
index 0000000..b9a4be6
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-long_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-null_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-null_description-saving.png
new file mode 100644
index 0000000..cd05845
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-null_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-null_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-null_description-unsaved.png
new file mode 100644
index 0000000..8a7ea32
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-null_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-short_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-short_description-saving.png
new file mode 100644
index 0000000..fefcb3f
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-short_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-short_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-short_description-unsaved.png
new file mode 100644
index 0000000..25f1ce1
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-long_title-short_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-long_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-long_description-saving.png
new file mode 100644
index 0000000..5321d7f
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-long_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-long_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-long_description-unsaved.png
new file mode 100644
index 0000000..acfd7f8
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-long_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-null_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-null_description-saving.png
new file mode 100644
index 0000000..df25608
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-null_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-null_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-null_description-unsaved.png
new file mode 100644
index 0000000..f16b4bc
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-null_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-short_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-short_description-saving.png
new file mode 100644
index 0000000..686a7c3
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-short_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-short_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-short_description-unsaved.png
new file mode 100644
index 0000000..3d74207
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-null_title-short_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-long_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-long_description-saving.png
new file mode 100644
index 0000000..27d4735
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-long_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-long_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-long_description-unsaved.png
new file mode 100644
index 0000000..4df2a26
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-long_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-null_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-null_description-saving.png
new file mode 100644
index 0000000..b20e7af
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-null_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-null_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-null_description-unsaved.png
new file mode 100644
index 0000000..65b23a1
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-null_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-short_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-short_description-saving.png
new file mode 100644
index 0000000..f10d629
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-short_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-short_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-short_description-unsaved.png
new file mode 100644
index 0000000..8d7cc1a
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.0x-light-short_title-short_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-long_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-long_description-saving.png
new file mode 100644
index 0000000..ac3ea4f
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-long_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-long_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-long_description-unsaved.png
new file mode 100644
index 0000000..c071cea
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-long_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-null_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-null_description-saving.png
new file mode 100644
index 0000000..ea96fde
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-null_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-null_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-null_description-unsaved.png
new file mode 100644
index 0000000..bf08df2
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-null_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-short_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-short_description-saving.png
new file mode 100644
index 0000000..04d935c
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-short_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-short_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-short_description-unsaved.png
new file mode 100644
index 0000000..fbb8f99
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-long_title-short_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-long_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-long_description-saving.png
new file mode 100644
index 0000000..77bc673
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-long_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-long_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-long_description-unsaved.png
new file mode 100644
index 0000000..493cb6e
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-long_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-null_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-null_description-saving.png
new file mode 100644
index 0000000..c0577d3
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-null_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-null_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-null_description-unsaved.png
new file mode 100644
index 0000000..b9cd3ce
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-null_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-short_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-short_description-saving.png
new file mode 100644
index 0000000..25f08f1
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-short_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-short_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-short_description-unsaved.png
new file mode 100644
index 0000000..af6eee9
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-null_title-short_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-long_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-long_description-saving.png
new file mode 100644
index 0000000..7db6d3a
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-long_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-long_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-long_description-unsaved.png
new file mode 100644
index 0000000..cadbe7e
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-long_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-null_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-null_description-saving.png
new file mode 100644
index 0000000..17df1e9
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-null_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-null_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-null_description-unsaved.png
new file mode 100644
index 0000000..ff1b63d
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-null_description-unsaved.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-short_description-saving.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-short_description-saving.png
new file mode 100644
index 0000000..1e5611b
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-short_description-saving.png
Binary files differ
diff --git 
a/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-short_description-unsaved.png
 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-short_description-unsaved.png
new file mode 100644
index 0000000..ed7d99d
--- /dev/null
+++ 
b/app/screenshots-ref/org.wikipedia.descriptions.DescriptionEditViewTest.testWidth-720dp-en-ltr-font1.5x-light-short_title-short_description-unsaved.png
Binary files differ
diff --git 
a/app/src/androidTest/java/org/wikipedia/descriptions/DescriptionEditViewTest.java
 
b/app/src/androidTest/java/org/wikipedia/descriptions/DescriptionEditViewTest.java
new file mode 100644
index 0000000..54e1630
--- /dev/null
+++ 
b/app/src/androidTest/java/org/wikipedia/descriptions/DescriptionEditViewTest.java
@@ -0,0 +1,121 @@
+package org.wikipedia.descriptions;
+
+import android.support.annotation.NonNull;
+
+import org.junit.Test;
+import org.junit.experimental.theories.Theory;
+import org.junit.experimental.theories.suppliers.TestedOn;
+import org.wikipedia.page.PageTitle;
+import org.wikipedia.test.theories.TestedOnBool;
+import org.wikipedia.test.view.FontScale;
+import org.wikipedia.test.view.LayoutDirection;
+import org.wikipedia.test.view.PrimaryTestStr;
+import org.wikipedia.test.view.SecondaryTestStr;
+import org.wikipedia.test.view.TestStr;
+import org.wikipedia.test.view.ViewTest;
+import org.wikipedia.theme.Theme;
+
+import static org.hamcrest.Matchers.is;
+import static org.junit.Assert.assertThat;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.verify;
+import static org.mockito.Mockito.when;
+import static org.wikipedia.descriptions.DescriptionEditView.Callback;
+import static org.wikipedia.util.StringUtil.emptyIfNull;
+
+public class DescriptionEditViewTest extends ViewTest {
+    private DescriptionEditView subject;
+
+    @Theory public void testWidth(@TestedOn(ints = {WIDTH_DP_XL, WIDTH_DP_L}) 
int widthDp,
+                                  @NonNull FontScale fontScale, @NonNull 
PrimaryTestStr title,
+                                  @NonNull SecondaryTestStr description,
+                                  @TestedOnBool boolean saving) {
+        setUp(widthDp, LayoutDirection.LOCALE, fontScale, Theme.LIGHT, title, 
description, saving);
+        snap(subject, title + "_title", description + "_description", saving ? 
"saving" : "unsaved");
+    }
+
+    @Theory public void testLayoutDirection(@NonNull LayoutDirection 
direction) {
+        setUp(WIDTH_DP_L, direction, FontScale.DEFAULT, Theme.LIGHT, 
PrimaryTestStr.SHORT,
+                SecondaryTestStr.SHORT, true);
+        snap(subject);
+    }
+
+    @Theory public void testTheme(@NonNull Theme theme, @TestedOnBool boolean 
saving) {
+        setUp(WIDTH_DP_L, LayoutDirection.LOCALE, FontScale.DEFAULT, theme, 
PrimaryTestStr.SHORT,
+                SecondaryTestStr.SHORT, saving);
+        snap(subject, saving ? "saving" : "unsaved");
+    }
+
+    @Theory public void testFocus(@NonNull Theme theme, @TestedOnBool boolean 
saving) {
+        setUp(WIDTH_DP_L, LayoutDirection.LOCALE, FontScale.DEFAULT, theme, 
PrimaryTestStr.SHORT,
+                SecondaryTestStr.SHORT, saving);
+        requestFocus(subject);
+        snap(subject, saving ? "saving" : "unsaved");
+    }
+
+    @Theory public void testSetCallback(@TestedOnBool boolean nul) {
+        defaultSetUp();
+        Callback callback = nul ? null : mock(Callback.class);
+        subject.setCallback(callback);
+
+        subject.onSaveClick();
+        if (callback != null) {
+            verify(callback).onSaveClick();
+        }
+    }
+
+    @Test public void testSetPageTitle() {
+        defaultSetUp();
+        PageTitle expected = mock(PageTitle.class);
+        when(expected.getDisplayText()).thenReturn("title");
+        when(expected.getDescription()).thenReturn("description");
+
+        subject.setPageTitle(expected);
+        assertThat(subject.pageTitleText.getText().toString(), 
is(expected.getDisplayText()));
+        assertThat(subject.getDescription(), is(expected.getDescription()));
+    }
+
+    // todo: resolve why the button doesn't show up yet here or in the actual 
screenshots above
+    // @Theory public void testSetSaveState(@TestedOnBool final boolean 
saving) {
+    //     defaultSetUp();
+    //     subject.setSaveState(saving);
+    //     assertThat(subject.saveButton.isShown(), is(!saving));
+    // }
+
+    @Theory public void testGetDescription(@TestedOnBool boolean nul) {
+        defaultSetUp();
+        String expected = nul ? null : "text";
+        subject.setDescription(expected);
+        assertThat(subject.getDescription(), is(emptyIfNull(expected)));
+    }
+
+    @Theory public void testSetTitle(@TestedOnBool boolean nul) {
+        defaultSetUp();
+        String expected = nul ? null : "text";
+        subject.setTitle(expected);
+        assertThat(subject.pageTitleText.getText().toString(), 
is(emptyIfNull(expected)));
+    }
+
+    @Theory public void testSetDescription(@TestedOnBool boolean nul) {
+        defaultSetUp();
+        String expected = nul ? null : "text";
+        subject.setDescription(expected);
+        assertThat(subject.editText.getText().toString(), 
is(emptyIfNull(expected)));
+    }
+
+    private void defaultSetUp() {
+        setUp(WIDTH_DP_L, LayoutDirection.LOCALE, FontScale.DEFAULT, 
Theme.LIGHT,
+                PrimaryTestStr.SHORT, SecondaryTestStr.SHORT, true);
+    }
+
+    private void setUp(int widthDp, @NonNull LayoutDirection layoutDirection,
+                       @NonNull FontScale fontScale, @NonNull Theme theme, 
@NonNull TestStr title,
+                       @NonNull TestStr description, boolean saving) {
+        setUp(widthDp, layoutDirection, fontScale, theme);
+
+        subject = new DescriptionEditView(ctx());
+        subject.setTitle(str(title));
+        subject.setDescription(str(description));
+        subject.setSaveState(saving);
+    }
+}
\ No newline at end of file
diff --git 
a/app/src/main/java/org/wikipedia/descriptions/DescriptionEditView.java 
b/app/src/main/java/org/wikipedia/descriptions/DescriptionEditView.java
index 54087c3..3e36696 100644
--- a/app/src/main/java/org/wikipedia/descriptions/DescriptionEditView.java
+++ b/app/src/main/java/org/wikipedia/descriptions/DescriptionEditView.java
@@ -7,6 +7,7 @@
 import android.support.annotation.ColorRes;
 import android.support.annotation.NonNull;
 import android.support.annotation.Nullable;
+import android.support.annotation.VisibleForTesting;
 import android.support.design.widget.FloatingActionButton;
 import android.support.v4.content.ContextCompat;
 import android.text.Editable;
@@ -69,10 +70,8 @@
 
     public void setPageTitle(@NonNull PageTitle pageTitle) {
         this.pageTitle = pageTitle;
-        originalDescription = 
StringUtil.emptyIfNull(pageTitle.getDescription());
-
-        pageTitleText.setText(pageTitle.getDisplayText());
-        editText.setText(pageTitle.getDescription());
+        setTitle(pageTitle.getDisplayText());
+        setDescription(StringUtil.emptyIfNull(pageTitle.getDescription()));
     }
 
     public void setSaveState(boolean saving) {
@@ -101,6 +100,15 @@
         updateCharCount();
     }
 
+    @VisibleForTesting void setTitle(@Nullable CharSequence text) {
+        pageTitleText.setText(text);
+    }
+
+    @VisibleForTesting void setDescription(@Nullable String text) {
+        originalDescription = text;
+        editText.setText(text);
+    }
+
     private void init() {
         inflate(getContext(), R.layout.view_description_edit, this);
         ButterKnife.bind(this);

-- 
To view, visit https://gerrit.wikimedia.org/r/319919
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I67b3250583784a3ba74b69bf46fbee76465dca71
Gerrit-PatchSet: 4
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Niedzielski <[email protected]>
Gerrit-Reviewer: BearND <[email protected]>
Gerrit-Reviewer: Brion VIBBER <[email protected]>
Gerrit-Reviewer: Dbrant <[email protected]>
Gerrit-Reviewer: Mholloway <[email protected]>
Gerrit-Reviewer: Niedzielski <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to