Extract hardcoded string resources from content_main

This commit is contained in:
Peter Stuifzand 2018-02-28 10:52:08 +01:00
parent a420954bda
commit 2a18db4167
2 changed files with 8 additions and 4 deletions

View File

@ -69,7 +69,7 @@
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:ems="10"
android:hint="In reply to"
android:hint="@string/in_reply_to"
android:imeOptions="actionNext"
android:inputType="textUri"
android:lines="1"
@ -88,7 +88,7 @@
android:layout_marginStart="8dp"
android:ems="10"
android:gravity="top"
android:hint="Content"
android:hint="@string/content"
android:imeOptions="actionNext"
android:inputType="textMultiLine"
android:nextFocusForward="@id/editCategory"
@ -108,7 +108,7 @@
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:ems="10"
android:hint="Categories (space separated)"
android:hint="@string/categories_space_separated"
android:imeOptions="actionDone"
android:inputType="text"
android:padding="3dp"
@ -144,7 +144,7 @@
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:onClick="sendPost"
android:text="Post"
android:text="@string/post"
app:layout_constraintEnd_toEndOf="@id/editCategory"
app:layout_constraintTop_toBottomOf="@id/listLayout"
tools:layout_editor_absoluteY="445dp" />

View File

@ -6,4 +6,8 @@
<string name="content">Content</string>
<string name="title_activity_authenticated">AuthenticatedActivity</string>
<string name="account_type">Indieauth</string>
<string name="in_reply_to">In reply to</string>
<string name="content">Content</string>
<string name="categories_space_separated">Categories (space separated)</string>
<string name="post">Post</string>
</resources>