]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - res/layout/dictionary_manager_row.xml
Fix trailing whitespace and DOS linebreaks.
[Dictionary.git] / res / layout / dictionary_manager_row.xml
index 175b21f7be0bcfcb1f22f693f9043d67e6a362a5..eeaf5ed29d0a16cba3e450a5df4dfa77a724604f 100644 (file)
         android:layout_height="wrap_content"
         android:orientation="horizontal" >
 
+        <LinearLayout
+            android:id="@+id/dictionaryLauncherButtons"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:orientation="horizontal"
+            android:paddingRight="5dip" >
+        </LinearLayout>
+
+        <!--
+        http://stackoverflow.com/questions/11243867/android-last-line-of-textview-cut-off
+         -->
         <TextView
             android:id="@+id/dictionaryName"
             android:layout_width="0dp"
             android:layout_height="wrap_content"
             android:layout_weight="1"
             android:text="English-German"
-            android:textAppearance="?android:attr/textAppearanceLarge"
+            android:textAppearance="?android:attr/textAppearanceMedium"
+            android:layout_gravity="center_vertical"
             tools:ignore="HardcodedText" />
 
         <Button
-            android:id="@+id/dictionaryDownloadButton"
+            android:id="@+id/downloadButton"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:layout_weight="0"
-            android:drawableLeft="@android:drawable/ic_menu_add"
+            android:drawableRight="@drawable/ic_action_download"
+            android:textAppearance="?android:attr/textAppearanceSmall"
             android:text="@string/downloadButton" />
     </LinearLayout>
 
@@ -37,4 +49,4 @@
         android:textAppearance="?android:attr/textAppearanceSmall"
         tools:ignore="HardcodedText" />
 
-</LinearLayout>
\ No newline at end of file
+</LinearLayout>