Set suw description textview to fixed id

Heavy theme supports to costomize description text style. Modify it to fixed id
that can be customized by partner resource.

Heavy theme screenshot: https://screenshot.googleplex.com/TL4M7wmTaPg
Set fixed id screenshot: https://screenshot.googleplex.com/CA6QHoNTQBZ

Test: atest
Bug: 121988926
Change-Id: I8882acd49e7d57f24afa9dd6f3e9abfd06556053
This commit is contained in:
pastychang
2019-04-12 16:22:17 +08:00
committed by Pasty Chang
parent 86b6be0784
commit fa68ec4f56
24 changed files with 26 additions and 24 deletions

View File

@@ -47,7 +47,7 @@ public class MasterClearConfirmTest {
masterClearConfirm.setSubtitle();
assertThat(((TextView) masterClearConfirm.mContentView
.findViewById(R.id.master_clear_confirm)).getText())
.findViewById(R.id.sud_layout_description)).getText())
.isEqualTo(mActivity.getString(R.string.master_clear_final_desc_esim));
}
@@ -61,7 +61,7 @@ public class MasterClearConfirmTest {
masterClearConfirm.setSubtitle();
assertThat(((TextView) masterClearConfirm.mContentView
.findViewById(R.id.master_clear_confirm)).getText())
.findViewById(R.id.sud_layout_description)).getText())
.isEqualTo(mActivity.getString(R.string.master_clear_final_desc));
}
}