Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd25287f authored by Peter_Liang's avatar Peter_Liang Committed by Automerger Merge Worker
Browse files

Refine the banner view for accessibility features. am: f78e7f59

Change-Id: I6e0f879a5ce33f121b40363b0737b987f0b4a639
parents d261a4c1 f78e7f59
Loading
Loading
Loading
Loading
+692 KiB
Loading image diff...
−4.83 KiB
Loading image diff...
+1.65 MiB
Loading image diff...
+0 −31
Original line number Diff line number Diff line
<!--
  ~ Copyright (C) 2016 The Android Open Source Project
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License
  -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="360dp"
        android:height="184dp"
        android:viewportWidth="360"
        android:viewportHeight="184">

    <path
        android:fillColor="#E9F0F9"
        android:pathData="M 0 0 H 360 V 184 H 0 V 0 Z" />
    <path
        android:fillColor="#444445"
        android:pathData="M217.6,179h-75.1c-5,0-9-4-9-9V14c0-5,4-9,9-9h75.1c5,0,9,4,9,9V170C226.6,174.9,222.5,179,217.6,179z" />
    <path
        android:fillColor="#000000"
        android:pathData="M 180 9.6 C 181.1045695 9.6 182 10.4954305003 182 11.6 C 182 12.7045694997 181.1045695 13.6 180 13.6 C 178.8954305 13.6 178 12.7045694997 178 11.6 C 178 10.4954305003 178.8954305 9.6 180 9.6 Z" />
</vector>
+0 −40
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:clipChildren="true"
    android:clipToPadding="true">

    <ImageView
        android:id="@+id/video_background"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:src="@drawable/accessibility_screen_magnification_background"
        android:scaleType="fitXY"
        android:adjustViewBounds="true"
        android:importantForAccessibility="noHideDescendants" />

    <VideoView
        android:id="@+id/video"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignTop="@id/video_background"
        android:layout_centerHorizontal="true"
        android:importantForAccessibility="noHideDescendants" />

</RelativeLayout>
 No newline at end of file
Loading