diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-02-22 20:48:36 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-02-22 20:48:36 +0000 |
commit | 494552349aefe18dd3dea0dd656d5cd48f813e64 (patch) | |
tree | 5999cb62049453a685260d636bade06d591df5f8 /java/com/android/dialer/dialpadview/res/layout/row_deviceid.xml | |
parent | b3772ecffe9901d9a55c3f3284cc652057b43f8b (diff) | |
parent | 9c9175fc3cf874d7b1e8f6334b8ba709a9e3a310 (diff) |
Merge "Show IMEI/MEID in hex, dec, and barcode when appropriate"
Diffstat (limited to 'java/com/android/dialer/dialpadview/res/layout/row_deviceid.xml')
-rw-r--r-- | java/com/android/dialer/dialpadview/res/layout/row_deviceid.xml | 49 |
1 files changed, 49 insertions, 0 deletions
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> |