Fix #336 - talkback issues
This commit is contained in:
parent
5e5257b01c
commit
e14572506c
|
@ -968,7 +968,8 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
||||||
holder.binding.visibilitySmall.setVisibility(View.GONE);
|
holder.binding.visibilitySmall.setVisibility(View.GONE);
|
||||||
holder.binding.reblogsCount.setText(String.valueOf(statusToDeal.reblogs_count));
|
holder.binding.reblogsCount.setText(String.valueOf(statusToDeal.reblogs_count));
|
||||||
holder.binding.favoritesCount.setText(String.valueOf(statusToDeal.favourites_count));
|
holder.binding.favoritesCount.setText(String.valueOf(statusToDeal.favourites_count));
|
||||||
holder.binding.time.setText(Helper.longDateToString(statusToDeal.created_at));
|
holder.binding.time.setText(Helper.dateDiff(context, statusToDeal.created_at));
|
||||||
|
Helper.absoluteDateTimeReveal(context, holder.binding.time, statusToDeal.created_at);
|
||||||
holder.binding.visibility.setImageResource(ressource);
|
holder.binding.visibility.setImageResource(ressource);
|
||||||
holder.binding.time.setVisibility(View.VISIBLE);
|
holder.binding.time.setVisibility(View.VISIBLE);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -78,6 +78,7 @@
|
||||||
android:layout_gravity="center_vertical"
|
android:layout_gravity="center_vertical"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
android:gravity="end"
|
android:gravity="end"
|
||||||
|
android:contentDescription="@string/display_timelines"
|
||||||
android:src="@drawable/ic_baseline_more_horiz_24"
|
android:src="@drawable/ic_baseline_more_horiz_24"
|
||||||
android:tint="?attr/iconColor"
|
android:tint="?attr/iconColor"
|
||||||
android:visibility="gone" />
|
android:visibility="gone" />
|
||||||
|
|
|
@ -553,6 +553,7 @@
|
||||||
style="@style/Widget.AppCompat.Button.Borderless"
|
style="@style/Widget.AppCompat.Button.Borderless"
|
||||||
android:layout_width="28dp"
|
android:layout_width="28dp"
|
||||||
android:layout_height="28dp"
|
android:layout_height="28dp"
|
||||||
|
android:contentDescription="@string/reply"
|
||||||
android:layout_marginStart="6dp"
|
android:layout_marginStart="6dp"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
app:srcCompat="@drawable/ic_reply" />
|
app:srcCompat="@drawable/ic_reply" />
|
||||||
|
@ -575,6 +576,7 @@
|
||||||
android:layout_marginStart="12dp"
|
android:layout_marginStart="12dp"
|
||||||
android:layout_marginTop="2dp"
|
android:layout_marginTop="2dp"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
|
android:contentDescription="@string/reblog_add"
|
||||||
app:sparkbutton_activeImage="@drawable/ic_repeat"
|
app:sparkbutton_activeImage="@drawable/ic_repeat"
|
||||||
app:sparkbutton_animationSpeed="1.5"
|
app:sparkbutton_animationSpeed="1.5"
|
||||||
app:sparkbutton_iconSize="28dp"
|
app:sparkbutton_iconSize="28dp"
|
||||||
|
@ -590,6 +592,7 @@
|
||||||
android:layout_marginStart="12dp"
|
android:layout_marginStart="12dp"
|
||||||
android:layout_marginTop="2dp"
|
android:layout_marginTop="2dp"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
|
android:contentDescription="@string/favourite_add"
|
||||||
app:sparkbutton_activeImage="@drawable/ic_baseline_star_24"
|
app:sparkbutton_activeImage="@drawable/ic_baseline_star_24"
|
||||||
app:sparkbutton_animationSpeed="1.5"
|
app:sparkbutton_animationSpeed="1.5"
|
||||||
app:sparkbutton_iconSize="28dp"
|
app:sparkbutton_iconSize="28dp"
|
||||||
|
@ -606,6 +609,7 @@
|
||||||
android:layout_marginTop="2dp"
|
android:layout_marginTop="2dp"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
android:contentDescription="@string/bookmark_add"
|
||||||
app:sparkbutton_activeImage="@drawable/ic_baseline_bookmark_24"
|
app:sparkbutton_activeImage="@drawable/ic_baseline_bookmark_24"
|
||||||
app:sparkbutton_animationSpeed="1.5"
|
app:sparkbutton_animationSpeed="1.5"
|
||||||
app:sparkbutton_iconSize="24dp"
|
app:sparkbutton_iconSize="24dp"
|
||||||
|
@ -619,6 +623,7 @@
|
||||||
android:layout_height="28dp"
|
android:layout_height="28dp"
|
||||||
android:layout_marginStart="12dp"
|
android:layout_marginStart="12dp"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
|
android:contentDescription="@string/cached_messages"
|
||||||
android:src="@drawable/ic_baseline_cached_24"
|
android:src="@drawable/ic_baseline_cached_24"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
@ -657,6 +662,7 @@
|
||||||
<androidx.appcompat.widget.AppCompatImageButton
|
<androidx.appcompat.widget.AppCompatImageButton
|
||||||
android:id="@+id/action_button_more"
|
android:id="@+id/action_button_more"
|
||||||
style="@style/Widget.AppCompat.Button.Borderless"
|
style="@style/Widget.AppCompat.Button.Borderless"
|
||||||
|
android:contentDescription="@string/display_options"
|
||||||
android:layout_width="28dp"
|
android:layout_width="28dp"
|
||||||
android:layout_height="28dp"
|
android:layout_height="28dp"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
|
|
|
@ -1470,4 +1470,8 @@
|
||||||
<string name="set_use_cache_indication">Timelines will be cached so the application will be faster.</string>
|
<string name="set_use_cache_indication">Timelines will be cached so the application will be faster.</string>
|
||||||
<string name="load_media_type_title">Load thumbnails for media</string>
|
<string name="load_media_type_title">Load thumbnails for media</string>
|
||||||
<string name="display_media">Display media</string>
|
<string name="display_media">Display media</string>
|
||||||
|
<string name="display_timelines">Display timelines</string>
|
||||||
|
<string name="cached_messages">Cached message</string>
|
||||||
|
<string name="reply">Reply</string>
|
||||||
|
<string name="display_options">Display options</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in New Issue