forked from GitHub-Mirror/riotX-android
Merge pull request #487 from vector-im/feature/fix_ui_issues
Feature/fix ui issues
This commit is contained in:
commit
aa4e74e986
@ -121,7 +121,7 @@ class RoomListFragment : VectorBaseFragment(), RoomSummaryController.Listener, O
|
|||||||
|
|
||||||
when (newState) {
|
when (newState) {
|
||||||
RecyclerView.SCROLL_STATE_IDLE -> {
|
RecyclerView.SCROLL_STATE_IDLE -> {
|
||||||
createChatFabMenu.postDelayed(showFabRunnable, 1000)
|
createChatFabMenu.postDelayed(showFabRunnable, 250)
|
||||||
}
|
}
|
||||||
RecyclerView.SCROLL_STATE_DRAGGING,
|
RecyclerView.SCROLL_STATE_DRAGGING,
|
||||||
RecyclerView.SCROLL_STATE_SETTLING -> {
|
RecyclerView.SCROLL_STATE_SETTLING -> {
|
||||||
|
@ -127,6 +127,7 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:fastScrollEnabled="true"
|
android:fastScrollEnabled="true"
|
||||||
|
android:overScrollMode="always"
|
||||||
android:scrollbars="vertical"
|
android:scrollbars="vertical"
|
||||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
@ -95,6 +95,7 @@
|
|||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:fastScrollEnabled="true"
|
android:fastScrollEnabled="true"
|
||||||
|
android:overScrollMode="always"
|
||||||
android:scrollbars="vertical"
|
android:scrollbars="vertical"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
android:id="@+id/groupListEpoxyRecyclerView"
|
android:id="@+id/groupListEpoxyRecyclerView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
android:overScrollMode="always"
|
||||||
tools:listitem="@layout/item_group" />
|
tools:listitem="@layout/item_group" />
|
||||||
|
|
||||||
</im.vector.riotx.core.platform.StateView>
|
</im.vector.riotx.core.platform.StateView>
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="?riotx_header_panel_background"
|
android:background="?riotx_header_panel_background"
|
||||||
|
android:overScrollMode="always"
|
||||||
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
||||||
tools:listitem="@layout/item_public_room" />
|
tools:listitem="@layout/item_public_room" />
|
||||||
|
|
||||||
|
@ -98,6 +98,7 @@
|
|||||||
android:id="@+id/recyclerView"
|
android:id="@+id/recyclerView"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
|
android:overScrollMode="always"
|
||||||
app:layout_constraintBottom_toTopOf="@+id/recyclerViewBarrier"
|
app:layout_constraintBottom_toTopOf="@+id/recyclerViewBarrier"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
@ -10,7 +10,8 @@
|
|||||||
<com.airbnb.epoxy.EpoxyRecyclerView
|
<com.airbnb.epoxy.EpoxyRecyclerView
|
||||||
android:id="@+id/roomListEpoxyRecyclerView"
|
android:id="@+id/roomListEpoxyRecyclerView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent" />
|
android:layout_height="match_parent"
|
||||||
|
android:overScrollMode="always" />
|
||||||
|
|
||||||
<im.vector.riotx.features.home.room.list.widget.FabMenuView
|
<im.vector.riotx.features.home.room.list.widget.FabMenuView
|
||||||
android:id="@+id/createChatFabMenu"
|
android:id="@+id/createChatFabMenu"
|
||||||
|
@ -59,7 +59,7 @@
|
|||||||
<item name="android:textColorLink">@color/riotx_links</item>
|
<item name="android:textColorLink">@color/riotx_links</item>
|
||||||
|
|
||||||
<!-- Menu text color -->
|
<!-- Menu text color -->
|
||||||
<!--item name="android:actionMenuTextColor">#FFFFFFFF</item-->
|
<item name="android:actionMenuTextColor">?colorAccent</item>
|
||||||
|
|
||||||
<!-- list colors -->
|
<!-- list colors -->
|
||||||
<!--Header/Panel Background-->
|
<!--Header/Panel Background-->
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
<item name="android:textColorLink">@color/riotx_links</item>
|
<item name="android:textColorLink">@color/riotx_links</item>
|
||||||
|
|
||||||
<!-- Menu text color -->
|
<!-- Menu text color -->
|
||||||
<!--item name="android:actionMenuTextColor">#FFFFFFFF</item-->
|
<item name="android:actionMenuTextColor">?colorAccent</item>
|
||||||
|
|
||||||
<!-- default background color -->
|
<!-- default background color -->
|
||||||
<item name="vctr_bottom_nav_background_color">@color/primary_color_dark</item>
|
<item name="vctr_bottom_nav_background_color">@color/primary_color_dark</item>
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
<item name="android:textColorLink">@color/riotx_links</item>
|
<item name="android:textColorLink">@color/riotx_links</item>
|
||||||
|
|
||||||
<!-- Menu text color -->
|
<!-- Menu text color -->
|
||||||
<!--item name="android:actionMenuTextColor">#FFFFFFFF</item-->
|
<item name="android:actionMenuTextColor">?colorAccent</item>
|
||||||
|
|
||||||
<!-- default background color -->
|
<!-- default background color -->
|
||||||
<item name="vctr_bottom_nav_background_color">#FFF3F8FD</item>
|
<item name="vctr_bottom_nav_background_color">#FFF3F8FD</item>
|
||||||
|
@ -16,9 +16,8 @@
|
|||||||
|
|
||||||
<item name="android:textColorLink">@color/link_color_status</item>
|
<item name="android:textColorLink">@color/link_color_status</item>
|
||||||
|
|
||||||
|
|
||||||
<!-- Menu text color -->
|
<!-- Menu text color -->
|
||||||
<item name="android:actionMenuTextColor">#FFFFFFFF</item>
|
<item name="android:actionMenuTextColor">?colorAccent</item>
|
||||||
|
|
||||||
<!-- default background color -->
|
<!-- default background color -->
|
||||||
<item name="android:colorBackground">@color/riot_primary_background_color_status</item>
|
<item name="android:colorBackground">@color/riot_primary_background_color_status</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user