diff options
-rw-r--r-- | res/layout/photoeditor_actionbar.xml | 6 | ||||
-rw-r--r-- | res/layout/photoeditor_effects_color.xml | 1 | ||||
-rw-r--r-- | res/layout/photoeditor_effects_menu.xml | 12 | ||||
-rw-r--r-- | res/values/photoeditor_strings.xml | 22 |
4 files changed, 35 insertions, 6 deletions
diff --git a/res/layout/photoeditor_actionbar.xml b/res/layout/photoeditor_actionbar.xml index e0adbbef9..c82faca2f 100644 --- a/res/layout/photoeditor_actionbar.xml +++ b/res/layout/photoeditor_actionbar.xml @@ -39,11 +39,13 @@ <com.android.gallery3d.photoeditor.ImageActionButton android:id="@+id/undo_button" style="@style/ImageActionButton" - android:src="@drawable/photoeditor_undo"/> + android:src="@drawable/photoeditor_undo" + android:contentDescription="@string/photoeditor_undo"/> <com.android.gallery3d.photoeditor.ImageActionButton android:id="@+id/redo_button" style="@style/ImageActionButton" - android:src="@drawable/photoeditor_redo"/> + android:src="@drawable/photoeditor_redo" + android:contentDescription="@string/photoeditor_redo"/> <ViewSwitcher android:id="@+id/save_share_buttons" diff --git a/res/layout/photoeditor_effects_color.xml b/res/layout/photoeditor_effects_color.xml index 72cfe7a01..a2a88b2ac 100644 --- a/res/layout/photoeditor_effects_color.xml +++ b/res/layout/photoeditor_effects_color.xml @@ -43,6 +43,7 @@ <TextView android:id="@+id/effect_label" android:text="@string/grayscale" + android:contentDescription="@string/accessibility_black_and_white" style="@style/EffectLabel"/> </com.android.gallery3d.photoeditor.actions.GrayscaleAction> <com.android.gallery3d.photoeditor.actions.SepiaAction style="@style/Effect"> diff --git a/res/layout/photoeditor_effects_menu.xml b/res/layout/photoeditor_effects_menu.xml index a0b102dbe..2cc170110 100644 --- a/res/layout/photoeditor_effects_menu.xml +++ b/res/layout/photoeditor_effects_menu.xml @@ -26,19 +26,23 @@ <com.android.gallery3d.photoeditor.ImageActionButton android:id="@+id/exposure_button" style="@style/EffectsMenuActionButton" - android:src="@drawable/photoeditor_exposure"/> + android:src="@drawable/photoeditor_exposure" + android:contentDescription="@string/photoeditor_exposure"/> <com.android.gallery3d.photoeditor.ImageActionButton android:id="@+id/artistic_button" style="@style/EffectsMenuActionButton" - android:src="@drawable/photoeditor_artistic"/> + android:src="@drawable/photoeditor_artistic" + android:contentDescription="@string/photoeditor_artistic"/> <com.android.gallery3d.photoeditor.ImageActionButton android:id="@+id/color_button" style="@style/EffectsMenuActionButton" - android:src="@drawable/photoeditor_color"/> + android:src="@drawable/photoeditor_color" + android:contentDescription="@string/photoeditor_color"/> <com.android.gallery3d.photoeditor.ImageActionButton android:id="@+id/fix_button" style="@style/EffectsMenuActionButton" - android:src="@drawable/photoeditor_fix"/> + android:src="@drawable/photoeditor_fix" + android:contentDescription="@string/photoeditor_fix"/> </LinearLayout> </FrameLayout> diff --git a/res/values/photoeditor_strings.xml b/res/values/photoeditor_strings.xml index f53e5a6b1..59312b509 100644 --- a/res/values/photoeditor_strings.xml +++ b/res/values/photoeditor_strings.xml @@ -75,6 +75,9 @@ <!-- Name for the photo effect that converts colors to black-and-white, abbreviated B&W. [CHAR LIMIT=15] --> <string name="grayscale">B&W</string> + <!-- Name for the photo effect that converts colors to black-and-white in accessibility mode [CHAR LIMIT=15] --> + <string name="accessibility_black_and_white">Black and white</string> + <!-- Name for the photo effect that adds highlights. [CHAR LIMIT=15] --> <string name="highlight">Highlights</string> @@ -134,4 +137,23 @@ <!-- Tool-tip toast shown when the user chooses to straighten photo. [CHAR LIMIT=40] --> <string name="straighten_tooltip">Drag photo to straighten it</string> + + <!-- Name for the exposure adjustment button in photo effects editor menu. [CHAR LIMIT=40] --> + <string name="photoeditor_exposure">Exposure</string> + + <!-- Name for the color adjustment button in photo effects editor menu. [CHAR LIMIT=40] --> + <string name="photoeditor_color">Color editing</string> + + <!-- Name for the artistic effect button in photo effects editor menu. [CHAR LIMIT=40] --> + <string name="photoeditor_artistic">Artistic effect</string> + + <!-- Name for the fix up button in photo effects editor menu. [CHAR LIMIT=40] --> + <string name="photoeditor_fix">Fix up</string> + + <!-- Name for the undo button in photo editor action bar. [CHAR LIMIT=40] --> + <string name="photoeditor_undo">Undo</string> + + <!-- Name for the redo button in photo editor action bar. [CHAR LIMIT=40] --> + <string name="photoeditor_redo">Redo</string> + </resources> |