Skip to content

Commit

Permalink
Revert to use Pair instead of Manage Conections
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-grace committed Apr 11, 2024
1 parent 84938ed commit bd8b863
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/layout-land/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@
<Button
android:id="@+id/connect_device_btn"
style="@style/main_activity_button_style"
android:contentDescription="@string/desc_manage_connections"
android:contentDescription="@string/desc_connect_btn"
android:drawableTop="@drawable/ic_connect"
android:nextFocusDown="@+id/discover_btn"
android:text="@string/manage_connections" />
android:text="@string/connect_device" />

<!-- Project Ideas -->
<Button
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout-port/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
<Button
android:id="@+id/connect_device_btn"
style="@style/main_activity_button_style"
android:contentDescription="@string/desc_manage_connections"
android:contentDescription="@string/desc_connect_btn"
android:drawableEnd="@drawable/device_status_disconnected"
android:nextFocusDown="@+id/discover_btn"
android:text="@string/manage_connections" />
android:text="@string/connect_device" />

<!-- Project Ideas -->
<Button
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout-sw600dp-port/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@
<Button
android:id="@+id/connect_device_btn"
style="@style/button_style"
android:contentDescription="@string/desc_manage_connections"
android:contentDescription="@string/desc_connect_btn"
android:drawableTop="@drawable/ic_connect"
android:nextFocusDown="@+id/discover_btn"
android:text="@string/manage_connections" />
android:text="@string/connect_device" />

<!-- Project Ideas -->
<Button
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/pairing_toolbar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="16dp"
android:contentDescription="@string/desc_manage_connections"
android:contentDescription="@string/desc_connect_btn"
android:nextFocusDown="@id/backBtn"
android:nextFocusRight="@id/backBtn"
android:text="@string/manage_connections"
android:text="@string/connect_device"
android:textSize="@dimen/app_bar_title_text_size"
android:textColor="@color/white_color" />

Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@
<string name="navigation_drawer_close">Close Menu</string>
<string name="create_code">Create Code</string>
<string name="my_programs">My Programs</string>
<string name="manage_connections">Manage Connections</string>
<string name="connect_device">Pair</string>
<string name="project_ideas">Project Ideas</string>

<string name="email_body" formatted="false">
Expand Down Expand Up @@ -306,7 +306,7 @@
<string name="desc_subtitle_manage_and_remove_microbits_label">Follow the on-screen instructions to</string>
<string name="manage_and_remove_microbit">How do I remove a paired micro:bit?</string>
<string name="desc_homescreen_logo_img">Hello</string>
<string name="desc_manage_connections">Manage Connections</string>
<string name="desc_connect_btn">Pair</string>
<string name="desc_my_programs">My Programs</string>
<string name="desc_create_code">Create Code</string>
<string name="desc_project_ideas">Project Ideas</string>
Expand Down

0 comments on commit bd8b863

Please sign in to comment.