SubwayTooter-Android-App/app/src/main/res/layout/act_text.xml

106 lines
3.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
<ScrollView
android:id="@+id/svContent"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:fillViewport="true"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<jp.juggler.subwaytooter.view.MyEditText
android:id="@+id/etText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="none"
/>
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="1"
/>
</LinearLayout>
</ScrollView>
<com.google.android.flexbox.FlexboxLayout
android:id="@+id/svFooterBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:flexWrap="wrap"
>
<Button
android:id="@+id/btnCopy"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/copy_st"
android:textAllCaps="false"
/>
<Button
android:id="@+id/btnSend"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/send"
android:textAllCaps="false"
/>
<Button
android:id="@+id/btnSearch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/search_web"
android:textAllCaps="false"
/>
<Button
android:id="@+id/btnSearchTS"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/toot_search_ts"
android:textAllCaps="false"
/>
<Button
android:id="@+id/btnSearchMSP"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/toot_search_msp"
android:textAllCaps="false"
/>
<Button
android:id="@+id/btnMuteWord"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/mute_word"
android:textAllCaps="false"
/>
<Button
android:id="@+id/btnKeywordFilter"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/keyword_filter"
android:textAllCaps="false"
/>
</com.google.android.flexbox.FlexboxLayout>
</LinearLayout>