mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
Feature: Jump to node info from message (#844)
* Highlight the node in the node list tab when the user taps on the node chip in messages * Represent main tabs as enum for more reliable referencing * Extract tab labels to string resources for easier translation Annotate resource IDs with their corresponding Android types * Index off nodes actually in the adapter since they are sorted * Update viewmodel when tab changes to prevent jumping to other tabs in onResume * Mark strings as non-translatable for now
This commit is contained in:
parent
a88ffbc0fb
commit
2bfda9784f
7 changed files with 167 additions and 37 deletions
|
|
@ -11,6 +11,13 @@
|
|||
<string name="sample_coords" translatable="false">55.332244 34.442211</string>
|
||||
<string name="sample_message" translatable="false">hey I found the cache, it is over here next to the big tiger. I\'m kinda scared.</string>
|
||||
|
||||
<!-- Main Tabs -->
|
||||
<string name="main_tab_lbl_messages" translatable="false">Messages</string>
|
||||
<string name="main_tab_lbl_users" translatable="false">Users</string>
|
||||
<string name="main_tab_lbl_map" translatable="false">Map</string>
|
||||
<string name="main_tab_lbl_channel" translatable="false">Channel</string>
|
||||
<string name="main_tab_lbl_settings" translatable="false">Settings</string>
|
||||
|
||||
<string name="channel_name">Channel Name</string>
|
||||
<string name="channel_options">Channel options</string>
|
||||
<string name="qr_code">QR code</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue