Skip to content

Commit

Permalink
removed Action bar
Browse files Browse the repository at this point in the history
  • Loading branch information
maniyaom committed Jun 4, 2024
1 parent 8b52774 commit 7adc60c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class CreateGroupActivity : AppCompatActivity() {
binding = ActivityCreateGroupBinding.inflate(layoutInflater)
setContentView(binding.root)

supportActionBar?.hide()

val groupMembers: ArrayList<String>? = intent.getStringArrayListExtra("GROUP_MEMBERS")
binding.confirmButton.setOnClickListener {
val groupName = binding.groupNameTextfield.text.toString().trim()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ class GroupMemberSelection : AppCompatActivity() {
binding = ActivityGroupMemberSelectionBinding.inflate(layoutInflater)
setContentView(binding.root)

supportActionBar?.hide()

mAuth = FirebaseAuth.getInstance()
mDbRef = FirebaseDatabase.getInstance().getReference()

Expand Down
6 changes: 3 additions & 3 deletions TalkIn/app/src/main/res/layout/activity_create_group.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
android:layout_height="wrap_content"
android:background="@color/black"
android:id="@+id/main_toolbar"
android:padding="10dp">
android:padding="20dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand All @@ -26,7 +26,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="12dp"
android:layout_marginTop="60dp"
android:layout_marginTop="75dp"
android:orientation="horizontal">

<ImageView
Expand Down Expand Up @@ -55,7 +55,7 @@
android:padding="15dp"
android:layout_marginLeft="12dp"
android:layout_marginRight="18dp"
android:layout_marginTop="160dp"
android:layout_marginTop="175dp"
android:inputType="text"
android:background="@drawable/custom_edit_text"
android:hint="Group Description (Optional)" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
android:layout_height="wrap_content"
android:background="@color/black"
android:id="@+id/main_toolbar"
android:padding="10dp">
android:padding="20dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand Down

0 comments on commit 7adc60c

Please sign in to comment.