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

Commit 4284a01c authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Correct content description of phonetic name fields expand/collapse (1/2)

Created phonetic_name_edit_expansion_view with correct content description
based on name_edit_expansion_view.

Bug: 19032648
Change-Id: I722b0060699c01f3f5c6184f7aa392ebddb73d92
parent 8160caba
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  Copyright (C) 2015 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.
  -->

<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="@dimen/editor_min_line_item_height"
    android:layout_gravity="top"
    android:contentDescription="@string/expand_collapse_phonetic_name_fields_description"
    android:importantForAccessibility="yes"
    android:focusable="true"
    android:clickable="true">
    <ImageView
        android:id="@+id/expansion_view"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:duplicateParentState="true"
        android:background="?android:attr/selectableItemBackground"
        android:paddingLeft="@dimen/editor_round_button_padding_left"
        android:paddingRight="@dimen/editor_round_button_padding_right"
        android:paddingStart="@dimen/editor_round_button_padding_left"
        android:paddingEnd="@dimen/editor_round_button_padding_right"
        android:paddingTop="@dimen/editor_round_button_padding_top"
        android:paddingBottom="@dimen/editor_round_button_padding_bottom" />
</FrameLayout>
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@

    <include
        android:id="@+id/expansion_view_container"
        layout="@layout/name_edit_expansion_view"
        layout="@layout/phonetic_name_edit_expansion_view"
        android:visibility="visible" />

    <!-- This isn't used in PhoneticNameEditorView. It is only included so that