Merge pull request #487 from vector-im/feature/fix_ui_issues

Feature/fix ui issues
This commit is contained in:
Benoit Marty 2019-08-14 18:20:08 +02:00 committed by GitHub
commit aa4e74e986
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 12 additions and 7 deletions

View File

@ -121,7 +121,7 @@ class RoomListFragment : VectorBaseFragment(), RoomSummaryController.Listener, O

when (newState) {
RecyclerView.SCROLL_STATE_IDLE -> {
createChatFabMenu.postDelayed(showFabRunnable, 1000)
createChatFabMenu.postDelayed(showFabRunnable, 250)
}
RecyclerView.SCROLL_STATE_DRAGGING,
RecyclerView.SCROLL_STATE_SETTLING -> {

View File

@ -127,6 +127,7 @@
android:layout_width="0dp"
android:layout_height="0dp"
android:fastScrollEnabled="true"
android:overScrollMode="always"
android:scrollbars="vertical"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
app:layout_constraintBottom_toBottomOf="parent"

View File

@ -95,6 +95,7 @@
android:layout_height="0dp"
android:layout_marginTop="16dp"
android:fastScrollEnabled="true"
android:overScrollMode="always"
android:scrollbars="vertical"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"

View File

@ -9,6 +9,7 @@
android:id="@+id/groupListEpoxyRecyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:overScrollMode="always"
tools:listitem="@layout/item_group" />

</im.vector.riotx.core.platform.StateView>

View File

@ -12,6 +12,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?riotx_header_panel_background"
android:overScrollMode="always"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:listitem="@layout/item_public_room" />


View File

@ -98,6 +98,7 @@
android:id="@+id/recyclerView"
android:layout_width="0dp"
android:layout_height="0dp"
android:overScrollMode="always"
app:layout_constraintBottom_toTopOf="@+id/recyclerViewBarrier"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"

View File

@ -10,7 +10,8 @@
<com.airbnb.epoxy.EpoxyRecyclerView
android:id="@+id/roomListEpoxyRecyclerView"
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
android:id="@+id/createChatFabMenu"

View File

@ -59,7 +59,7 @@
<item name="android:textColorLink">@color/riotx_links</item>

<!-- Menu text color -->
<!--item name="android:actionMenuTextColor">#FFFFFFFF</item-->
<item name="android:actionMenuTextColor">?colorAccent</item>

<!-- list colors -->
<!--Header/Panel Background-->

View File

@ -61,7 +61,7 @@
<item name="android:textColorLink">@color/riotx_links</item>

<!-- Menu text color -->
<!--item name="android:actionMenuTextColor">#FFFFFFFF</item-->
<item name="android:actionMenuTextColor">?colorAccent</item>

<!-- default background color -->
<item name="vctr_bottom_nav_background_color">@color/primary_color_dark</item>

View File

@ -60,7 +60,7 @@
<item name="android:textColorLink">@color/riotx_links</item>

<!-- Menu text color -->
<!--item name="android:actionMenuTextColor">#FFFFFFFF</item-->
<item name="android:actionMenuTextColor">?colorAccent</item>

<!-- default background color -->
<item name="vctr_bottom_nav_background_color">#FFF3F8FD</item>

View File

@ -16,9 +16,8 @@

<item name="android:textColorLink">@color/link_color_status</item>


<!-- Menu text color -->
<item name="android:actionMenuTextColor">#FFFFFFFF</item>
<item name="android:actionMenuTextColor">?colorAccent</item>

<!-- default background color -->
<item name="android:colorBackground">@color/riot_primary_background_color_status</item>