]> gitweb.fperrin.net Git - Dictionary.git/blob - res/layout/dictionary_manager_row.xml
8889d45d6357ee37865926e0f495d8a9f383a3e0
[Dictionary.git] / res / layout / dictionary_manager_row.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:tools="http://schemas.android.com/tools"
4     android:layout_width="match_parent"
5     android:layout_height="match_parent"
6     android:orientation="vertical" >
7
8     <LinearLayout
9         android:layout_width="match_parent"
10         android:layout_height="wrap_content"
11         android:orientation="horizontal" >
12
13         <LinearLayout
14             android:id="@+id/dictionaryLauncherButtons"
15             android:layout_width="wrap_content"
16             android:layout_height="wrap_content"
17             android:orientation="horizontal"
18             android:paddingRight="5dip" >
19             <Button android:layout_width="60dip" android:layout_height="40dip" />
20             <ImageButton android:layout_width="60dip" android:layout_height="40dip" />
21             <Button android:layout_width="60dip" android:layout_height="40dip" />
22             <ImageButton android:layout_width="60dip" android:layout_height="40dip" />
23         </LinearLayout>
24
25         <!--
26         http://stackoverflow.com/questions/11243867/android-last-line-of-textview-cut-off
27          -->
28         <TextView
29             android:id="@+id/dictionaryName"
30             android:layout_width="0dp"
31             android:layout_height="wrap_content"
32             android:layout_weight="1"
33             android:text="English-German"
34             android:textAppearance="?android:attr/textAppearanceMedium"
35             android:layout_gravity="center_vertical"
36             tools:ignore="HardcodedText" />
37
38         <Button
39             android:id="@+id/downloadButton"
40             android:layout_width="wrap_content"
41             android:layout_height="wrap_content"
42             android:drawableRight="@drawable/ic_action_download"
43             android:textAppearance="?android:attr/textAppearanceSmall"
44             android:text="@string/downloadButton" />
45     </LinearLayout>
46
47     <TextView
48         android:id="@+id/dictionaryDetails"
49         android:layout_width="fill_parent"
50         android:layout_height="0dip"
51         android:layout_weight="1"
52         android:text="@string/indexInfo"
53         android:textAppearance="?android:attr/textAppearanceSmall"
54         tools:ignore="HardcodedText" />
55
56 </LinearLayout>