Cleaned up content descriptions and added the last missing ones. Closes #122
This commit is contained in:
parent
ea7f666062
commit
3bf84f9b7d
5 changed files with 40 additions and 16 deletions
|
@ -25,7 +25,7 @@
|
|||
android:paddingRight="10dp"
|
||||
android:paddingLeft="24dp"
|
||||
android:tint="?attr/colorAccent"
|
||||
android:contentDescription="@string/action_follow" />
|
||||
android:contentDescription="@null" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/notification_text"
|
||||
|
@ -52,7 +52,7 @@
|
|||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:contentDescription="@null" />
|
||||
android:contentDescription="@string/action_view_profile" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:id="@+id/status_container"
|
||||
android:contentDescription="@string/action_view_thread">
|
||||
android:id="@+id/status_container">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
|
@ -104,7 +103,8 @@
|
|||
android:layout_toRightOf="@+id/status_avatar"
|
||||
android:layout_toEndOf="@+id/status_avatar"
|
||||
android:layout_below="@+id/status_name_bar"
|
||||
android:layout_marginBottom="4dp">
|
||||
android:layout_marginBottom="4dp"
|
||||
android:focusable="true">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -112,7 +112,7 @@
|
|||
android:id="@+id/status_content_warning_description"
|
||||
android:text="Hello world"
|
||||
android:textColor="?android:textColorPrimary"
|
||||
android:paddingRight="8dp"/>
|
||||
android:paddingRight="8dp" />
|
||||
|
||||
<ToggleButton
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -137,7 +137,8 @@
|
|||
android:layout_marginBottom="4dp"
|
||||
android:layout_toRightOf="@+id/status_avatar"
|
||||
android:layout_toEndOf="@+id/status_avatar"
|
||||
android:layout_below="@+id/status_content_warning_bar" />
|
||||
android:layout_below="@+id/status_content_warning_bar"
|
||||
android:focusable="true" />
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/status_media_preview_container"
|
||||
|
@ -165,7 +166,7 @@
|
|||
android:layout_marginRight="2dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:layout_marginTop="@dimen/status_media_preview_top_margin"
|
||||
android:contentDescription="@null" />
|
||||
android:contentDescription="@string/action_view_media" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/status_media_preview_1"
|
||||
|
@ -175,7 +176,7 @@
|
|||
android:layout_marginLeft="2dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:layout_marginTop="@dimen/status_media_preview_top_margin"
|
||||
android:contentDescription="@null" />
|
||||
android:contentDescription="@string/action_view_media" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
@ -192,7 +193,7 @@
|
|||
android:layout_weight="1"
|
||||
android:layout_marginRight="2dp"
|
||||
android:scaleType="centerCrop"
|
||||
android:contentDescription="@null" />
|
||||
android:contentDescription="@string/action_view_media" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/status_media_preview_3"
|
||||
|
@ -201,7 +202,7 @@
|
|||
android:layout_marginLeft="2dp"
|
||||
android:layout_weight="1"
|
||||
android:scaleType="centerCrop"
|
||||
android:contentDescription="@null" />
|
||||
android:contentDescription="@string/action_view_media" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue