diff options
Diffstat (limited to 'java/com/android/dialer/interactions/res/layout')
-rw-r--r-- | java/com/android/dialer/interactions/res/layout/phone_disambig_item.xml | 43 | ||||
-rw-r--r-- | java/com/android/dialer/interactions/res/layout/set_primary_checkbox.xml | 32 |
2 files changed, 75 insertions, 0 deletions
diff --git a/java/com/android/dialer/interactions/res/layout/phone_disambig_item.xml b/java/com/android/dialer/interactions/res/layout/phone_disambig_item.xml new file mode 100644 index 000000000..879ea0e96 --- /dev/null +++ b/java/com/android/dialer/interactions/res/layout/phone_disambig_item.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 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. +--> + +<view xmlns:android="http://schemas.android.com/apk/res/android" + class="com.android.contacts.common.widget.ActivityTouchLinearLayout" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingStart="30dip" + android:paddingEnd="30dip" + android:gravity="center_vertical" + android:minHeight="?android:attr/listPreferredItemHeight" + android:orientation="vertical"> + + <TextView + android:id="@android:id/text1" + android:textStyle="bold" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceMedium"/> + + <!-- Phone number should be displayed ltr --> + <TextView + android:id="@android:id/text2" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="-4dip" + android:textAppearance="?android:attr/textAppearanceSmall" + android:textDirection="ltr"/> + +</view> diff --git a/java/com/android/dialer/interactions/res/layout/set_primary_checkbox.xml b/java/com/android/dialer/interactions/res/layout/set_primary_checkbox.xml new file mode 100644 index 000000000..62ef4b76f --- /dev/null +++ b/java/com/android/dialer/interactions/res/layout/set_primary_checkbox.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 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="wrap_content" + android:paddingStart="14dip" + android:paddingEnd="15dip" + android:orientation="vertical"> + + <CheckBox + android:id="@+id/setPrimary" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:clickable="true" + android:focusable="true" + android:text="@string/make_primary"/> +</LinearLayout> |