mirror of
https://github.com/gsantner/dandelion
synced 2025-12-08 21:31:10 +01:00
Removed buggy swipe refresh layout and added reload button to top toolbar
This commit is contained in:
parent
e1b02c42d2
commit
9ecf55ca82
9 changed files with 38 additions and 56 deletions
BIN
app/src/main/res/drawable-hdpi/ic_refresh_white_24dp.png
Normal file
BIN
app/src/main/res/drawable-hdpi/ic_refresh_white_24dp.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 387 B |
BIN
app/src/main/res/drawable-mdpi/ic_refresh_white_24dp.png
Normal file
BIN
app/src/main/res/drawable-mdpi/ic_refresh_white_24dp.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 254 B |
BIN
app/src/main/res/drawable-xhdpi/ic_refresh_white_24dp.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/ic_refresh_white_24dp.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 509 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_refresh_white_24dp.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/ic_refresh_white_24dp.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 734 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_refresh_white_24dp.png
Normal file
BIN
app/src/main/res/drawable-xxxhdpi/ic_refresh_white_24dp.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 967 B |
|
|
@ -2,29 +2,22 @@
|
|||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/content_layout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
||||
tools:context=".activity.MainActivity"
|
||||
tools:showIn="@layout/main__app_bar">
|
||||
|
||||
<android.support.v4.widget.SwipeRefreshLayout
|
||||
android:id="@+id/swipe"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
||||
|
||||
<com.github.dfa.diaspora_android.ui.ContextMenuWebView
|
||||
android:id="@+id/webView"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_centerVertical="true" />
|
||||
|
||||
</android.support.v4.widget.SwipeRefreshLayout>
|
||||
<com.github.dfa.diaspora_android.ui.ContextMenuWebView
|
||||
android:id="@+id/webView"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentStart="true"
|
||||
android:layout_centerVertical="true" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/progressBar"
|
||||
|
|
|
|||
|
|
@ -15,4 +15,10 @@
|
|||
android:title="@string/conversations"
|
||||
app:showAsAction="always" />
|
||||
|
||||
<item
|
||||
android:id="@+id/action_reload"
|
||||
android:icon="@drawable/ic_refresh_white_24dp"
|
||||
android:title="@string/reload"
|
||||
app:showAsAction="always"/>
|
||||
|
||||
</menu>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue