mirror of
https://github.com/MinimalBible/MinimalBible-Legacy
synced 2024-11-12 19:18:34 -05:00
Add a download button to the download list view!
This commit is contained in:
parent
4e01ff666e
commit
13fc473081
BIN
MinimalBible/res/drawable-hdpi/ic_action_download.png
Normal file
BIN
MinimalBible/res/drawable-hdpi/ic_action_download.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 398 B |
BIN
MinimalBible/res/drawable-mdpi/ic_action_download.png
Normal file
BIN
MinimalBible/res/drawable-mdpi/ic_action_download.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 324 B |
BIN
MinimalBible/res/drawable-xhdpi/ic_action_download.png
Normal file
BIN
MinimalBible/res/drawable-xhdpi/ic_action_download.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 552 B |
BIN
MinimalBible/res/drawable-xxhdpi/ic_action_download.png
Normal file
BIN
MinimalBible/res/drawable-xxhdpi/ic_action_download.png
Normal file
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
Block a user