diff options
Diffstat (limited to 'java/com/android/dialer/dialpadview/res/layout')
-rw-r--r-- | java/com/android/dialer/dialpadview/res/layout/dialog_deviceids.xml | 26 | ||||
-rw-r--r-- | java/com/android/dialer/dialpadview/res/layout/row_deviceid.xml | 49 |
2 files changed, 75 insertions, 0 deletions
diff --git a/java/com/android/dialer/dialpadview/res/layout/dialog_deviceids.xml b/java/com/android/dialer/dialpadview/res/layout/dialog_deviceids.xml new file mode 100644 index 000000000..89e256bde --- /dev/null +++ b/java/com/android/dialer/dialpadview/res/layout/dialog_deviceids.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2018 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:layout_width="match_parent" + android:layout_height="match_parent"> + <LinearLayout + android:id="@+id/deviceids_holder" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingStart="?dialogPreferredPadding" + android:paddingEnd="?dialogPreferredPadding" + android:orientation="vertical"/> +</ScrollView> diff --git a/java/com/android/dialer/dialpadview/res/layout/row_deviceid.xml b/java/com/android/dialer/dialpadview/res/layout/row_deviceid.xml new file mode 100644 index 000000000..53f3e5d0d --- /dev/null +++ b/java/com/android/dialer/dialpadview/res/layout/row_deviceid.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2018 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:layout_marginTop="?dialogPreferredPadding" + android:orientation="vertical"> + <TextView + style="@style/DeviceIdBody" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/hex"/> + <TextView + android:id="@+id/deviceid_hex" + style="@style/DeviceIdBody" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + <TextView + android:id="@+id/deviceid_dec_label" + style="@style/DeviceIdBody" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/dec" + android:visibility="gone"/> + <TextView + android:id="@+id/deviceid_dec" + style="@style/DeviceIdBody" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + <ImageView + android:id="@+id/deviceid_barcode" + android:layout_width="match_parent" + android:layout_height="@dimen/barcode_height" + android:layout_margin="24dp" + android:layout_gravity="center_horizontal"/> +</LinearLayout> |