Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
enabled ActivityBar in Chat Activity
Browse files Browse the repository at this point in the history
  • Loading branch information
smukov committed Jun 26, 2016
1 parent 76da927 commit 511024c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
android:name=".ChatActivity"
android:label="@string/title_activity_chat"
android:parentActivityName=".NavigationActivity"
android:theme="@style/AppTheme.NoActionBar">
>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.thesis.smukov.anative.NavigationActivity" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,12 @@ public void setMessage(String message) {
public long getUserId() {
return userId;
}

public void setUserId(long userId) {
this.userId = userId;
}

public String getDate() {
return dateTime;
}

public void setDate(String dateTime) {
this.dateTime = dateTime;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class ChatActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_chat);
setTitle("Dr. Gregory House");//hard-coded now, it should be the other person's name
initControls();
}

Expand Down

0 comments on commit 511024c

Please sign in to comment.