diff options
author | Nebojsa Cvetkovic <nebkat@gmail.com> | 2013-12-31 17:16:15 +0000 |
---|---|---|
committer | Danesh M <daneshm90@gmail.com> | 2014-01-24 16:25:19 -0800 |
commit | 9bbb6cf6d78824d4c68382f33b654c43f4aaa109 (patch) | |
tree | 96cb8961b56871f89949647514be711b161f3697 /res/layout | |
parent | e297d9676bf5d4e7925e51e808bef063d22f2078 (diff) | |
download | android_packages_apps_Trebuchet-9bbb6cf6d78824d4c68382f33b654c43f4aaa109.tar.gz android_packages_apps_Trebuchet-9bbb6cf6d78824d4c68382f33b654c43f4aaa109.tar.bz2 android_packages_apps_Trebuchet-9bbb6cf6d78824d4c68382f33b654c43f4aaa109.zip |
FontStylePreference: Initial preference with choice of font family
Change-Id: Idbb400605e47cd4f64a7edd05ceea05504727efc
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/list_item_checkable.xml | 26 | ||||
-rw-r--r-- | res/layout/preference_font_style.xml | 11 |
2 files changed, 37 insertions, 0 deletions
diff --git a/res/layout/list_item_checkable.xml b/res/layout/list_item_checkable.xml new file mode 100644 index 000000000..86d6b1a4c --- /dev/null +++ b/res/layout/list_item_checkable.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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. +--> +<CheckedTextView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="?android:attr/listPreferredItemHeightSmall" + android:textAppearance="?android:attr/textAppearanceMedium" + android:textColor="?android:attr/textColorAlertDialogListItem" + android:gravity="center_vertical" + android:paddingStart="16dip" + android:paddingEnd="16dip" + android:checkMark="?android:attr/listChoiceIndicatorSingle" + android:ellipsize="marquee" /> diff --git a/res/layout/preference_font_style.xml b/res/layout/preference_font_style.xml new file mode 100644 index 000000000..5356ebdf1 --- /dev/null +++ b/res/layout/preference_font_style.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + <ListView android:id="@android:id/list" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:choiceMode="singleChoice"/> +</LinearLayout>
\ No newline at end of file |