Codeclean: accessibility content description

This commit is contained in:
Jimmy Shih
2014-01-13 14:25:33 -08:00
parent f43d2ab766
commit 2f64785a63
20 changed files with 77 additions and 59 deletions
@@ -22,7 +22,7 @@ limitations under the License.
android:paddingLeft="16dp"
android:paddingRight="16dp" >
<ImageView
android:contentDescription="@string/icon_application"
android:contentDescription="@string/image_application"
android:id="@+id/choose_activity_list_item_icon"
android:layout_height="@android:dimen/app_icon_size"
android:layout_width="@android:dimen/app_icon_size"
+4 -4
View File
@@ -19,7 +19,7 @@ limitations under the License.
android:layout_width="match_parent" >
<!-- Photo -->
<ImageView
android:contentDescription="@string/icon_marker"
android:contentDescription="@string/image_photo_marker"
android:id="@+id/list_item_photo"
android:layout_height="match_parent"
android:layout_width="match_parent"
@@ -31,7 +31,7 @@ limitations under the License.
<!-- A gradient on top of the text -->
<ImageView
android:alpha=".6"
android:contentDescription="@string/icon_marker"
android:contentDescription="@string/image_photo_marker"
android:id="@+id/list_item_text_gradient"
android:layout_height="match_parent"
android:layout_width="match_parent"
@@ -50,7 +50,7 @@ limitations under the License.
<TableRow>
<!-- Table 1: Row 1: Column 1: (icon) -->
<ImageView
android:contentDescription="@string/icon_track"
android:contentDescription="@string/image_track"
android:id="@+id/list_item_icon"
android:layout_gravity="center_vertical"
android:layout_height="wrap_content"
@@ -91,7 +91,7 @@ limitations under the License.
android:singleLine="true"
style="@style/TextSmall" />
<ImageView
android:contentDescription="@string/icon_marker"
android:contentDescription="@string/image_marker_count"
android:id="@+id/list_item_marker_count_icon"
android:layout_gravity="bottom"
android:layout_height="wrap_content"
+1 -1
View File
@@ -31,7 +31,7 @@ limitations under the License.
style="@style/TextMedium.WithIcon" />
<ImageButton
android:background="@drawable/my_location"
android:contentDescription="@string/icon_my_location"
android:contentDescription="@string/image_my_location"
android:id="@+id/map_my_location"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
@@ -23,7 +23,7 @@ limitations under the License.
android:layout_width="match_parent" >
<ImageView
android:background="@android:color/black"
android:contentDescription="@string/icon_marker"
android:contentDescription="@string/image_photo_marker"
android:id="@+id/marker_detail_waypoint_photo"
android:layout_height="match_parent"
android:layout_width="match_parent"
@@ -34,7 +34,7 @@ limitations under the License.
<!-- A gradient on top of the text -->
<ImageView
android:alpha=".6"
android:contentDescription="@string/icon_marker"
android:contentDescription="@string/image_photo_marker"
android:id="@+id/marker_detail_waypoint_text_gradient"
android:layout_height="match_parent"
android:layout_width="match_parent"
+2 -2
View File
@@ -28,7 +28,7 @@ limitations under the License.
android:layout_width="0dp" />
<ImageButton
android:background="@android:color/transparent"
android:contentDescription="@string/icon_record_track"
android:contentDescription="@string/image_record"
android:id="@+id/track_controller_record"
android:layout_height="wrap_content"
android:layout_weight="10"
@@ -56,7 +56,7 @@ limitations under the License.
</RelativeLayout>
<ImageButton
android:background="@android:color/transparent"
android:contentDescription="@string/icon_stop_recording"
android:contentDescription="@string/image_stop"
android:id="@+id/track_controller_stop"
android:layout_height="wrap_content"
android:layout_weight="10"
+1
View File
@@ -40,6 +40,7 @@ limitations under the License.
android:layout_weight="1"
android:layout_width="0dp" />
<ImageView
android:contentDescription="@string/image_arrow"
android:layout_height="wrap_content"
android:layout_weight="10"
android:layout_width="0dp"
+3 -3
View File
@@ -26,7 +26,7 @@ limitations under the License.
android:layout_weight="1"
style="@style/TrackWidgetVerticalSpacer" />
<ImageButton
android:contentDescription="@string/icon_record_track"
android:contentDescription="@string/image_record"
android:id="@+id/track_widget_record_button"
android:src="@drawable/button_record"
style="@style/TrackWidgetButton" />
@@ -91,7 +91,7 @@ limitations under the License.
</LinearLayout>
</LinearLayout>
<ImageButton
android:contentDescription="@string/icon_stop_recording"
android:contentDescription="@string/image_stop"
android:id="@+id/track_widget_stop_button"
android:src="@drawable/ic_button_stop_disabled"
style="@style/TrackWidgetButton" />
@@ -100,6 +100,6 @@ limitations under the License.
style="@style/TrackWidgetVerticalSpacer" />
</LinearLayout>
<ImageView
android:contentDescription="@string/my_tracks_app_name"
android:contentDescription="@string/image_my_tracks_logo"
style="@style/TrackWidgetLogo" />
</RelativeLayout>
+3 -3
View File
@@ -138,7 +138,7 @@ limitations under the License.
android:layout_weight="1"
style="@style/TrackWidgetVerticalSpacer" />
<ImageButton
android:contentDescription="@string/icon_record_track"
android:contentDescription="@string/image_record"
android:id="@+id/track_widget_record_button"
android:src="@drawable/button_record"
style="@style/TrackWidgetButton" />
@@ -146,7 +146,7 @@ limitations under the License.
android:id="@+id/track_widget_record_status"
style="@style/TrackWidgetRecordStatus" />
<ImageButton
android:contentDescription="@string/icon_stop_recording"
android:contentDescription="@string/image_stop"
android:id="@+id/track_widget_stop_button"
android:src="@drawable/ic_button_stop_disabled"
style="@style/TrackWidgetButton" />
@@ -156,6 +156,6 @@ limitations under the License.
</LinearLayout>
</LinearLayout>
<ImageView
android:contentDescription="@string/my_tracks_app_name"
android:contentDescription="@string/image_my_tracks_logo"
style="@style/TrackWidgetLogo" />
</RelativeLayout>
+3 -3
View File
@@ -138,7 +138,7 @@ limitations under the License.
android:layout_weight="1"
style="@style/TrackWidgetVerticalSpacer" />
<ImageButton
android:contentDescription="@string/icon_record_track"
android:contentDescription="@string/image_record"
android:id="@+id/track_widget_record_button"
android:src="@drawable/button_record"
style="@style/TrackWidgetButton" />
@@ -146,7 +146,7 @@ limitations under the License.
android:id="@+id/track_widget_record_status"
style="@style/TrackWidgetRecordStatus" />
<ImageButton
android:contentDescription="@string/icon_stop_recording"
android:contentDescription="@string/image_stop"
android:id="@+id/track_widget_stop_button"
android:src="@drawable/ic_button_stop_disabled"
style="@style/TrackWidgetButton" />
@@ -156,6 +156,6 @@ limitations under the License.
</LinearLayout>
</LinearLayout>
<ImageView
android:contentDescription="@string/my_tracks_app_name"
android:contentDescription="@string/image_my_tracks_logo"
style="@style/TrackWidgetLogo" />
</RelativeLayout>
+3 -3
View File
@@ -142,7 +142,7 @@ limitations under the License.
android:layout_weight="1"
style="@style/TrackWidgetVerticalSpacer" />
<ImageButton
android:contentDescription="@string/icon_record_track"
android:contentDescription="@string/image_record"
android:id="@+id/track_widget_record_button"
android:src="@drawable/button_record"
style="@style/TrackWidgetButton" />
@@ -150,7 +150,7 @@ limitations under the License.
android:id="@+id/track_widget_record_status"
style="@style/TrackWidgetRecordStatus" />
<ImageButton
android:contentDescription="@string/icon_stop_recording"
android:contentDescription="@string/image_stop"
android:id="@+id/track_widget_stop_button"
android:src="@drawable/ic_button_stop_disabled"
style="@style/TrackWidgetButton" />
@@ -160,6 +160,6 @@ limitations under the License.
</LinearLayout>
</LinearLayout>
<ImageView
android:contentDescription="@string/my_tracks_app_name"
android:contentDescription="@string/image_my_tracks_logo"
style="@style/TrackWidgetLogo4x4" />
</RelativeLayout>