- Move emergency and SMS app preferences to default apps - Fix search on default apps - Make all default app prefs use AppListPreference - Some approximate UI work on AppListPreference Bug: 20210110 Change-Id: Id04086163c7e87c92a03af421a27018fb380b45d
53 lines
2.0 KiB
XML
Executable File
53 lines
2.0 KiB
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
** Copyright 2013, 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.
|
|
*/
|
|
-->
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
|
android:padding="6dip">
|
|
<ImageView
|
|
android:id="@+id/app_image"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:adjustViewBounds="true"
|
|
android:padding="6dip"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/app_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:textColor="?android:attr/textColorAlertDialogListItem"
|
|
android:gravity="center_vertical"
|
|
android:paddingEnd="7dip"
|
|
android:ellipsize="marquee"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/default_label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/default_app"
|
|
android:visibility="gone"
|
|
android:paddingEnd="7dip"
|
|
/>
|
|
</LinearLayout>
|