Add A11y SUW hub page. Minor alterations of
Magnification screen to be consistent wtih most recent desigs. Change-Id: I191f6f66edb26597db6f4ed41311998b8ce26ca4
This commit is contained in:
48
res/layout/preference_button.xml
Normal file
48
res/layout/preference_button.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?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.
|
||||
-->
|
||||
|
||||
<!-- Layout for a ButtonPreference. -->
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="@dimen/accessibility_button_preference_padding_top_bottom"
|
||||
android:paddingTop="@dimen/accessibility_button_preference_padding_top_bottom"
|
||||
android:paddingStart="@dimen/accessibility_layout_margin_start_end"
|
||||
android:paddingEnd="@dimen/accessibility_layout_margin_start_end"
|
||||
android:focusable="true"
|
||||
android:selectable="false"
|
||||
android:persistent="false" >
|
||||
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+android:id/title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:selectable="true"
|
||||
android:persistent="false"
|
||||
android:gravity="left|center" />
|
||||
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+android:id/summary"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||
android:selectable="true"
|
||||
android:persistent="false"
|
||||
android:gravity="left|center" />
|
||||
|
||||
</LinearLayout>
|
Reference in New Issue
Block a user