Merge "Fix some history a11y issues" into rvc-dev am: 2f77fd08e9
am: 2b541018da
am: 19ba74919f
am: 2554c8d8b8
Change-Id: I55e4edd27cc9a59bb2cca94ab7f55902fb87b762
This commit is contained in:
@@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
<ScrollView
|
<ScrollView
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
|
||||||
android:id="@+id/scroll"
|
android:id="@+id/scroll"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
@@ -43,6 +42,7 @@
|
|||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:contentDescription="@string/notification_history"
|
android:contentDescription="@string/notification_history"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
|
android:focusable="false"
|
||||||
android:tint="?android:attr/colorControlNormal"
|
android:tint="?android:attr/colorControlNormal"
|
||||||
android:src="@drawable/ic_history" />
|
android:src="@drawable/ic_history" />
|
||||||
|
|
||||||
@@ -55,6 +55,7 @@
|
|||||||
android:layout_marginStart="48dp"
|
android:layout_marginStart="48dp"
|
||||||
android:layout_marginEnd="48dp"
|
android:layout_marginEnd="48dp"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:focusable="true"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
android:text="@string/notification_history_off_title_extended" />
|
android:text="@string/notification_history_off_title_extended" />
|
||||||
|
|
||||||
@@ -68,6 +69,7 @@
|
|||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:textAlignment="center"
|
android:textAlignment="center"
|
||||||
|
android:focusable="true"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:text="@string/notification_history_off_summary" />
|
android:text="@string/notification_history_off_summary" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@@ -106,11 +108,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:clipChildren="true"
|
android:clipChildren="true"
|
||||||
settings:fastScrollEnabled="true"
|
android:scrollbars="none"/>
|
||||||
settings:fastScrollHorizontalThumbDrawable="@drawable/thumb_drawable"
|
|
||||||
settings:fastScrollHorizontalTrackDrawable="@drawable/line_drawable"
|
|
||||||
settings:fastScrollVerticalThumbDrawable="@drawable/thumb_drawable"
|
|
||||||
settings:fastScrollVerticalTrackDrawable="@drawable/line_drawable"/>
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@@ -141,11 +139,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:clipChildren="true"
|
android:clipChildren="true"
|
||||||
settings:fastScrollEnabled="true"
|
android:scrollbars="none"/>
|
||||||
settings:fastScrollHorizontalThumbDrawable="@drawable/thumb_drawable"
|
|
||||||
settings:fastScrollHorizontalTrackDrawable="@drawable/line_drawable"
|
|
||||||
settings:fastScrollVerticalThumbDrawable="@drawable/thumb_drawable"
|
|
||||||
settings:fastScrollVerticalTrackDrawable="@drawable/line_drawable"/>
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@@ -16,7 +16,6 @@
|
|||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
@@ -84,11 +83,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:clipChildren="true"
|
android:clipChildren="true"
|
||||||
settings:fastScrollEnabled="true"
|
android:scrollbars="none"/>
|
||||||
settings:fastScrollHorizontalThumbDrawable="@drawable/thumb_drawable"
|
|
||||||
settings:fastScrollHorizontalTrackDrawable="@drawable/line_drawable"
|
|
||||||
settings:fastScrollVerticalThumbDrawable="@drawable/thumb_drawable"
|
|
||||||
settings:fastScrollVerticalTrackDrawable="@drawable/line_drawable"/>
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
|
@@ -79,6 +79,7 @@
|
|||||||
android:layout_marginEnd="6dp"
|
android:layout_marginEnd="6dp"
|
||||||
android:paddingTop="1dp"
|
android:paddingTop="1dp"
|
||||||
android:scaleType="fitCenter"
|
android:scaleType="fitCenter"
|
||||||
|
android:contentDescription="@*android:string/notification_work_profile_content_description"
|
||||||
android:layout_toStartOf="@id/timestamp"
|
android:layout_toStartOf="@id/timestamp"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user