Add a download button to the download list view!
parent
4e01ff666e
commit
13fc473081
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 |
|
@ -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>
|
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue