on-internet
← Community

How to replace a fragment and change TextView in the new one in the same procedure?

Stack Overflow ·

I am not a native English speaker, so hope you understand me anyway. In my application I have an activity with a RelativeLayout which I use as Fragment-container. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" > <RelativeLayout android:id="@+id/fragmentContainer" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/white" /> </FrameLayout> At the time I have two different Fragments, one will be sh

Comments

Sign in or sign up to comment and upvote.

No comments yet.