diff options
author | Jordan Liu <jminjie@google.com> | 2017-10-12 18:17:47 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-10-12 18:17:47 +0000 |
commit | f9aaac27e82b5c9ab7163b64d33095722cd4bda7 (patch) | |
tree | d186cb6bc46f0495f560c6b43c9a2a3ef9caa4df /res | |
parent | f3895666b849482b23984dba39a1d2e6bb87070a (diff) | |
parent | e1ddef118b6a9c155e69abb0c9b4d346d2b9206b (diff) | |
download | Stk-f9aaac27e82b5c9ab7163b64d33095722cd4bda7.tar.gz |
Merge "Terminal shall display icon specified by DISPLAY TEXT command" am: 31056ddda0 am: 7f9a0643bb am: 950d9b0c2e
am: e1ddef118b
Change-Id: I17a1794b8ead9faebb380c8866b76b788895a0f4
Diffstat (limited to 'res')
-rwxr-xr-x | res/layout/stk_msg_dialog.xml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/res/layout/stk_msg_dialog.xml b/res/layout/stk_msg_dialog.xml new file mode 100755 index 0000000..8f0c23c --- /dev/null +++ b/res/layout/stk_msg_dialog.xml @@ -0,0 +1,46 @@ +<?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:layout_gravity="center" + android:orientation="vertical"> + + <ImageView + android:id="@+id/icon" + android:layout_width="@android:dimen/notification_large_icon_width" + android:layout_height="@android:dimen/notification_large_icon_height" + android:adjustViewBounds="true" + android:layout_gravity="center" + android:paddingTop="10dip" + android:scaleType="fitCenter"/> + + <ScrollView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:paddingTop="2dip" + android:paddingBottom="12dip" + android:paddingStart="14dip" + android:paddingEnd="10dip"> + <TextView android:id="@+id/message" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:padding="5dip" + android:textAppearance="?android:attr/textAppearanceMedium"/> + </ScrollView> + +</LinearLayout>
\ No newline at end of file |