Browse Source

minor stuff

pull/51/head
Thodoris1999 6 years ago
parent
commit
f3bb24fd1f
  1. 3
      app/src/main/java/gr/thmmy/mthmmy/activities/create_content/CreateContentActivity.java
  2. 1
      app/src/main/res/values/strings.xml

3
app/src/main/java/gr/thmmy/mthmmy/activities/create_content/CreateContentActivity.java

@ -13,7 +13,6 @@ import android.widget.TextView;
import android.widget.Toast; import android.widget.Toast;
import gr.thmmy.mthmmy.R; import gr.thmmy.mthmmy.R;
import gr.thmmy.mthmmy.activities.create_content.NewTopicTask;
import gr.thmmy.mthmmy.activities.settings.SettingsActivity; import gr.thmmy.mthmmy.activities.settings.SettingsActivity;
import gr.thmmy.mthmmy.base.BaseActivity; import gr.thmmy.mthmmy.base.BaseActivity;
import gr.thmmy.mthmmy.editorview.EditorView; import gr.thmmy.mthmmy.editorview.EditorView;
@ -45,7 +44,7 @@ public class CreateContentActivity extends AppCompatActivity implements EmojiKey
getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setDisplayShowHomeEnabled(true); getSupportActionBar().setDisplayShowHomeEnabled(true);
} }
((TextView) findViewById(R.id.toolbar_title)).setText("Create topic"); ((TextView) findViewById(R.id.toolbar_title)).setText(R.string.create_topic);
progressBar = findViewById(R.id.progressBar); progressBar = findViewById(R.id.progressBar);

1
app/src/main/res/values/strings.xml

@ -183,4 +183,5 @@
<!-- New topic activity --> <!-- New topic activity -->
<string name="new_topic_toolbar">New topic</string> <string name="new_topic_toolbar">New topic</string>
<string name="create_topic">Create topic</string>
</resources> </resources>

Loading…
Cancel
Save