Back to project page demo-app-android.
The source code is released under:
MIT License
If you think the Android project demo-app-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package io.rong.imkit.demo; /*from w w w .j a va 2 s. com*/ import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.view.View; import io.rong.imkit.view.ActionBar; /** * Created by DragonJ on 14-9-15. */ public class TestFragmentActivity extends FragmentActivity { //io.rong.imkit.veiw.ActionBar ActionBar mActionBar; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_test_fragment); mActionBar = (ActionBar)findViewById(android.R.id.custom); mActionBar.setOnBackClick(new View.OnClickListener() { @Override public void onClick(View v) { finish(); } }); mActionBar.getTitleTextView().setText("Fragment ???"); } }