diff options
author | Eric Erfanian <erfanian@google.com> | 2017-05-16 01:55:50 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-05-16 01:55:50 +0000 |
commit | 8a66e28c5e02b354d48acd9c11fc6ab00761030e (patch) | |
tree | b606f1899f80fcd0ea3ee753ce799883d5a673ab /java/com/android/dialer/about/res/layout | |
parent | 3657de5188c92a9033fe57e9cb6d40bab0ec59e0 (diff) | |
parent | c57430a61eab62e88372f386c75989dab6332608 (diff) |
Merge "Update Dialer to v10 RC32" into oc-dev am: 0c9dbf507b
am: c57430a61e
Change-Id: Ib32ae1641d7afb8a97852f16fd77dd16cb510fc4
Diffstat (limited to 'java/com/android/dialer/about/res/layout')
4 files changed, 130 insertions, 0 deletions
diff --git a/java/com/android/dialer/about/res/layout/dummy_placeholder.xml b/java/com/android/dialer/about/res/layout/dummy_placeholder.xml new file mode 100644 index 000000000..6d867ef55 --- /dev/null +++ b/java/com/android/dialer/about/res/layout/dummy_placeholder.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2017 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 + --> +<!-- See Licenses.java for why this exists. --> +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/dummy_placeholder" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> diff --git a/java/com/android/dialer/about/res/layout/license.xml b/java/com/android/dialer/about/res/layout/license.xml new file mode 100644 index 000000000..ef67982a1 --- /dev/null +++ b/java/com/android/dialer/about/res/layout/license.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2017 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:minHeight="?android:attr/listPreferredItemHeight" + android:gravity="center_vertical" + android:paddingRight="?android:attr/scrollbarSize" + android:baselineAligned="false" > + + <TextView android:id="@+id/license" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="15dip" + android:layout_marginLeft="15dip" + android:layout_marginEnd="6dip" + android:layout_marginRight="6dip" + android:layout_marginTop="6dip" + android:layout_marginBottom="6dip" + android:singleLine="true" + android:textAppearance="?android:attr/textAppearanceMediumInverse" + android:textColor="?android:attr/textColorPrimary" + android:ellipsize="marquee" + android:fadingEdge="horizontal" /> + +</LinearLayout> diff --git a/java/com/android/dialer/about/res/layout/license_menu_activity.xml b/java/com/android/dialer/about/res/layout/license_menu_activity.xml new file mode 100644 index 000000000..8ed47bf68 --- /dev/null +++ b/java/com/android/dialer/about/res/layout/license_menu_activity.xml @@ -0,0 +1,35 @@ +<!-- + ~ Copyright (C) 2017 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:orientation="vertical" + android:layout_height="match_parent" + android:layout_width="match_parent" + android:background="@android:color/transparent"> + + <ListView android:id="@+id/license_list" + android:layout_width="match_parent" + android:layout_height="0dp" + android:layout_weight="1" + android:paddingTop="0dp" + android:paddingBottom="0dp" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:scrollbarStyle="outsideOverlay" + android:clipToPadding="false" + android:drawSelectorOnTop="false" + android:cacheColorHint="@android:color/transparent" + android:scrollbarAlwaysDrawVerticalTrack="true" /> +</LinearLayout> diff --git a/java/com/android/dialer/about/res/layout/license_scrollview.xml b/java/com/android/dialer/about/res/layout/license_scrollview.xml new file mode 100644 index 000000000..f58bc2f43 --- /dev/null +++ b/java/com/android/dialer/about/res/layout/license_scrollview.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2017 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 + --> + +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/license_activity_scrollview" + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <TextView + android:id="@+id/license_activity_textview" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:typeface="monospace" + android:paddingStart="16dip" + android:paddingLeft="16dip" + android:paddingEnd="16dip" + android:paddingRight="16dip" + android:paddingTop="8dip" + android:paddingBottom="8dip" /> +</ScrollView>
\ No newline at end of file |