feat(android): adjust ui layout and text

This commit is contained in:
John Zhao
2019-03-01 11:38:36 +08:00
parent 8f096612a3
commit dc4a21d635
4 changed files with 20 additions and 14 deletions

View File

@@ -11,12 +11,11 @@
<TextView
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:text="Hello World!"
app:layout_constraintBottom_toTopOf="@id/layout_image"
android:text="@string/tip_open"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
@@ -29,7 +28,7 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/text"
app:layout_constraintTop_toTopOf="parent"
>
<ImageView

View File

@@ -10,9 +10,6 @@
android:title="@string/close"
app:showAsAction="ifRoom|withText" />
<item android:title="Features"
android:enabled="false" />
<item
android:id="@+id/check_imu_data"
android:title="@string/imu_data"

View File

@@ -1,5 +1,7 @@
<resources>
<string name="app_name">mynteye</string>
<string name="app_name">MYNTEYE-S SDK Sample</string>
<string name="tip_open">Please \"Open\" the camera!</string>
<string name="open">Open</string>
<string name="close">Close</string>