blob: 428a3a139955a5d97ab008c8efca78f8bf3cff6b [file] [log] [blame]
Jean Chalard0cc05442013-03-15 19:00:51 +09001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4**
5** Copyright 2012, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11** http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20<!-- TODO: Remove paddingRight, layout_marginLeft, layout_marginRight for API version 17+ -->
21<LinearLayout
22 xmlns:android="http://schemas.android.com/apk/res/android"
23 android:minHeight="?android:attr/listPreferredItemHeight"
24 android:gravity="center_vertical"
25 android:paddingRight="?android:attr/scrollbarSize"
26 android:paddingEnd="?android:attr/scrollbarSize"
27 android:background="?android:attr/selectableItemBackground"
28 android:layout_width="match_parent"
29 android:layout_height="wrap_content"
30 android:layout_marginLeft="15dip"
31 android:layout_marginStart="15dip"
32 android:layout_marginRight="6dip"
33 android:layout_marginEnd="6dip"
34 android:layout_marginTop="6dip"
35 android:layout_marginBottom="6dip"
36 android:layout_weight="1">
37
38 <LinearLayout
39 android:layout_width="match_parent"
40 android:layout_height="wrap_content"
41 android:layout_weight="1"
42 android:orientation="vertical">
43
44 <TextView
45 android:id="@+android:id/title"
46 android:layout_marginLeft="5dip"
47 android:layout_marginStart="5dip"
48 android:layout_width="wrap_content"
49 android:layout_height="wrap_content"
50 android:singleLine="true"
51 android:textAppearance="?android:attr/textAppearanceMedium"
52 android:ellipsize="marquee"
53 android:fadingEdge="horizontal" />
54
Jean Chalardab0c66b2013-04-24 20:31:39 +090055 <FrameLayout
Jean Chalard0cc05442013-03-15 19:00:51 +090056 android:layout_width="match_parent"
57 android:layout_height="wrap_content"
Jean Chalardab0c66b2013-04-24 20:31:39 +090058 android:layout_marginStart="5dip">
Jean Chalard0cc05442013-03-15 19:00:51 +090059
Jean Chalardab0c66b2013-04-24 20:31:39 +090060 <TextView
61 android:id="@+android:id/summary"
62 android:layout_width="match_parent"
63 android:layout_height="wrap_content"
64 android:textAppearance="?android:attr/textAppearanceSmall"
65 android:textColor="?android:attr/textColorSecondary"
66 android:maxLines="1" />
Jean Chalard0cc05442013-03-15 19:00:51 +090067
Jean Chalardfc260332013-04-24 20:56:06 +090068 <com.android.inputmethod.dictionarypack.DictionaryDownloadProgressBar
Jean Chalardab0c66b2013-04-24 20:31:39 +090069 android:id="@+id/dictionary_line_progress_bar"
70 style="@android:style/Widget.Holo.ProgressBar.Horizontal"
71 android:layout_width="match_parent"
72 android:layout_height="match_parent"
73 android:gravity="center" />
74
75 </FrameLayout>
Jean Chalard0cc05442013-03-15 19:00:51 +090076 </LinearLayout>
77
Jean Chalard2cf450f2013-04-24 14:48:29 +090078 <com.android.inputmethod.dictionarypack.ButtonSwitcher
79 android:id="@+android:id/wordlist_button_switcher"
Jean Chalard0cc05442013-03-15 19:00:51 +090080 android:layout_weight="0"
81 android:layout_width="wrap_content"
Jean Chalard2cf450f2013-04-24 14:48:29 +090082 android:layout_height="wrap_content">
83 <Button
84 android:id="@+android:id/dict_install_button"
85 android:layout_width="wrap_content"
86 android:layout_height="wrap_content"
87 android:layout_gravity="right|center_vertical"
88 android:singleLine="true"
89 android:textAppearance="?android:attr/textAppearanceMedium"
90 android:text="@string/install_dict" />
Jean Chalard2d725902013-04-24 14:55:21 +090091 <Button
92 android:id="@+android:id/dict_cancel_button"
93 android:layout_width="wrap_content"
94 android:layout_height="wrap_content"
95 android:layout_gravity="right|center_vertical"
96 android:singleLine="true"
97 android:textAppearance="?android:attr/textAppearanceMedium"
98 android:text="@string/cancel_download_dict" />
99 <Button
100 android:id="@+android:id/dict_delete_button"
101 android:layout_width="wrap_content"
102 android:layout_height="wrap_content"
103 android:layout_gravity="right|center_vertical"
104 android:singleLine="true"
105 android:textAppearance="?android:attr/textAppearanceMedium"
106 android:text="@string/delete_dict" />
Jean Chalard2cf450f2013-04-24 14:48:29 +0900107 </com.android.inputmethod.dictionarypack.ButtonSwitcher>
Jean Chalard0cc05442013-03-15 19:00:51 +0900108</LinearLayout>