diff --git a/src/main/java/com/nutomic/syncthingandroid/fragments/DrawerFragment.java b/src/main/java/com/nutomic/syncthingandroid/fragments/DrawerFragment.java index 19d92539..66d59212 100644 --- a/src/main/java/com/nutomic/syncthingandroid/fragments/DrawerFragment.java +++ b/src/main/java/com/nutomic/syncthingandroid/fragments/DrawerFragment.java @@ -180,6 +180,7 @@ public class DrawerFragment extends Fragment implements RestApi.OnReceiveSystemI return; mDeviceId.setText(info.myID); + mDeviceId.setVisibility(View.VISIBLE); mDeviceId.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View view, MotionEvent motionEvent) { diff --git a/src/main/res/layout/drawer_fragment.xml b/src/main/res/layout/drawer_fragment.xml index e2b7a633..7491f2ce 100644 --- a/src/main/res/layout/drawer_fragment.xml +++ b/src/main/res/layout/drawer_fragment.xml @@ -21,7 +21,10 @@ android:id="@+id/device_id" android:layout_below="@id/device_id_title" android:layout_width="wrap_content" - android:layout_height="wrap_content" /> + android:layout_height="wrap_content" + android:typeface="monospace" + android:text="@string/device_id_placeholder" + android:visibility="invisible"/> diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 079dd22b..597d83eb 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -60,6 +60,9 @@ + + xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx + Download:\u0020