mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-15 22:22:22 +01:00
Fix wrong button assignment + change order
This commit is contained in:
parent
3dd905b6f2
commit
479ff31dcb
9 changed files with 39 additions and 35 deletions
|
@ -106,7 +106,7 @@ public class WebXDCStore extends AppCompatActivity {
|
|||
BottomNavigationView bottomNavigationView = findViewById(R.id.bottom_navigation);
|
||||
|
||||
// Set Home selected
|
||||
bottomNavigationView.setSelectedItemId(R.id.contactslist);
|
||||
bottomNavigationView.setSelectedItemId(R.id.webxdc);
|
||||
|
||||
// Perform item selected listener
|
||||
bottomNavigationView.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() {
|
||||
|
@ -124,13 +124,13 @@ public class WebXDCStore extends AppCompatActivity {
|
|||
overridePendingTransition(R.animator.fade_in, R.animator.fade_out);
|
||||
return true;
|
||||
}
|
||||
case R.id.webxdc -> {
|
||||
return true;
|
||||
}
|
||||
case R.id.manageaccounts -> {
|
||||
startActivity(new Intent(getApplicationContext(), MANAGE_ACCOUNT_ACTIVITY));
|
||||
overridePendingTransition(R.animator.fade_in, R.animator.fade_out);
|
||||
return true;
|
||||
}
|
||||
case R.id.webxdc -> {
|
||||
return true;
|
||||
}
|
||||
/* TODO:
|
||||
case R.id.calls:
|
||||
|
|
|
@ -1011,13 +1011,13 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
|
|||
overridePendingTransition(R.animator.fade_in, R.animator.fade_out);
|
||||
return true;
|
||||
}
|
||||
case R.id.manageaccounts -> {
|
||||
startActivity(new Intent(getApplicationContext(), MANAGE_ACCOUNT_ACTIVITY));
|
||||
case R.id.webxdc -> {
|
||||
startActivity(new Intent(getApplicationContext(), WebXDCStore.class));
|
||||
overridePendingTransition(R.animator.fade_in, R.animator.fade_out);
|
||||
return true;
|
||||
}
|
||||
case R.id.webxdc -> {
|
||||
startActivity(new Intent(getApplicationContext(), WebXDCStore.class));
|
||||
case R.id.manageaccounts -> {
|
||||
startActivity(new Intent(getApplicationContext(), MANAGE_ACCOUNT_ACTIVITY));
|
||||
overridePendingTransition(R.animator.fade_in, R.animator.fade_out);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -180,13 +180,13 @@ public class ManageAccountActivity extends XmppActivity implements OnAccountUpda
|
|||
overridePendingTransition(R.animator.fade_in, R.animator.fade_out);
|
||||
return true;
|
||||
}
|
||||
case R.id.manageaccounts -> {
|
||||
return true;
|
||||
}
|
||||
case R.id.webxdc -> {
|
||||
startActivity(new Intent(getApplicationContext(), WebXDCStore.class));
|
||||
overridePendingTransition(R.animator.fade_in, R.animator.fade_out);
|
||||
return true;
|
||||
}
|
||||
case R.id.manageaccounts -> {
|
||||
return true;
|
||||
}
|
||||
/* TODO:
|
||||
case R.id.calls:
|
||||
|
|
|
@ -469,13 +469,13 @@ public class StartConversationActivity extends XmppActivity implements XmppConne
|
|||
case R.id.contactslist -> {
|
||||
return true;
|
||||
}
|
||||
case R.id.manageaccounts -> {
|
||||
startActivity(new Intent(getApplicationContext(), MANAGE_ACCOUNT_ACTIVITY));
|
||||
case R.id.webxdc -> {
|
||||
startActivity(new Intent(getApplicationContext(), WebXDCStore.class));
|
||||
overridePendingTransition(R.animator.fade_in, R.animator.fade_out);
|
||||
return true;
|
||||
}
|
||||
case R.id.webxdc -> {
|
||||
startActivity(new Intent(getApplicationContext(), WebXDCStore.class));
|
||||
case R.id.manageaccounts -> {
|
||||
startActivity(new Intent(getApplicationContext(), MANAGE_ACCOUNT_ACTIVITY));
|
||||
overridePendingTransition(R.animator.fade_in, R.animator.fade_out);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -8,14 +8,14 @@
|
|||
android:id="@+id/contactslist"
|
||||
android:icon="?attr/icon_group"
|
||||
android:title="@string/contacts"/>
|
||||
<item
|
||||
android:id="@+id/manageaccounts"
|
||||
android:icon="?attr/icon_account"
|
||||
android:title="@string/accounts"/>
|
||||
<item
|
||||
android:id="@+id/webxdc"
|
||||
android:icon="?attr/icon_webxdcs"
|
||||
android:title="@string/webxdcs"/>
|
||||
<item
|
||||
android:id="@+id/manageaccounts"
|
||||
android:icon="?attr/icon_account"
|
||||
android:title="@string/accounts"/>
|
||||
|
||||
<!-- TODO: Later -->
|
||||
<item
|
||||
|
|
|
@ -8,14 +8,15 @@
|
|||
android:id="@+id/contactslist"
|
||||
android:icon="?attr/icon_group_unselected"
|
||||
android:title="@string/contacts"/>
|
||||
<item
|
||||
android:id="@+id/manageaccounts"
|
||||
android:icon="?attr/icon_accounts_selected"
|
||||
android:title="@string/accounts"/>
|
||||
<item
|
||||
android:id="@+id/webxdc"
|
||||
android:icon="?attr/icon_webxdcs"
|
||||
android:title="@string/webxdcs"/>
|
||||
<item
|
||||
android:id="@+id/manageaccounts"
|
||||
android:icon="?attr/icon_accounts_selected"
|
||||
android:title="@string/accounts"/>
|
||||
|
||||
<!-- TODO: Later -->
|
||||
<item
|
||||
android:id="@+id/stories"
|
||||
|
|
|
@ -8,14 +8,15 @@
|
|||
android:id="@+id/contactslist"
|
||||
android:icon="?attr/icon_group_unselected"
|
||||
android:title="@string/contacts"/>
|
||||
<item
|
||||
android:id="@+id/manageaccounts"
|
||||
android:icon="?attr/icon_account"
|
||||
android:title="@string/accounts"/>
|
||||
<item
|
||||
android:id="@+id/webxdc"
|
||||
android:icon="?attr/icon_webxdcs"
|
||||
android:title="@string/webxdcs"/>
|
||||
<item
|
||||
android:id="@+id/manageaccounts"
|
||||
android:icon="?attr/icon_account"
|
||||
android:title="@string/accounts"/>
|
||||
|
||||
<!-- TODO: Later -->
|
||||
<item
|
||||
android:id="@+id/stories"
|
||||
|
|
|
@ -8,14 +8,15 @@
|
|||
android:id="@+id/contactslist"
|
||||
android:icon="?attr/icon_group_selected"
|
||||
android:title="@string/contacts"/>
|
||||
<item
|
||||
android:id="@+id/manageaccounts"
|
||||
android:icon="?attr/icon_account"
|
||||
android:title="@string/accounts"/>
|
||||
<item
|
||||
android:id="@+id/webxdc"
|
||||
android:icon="?attr/icon_webxdcs"
|
||||
android:title="@string/webxdcs"/>
|
||||
<item
|
||||
android:id="@+id/manageaccounts"
|
||||
android:icon="?attr/icon_account"
|
||||
android:title="@string/accounts"/>
|
||||
|
||||
<!-- TODO: Later -->
|
||||
<item
|
||||
android:id="@+id/stories"
|
||||
|
|
|
@ -8,14 +8,15 @@
|
|||
android:id="@+id/contactslist"
|
||||
android:icon="?attr/icon_group_unselected"
|
||||
android:title="@string/contacts"/>
|
||||
<item
|
||||
android:id="@+id/manageaccounts"
|
||||
android:icon="?attr/icon_account"
|
||||
android:title="@string/accounts"/>
|
||||
<item
|
||||
android:id="@+id/webxdc"
|
||||
android:icon="?attr/icon_webxdcs_selected"
|
||||
android:title="@string/webxdcs"/>
|
||||
<item
|
||||
android:id="@+id/manageaccounts"
|
||||
android:icon="?attr/icon_account"
|
||||
android:title="@string/accounts"/>
|
||||
|
||||
<!-- TODO: Later -->
|
||||
<item
|
||||
android:id="@+id/stories"
|
||||
|
|
Loading…
Reference in a new issue