Adding contentDescription to ViewPager in font/display size settings.

Bug: 27326035

Change-Id: I416c05f2fc7c9238a61b8d512f09cb834f8ec537
This commit is contained in:
Noah Wang
2016-03-29 21:32:18 -07:00
parent 8870706614
commit a8ef32b969
2 changed files with 4 additions and 1 deletions

View File

@@ -27,7 +27,8 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:background="?android:attr/colorBackgroundFloating" />
android:background="?android:attr/colorBackgroundFloating"
android:contentDescription="@string/preview_pager_content_description" />
<TextView
android:layout_width="match_parent"

View File

@@ -147,6 +147,8 @@
<!-- Used for diagnostic info screens, precise translation isn't needed. Formats the SD card in the phone, meaning it will be erased and reformatted -->
<string name="sdcard_format" product="default">Erase SD card</string>
<!-- Content description for preview pager. [CHAR LIMIT=NONE] -->
<string name="preview_pager_content_description">Preview</string>
<!-- Content description for dot pager indicator for preview pager. [CHAR LIMIT=NONE] -->
<string name="preview_page_indicator_content_description">Preview, page <xliff:g id="current_page" example="3">%1$d</xliff:g> of <xliff:g id="num_pages" example="9">%2$d</xliff:g></string>