mirror of
https://github.com/MinimalBible/MinimalBible-Legacy
synced 2024-11-14 12:08:51 -05:00
5222b6e3e6
Move ProgressWheel into the project proper, optimize the DL ListView And also remove android-iconify. Despite using icons (which is awesome) it didn't handle button highlight on click well, and the icons seemed a bit small anyways.
42 lines
1.5 KiB
XML
42 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="8dp" >
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/img_download_icon"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentTop="true" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/txt_download_item_name"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_toRightOf="@+id/img_download_icon"
|
|
android:layout_toLeftOf="@+id/download_ibtn_download" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/download_txt_item_acronym"
|
|
android:paddingTop="4dp"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:layout_toRightOf="@+id/img_download_icon"
|
|
android:layout_below="@+id/txt_download_item_name"/>
|
|
|
|
<ImageButton
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/ic_action_download"
|
|
android:layout_alignParentEnd="true"
|
|
android:id="@+id/download_ibtn_download"
|
|
style="@style/AppBaseTheme.Borderless" />
|
|
|
|
</RelativeLayout> |