Add a download button to the download list view!

This commit is contained in:
Bradlee Speice 2014-05-12 22:18:37 -04:00
parent 4e01ff666e
commit 13fc473081
7 changed files with 4 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

View File

@ -46,6 +46,7 @@
android:layout_height="wrap_content"
android:id="@+id/img_download_item_downloaded"
android:layout_alignParentEnd="true"
android:src="@drawable/ic_action_download"
style="@style/AppBaseTheme.Borderless" />
</RelativeLayout>

View File

@ -22,6 +22,8 @@
<!-- Almost re-use style from Widget.Holo.Button.Borderless -->
<style name="AppBaseTheme.Borderless">
<item name="android:background">?android:attr/selectableItemBackground</item>
<item name="android:paddingLeft">4dip</item>
<item name="android:paddingRight">4dip</item>
<!-- Requires API 17
<item name="android:paddingStart">4dip</item>
<item name="android:paddingEnd">4dip</item>

View File

@ -49,7 +49,7 @@ public class MinimalBible extends Application {
*/
@Override
public void onCreate() {
graph = ObjectGraph.create(new MinimalBibleModules());
graph = ObjectGraph.create(MinimalBibleModules.class);
graph.inject(this);
}