]> gitweb.fperrin.net Git - Dictionary.git/blob - res/layout/dictionary_manager_row.xml
Fix trailing whitespace and DOS linebreaks.
[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         </LinearLayout>
20
21         <!--
22         http://stackoverflow.com/questions/11243867/android-last-line-of-textview-cut-off
23          -->
24         <TextView
25             android:id="@+id/dictionaryName"
26             android:layout_width="0dp"
27             android:layout_height="wrap_content"
28             android:layout_weight="1"
29             android:text="English-German"
30             android:textAppearance="?android:attr/textAppearanceMedium"
31             android:layout_gravity="center_vertical"
32             tools:ignore="HardcodedText" />
33
34         <Button
35             android:id="@+id/downloadButton"
36             android:layout_width="wrap_content"
37             android:layout_height="wrap_content"
38             android:drawableRight="@drawable/ic_action_download"
39             android:textAppearance="?android:attr/textAppearanceSmall"
40             android:text="@string/downloadButton" />
41     </LinearLayout>
42
43     <TextView
44         android:id="@+id/dictionaryDetails"
45         android:layout_width="fill_parent"
46         android:layout_height="0dip"
47         android:layout_weight="1"
48         android:text="@string/indexInfo"
49         android:textAppearance="?android:attr/textAppearanceSmall"
50         tools:ignore="HardcodedText" />
51
52 </LinearLayout>