Remove "See more" from wifi/bluetooth slices

- Also set the height of SliceView back to wrap_content as the space our
content needs can be satisfied with MODE_LARGE.

Change-Id: Ibaa514ac9c022c2723d99e5104f8d5ec63f14661
Fixes: 118763869
Test: robotests, visual
This commit is contained in:
Emily Chuang
2018-11-01 11:38:25 +08:00
committed by Fan Zhang
parent e4b4923dd0
commit 4b08270d8c
6 changed files with 10 additions and 30 deletions

View File

@@ -88,9 +88,8 @@ public class WifiSliceTest {
int rows = SliceQuery.findAll(wifiSlice, FORMAT_SLICE, HINT_LIST_ITEM,
null /* nonHints */).size();
// All AP rows + title row + see more row
// (see more row will drop the last AP row, thus -1)
assertThat(rows).isEqualTo(DEFAULT_EXPANDED_ROW_COUNT - 1 + 2);
// All AP rows + title row
assertThat(rows).isEqualTo(DEFAULT_EXPANDED_ROW_COUNT + 1);
}
@Test