mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Clicking the plus in the toolbar open the `CreateBlogActivity` which allows the user to create a new blog. Only the first identity is considered, but support for more identities can be easily added later. The actual list of blogs in the My Blogs tab will be done in the next commit.
45 lines
1.2 KiB
XML
45 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_horizontal"
|
|
android:padding="20dp" >
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:textSize="@dimen/text_size_medium"
|
|
android:text="@string/choose_forum_name" />
|
|
|
|
<EditText
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/createForumNameEntry"
|
|
android:maxLines="1"
|
|
android:inputType="text|textCapSentences" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/createForumFeedback"
|
|
android:gravity="center"
|
|
android:paddingLeft="50dp"
|
|
android:paddingRight="50dp" />
|
|
|
|
<Button
|
|
style="@style/BriarButton"
|
|
android:id="@+id/createForumButton"
|
|
android:text="@string/create_forum_button" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/createForumProgressBar"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
android:indeterminate="true"
|
|
android:visibility="gone" />
|
|
|
|
</LinearLayout>
|