Improve nearby swap splash layout

* Rename ids to something meaningful
* Remove inner layouts from constraint layout
* Use same text and button styles
* Make sure the background image doesn't overlap with the text
This commit is contained in:
mueller-ma
2019-03-17 00:04:40 +01:00
parent dc59d48be3
commit 05bbe94b47
5 changed files with 103 additions and 107 deletions

View File

@@ -204,7 +204,7 @@ public class MainActivityEspressoTest {
allOf(withText(R.string.main_menu__swap_nearby), isDisplayed()));
nearbyBottonNavButton.perform(click());
ViewInteraction findPeopleButton = onView(
allOf(withId(R.id.button), withText(R.string.nearby_splash__find_people_button), isDisplayed()));
allOf(withId(R.id.find_people_button), withText(R.string.nearby_splash__find_people_button), isDisplayed()));
findPeopleButton.perform(click());
onView(withText(R.string.swap_send_fdroid)).check(matches(isDisplayed()));
}