Commit 54b3029a authored by Yusuke Iwaki's avatar Yusuke Iwaki

fix action container

parent 620ab984
...@@ -85,7 +85,7 @@ public class MainActivity extends AbstractAuthedActivity { ...@@ -85,7 +85,7 @@ public class MainActivity extends AbstractAuthedActivity {
}); });
RxCompoundButton.checkedChanges(toggleUserAction) RxCompoundButton.checkedChanges(toggleUserAction)
.compose(bindToLifecycle()) .compose(bindToLifecycle())
.subscribe(RxView.visibility(findViewById(R.id.user_action_container))); .subscribe(RxView.visibility(findViewById(R.id.user_action_outer_container)));
} }
private RealmListObserver<RoomSubscription> roomsObserver = private RealmListObserver<RoomSubscription> roomsObserver =
......
...@@ -185,15 +185,16 @@ ...@@ -185,15 +185,16 @@
</android.support.v4.widget.NestedScrollView> </android.support.v4.widget.NestedScrollView>
<android.support.v4.widget.NestedScrollView <android.support.v4.widget.NestedScrollView
android:id="@+id/user_action_outer_container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/user_info_container" android:layout_below="@id/user_info_container"
android:layout_alignParentBottom="true"
android:background="?attr/colorPrimaryDark" android:background="?attr/colorPrimaryDark"
android:elevation="2dp" android:elevation="2dp"
tools:visibility="gone" android:visibility="gone"
> >
<LinearLayout <LinearLayout
android:id="@+id/user_action_container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment