summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorJordan Liu <jminjie@google.com>2017-10-12 18:13:10 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-12 18:13:10 +0000
commite1ddef118b6a9c155e69abb0c9b4d346d2b9206b (patch)
tree9a8887bc26c5ae92319fa0abe00ddf5337b701f2 /res
parent163d430201b71f878bb1f18f09c1962765036c8e (diff)
parent950d9b0c2e9c1b60bd5a405b3325db54928aa966 (diff)
downloadStk-e1ddef118b6a9c155e69abb0c9b4d346d2b9206b.tar.gz
Merge "Terminal shall display icon specified by DISPLAY TEXT command" am: 31056ddda0 am: 7f9a0643bb
am: 950d9b0c2e Change-Id: Icb4cb892e2e4c2eff29392cdae0704688583bcd9
Diffstat (limited to 'res')
-rwxr-xr-xres/layout/stk_msg_dialog.xml46
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