Merge branch 'torrentcome-issue#228' Closes #228
commit
4d6fa51fcd
@ -0,0 +1,9 @@ |
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" |
||||
android:width="24dp" |
||||
android:height="24dp" |
||||
android:viewportWidth="24.0" |
||||
android:viewportHeight="24.0"> |
||||
<path |
||||
android:fillColor="#FFF" |
||||
android:pathData="M19,9h-4V3H9v6H5l7,7 7,-7zM5,18v2h14v-2H5z"/> |
||||
</vector> |
@ -1,20 +1,31 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
||||
android:clickable="true" |
||||
android:layout_gravity="center" |
||||
android:background="@android:color/black"> |
||||
|
||||
<ProgressBar |
||||
android:id="@+id/view_media_progress" |
||||
android:layout_gravity="center" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" /> |
||||
android:background="@android:color/black" |
||||
android:clickable="true"> |
||||
|
||||
<com.github.chrisbanes.photoview.PhotoView |
||||
android:id="@+id/view_media_image" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" /> |
||||
android:layout_height="match_parent" |
||||
android:layout_below="@+id/toolbar" /> |
||||
|
||||
<android.support.v7.widget.Toolbar |
||||
android:id="@+id/toolbar" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="?attr/actionBarSize" |
||||
android:background="?attr/colorPrimary" |
||||
app:navigationIcon="?attr/homeAsUpIndicator" /> |
||||
|
||||
<ProgressBar |
||||
android:id="@+id/view_media_progress" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_centerHorizontal="true" |
||||
android:layout_centerVertical="true" |
||||
android:layout_gravity="center" /> |
||||
|
||||
</FrameLayout> |
||||
</RelativeLayout> |
@ -0,0 +1,9 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:app="http://schemas.android.com/apk/res-auto"> |
||||
<item |
||||
android:id="@+id/action_download" |
||||
android:icon="@drawable/ic_file_download_black_24dp" |
||||
android:title="@string/dialog_download_image" |
||||
app:showAsAction="always" /> |
||||
</menu> |
Loading…
Reference in new issue