Twidere-App-Android-Twitter.../twidere.extension.twitlonger/src/main/res/layout/main.xml

63 lines
2.2 KiB
XML

<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="160dp">
<LinearLayout
android:id="@+id/title_layout"
android:layout_width="match_parent"
android:layout_height="56dp"
android:layout_alignParentTop="true"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:paddingEnd="0dp"
android:paddingLeft="8dp"
android:paddingRight="0dp"
android:paddingStart="8dp"
android:text="@string/title"
android:textAppearance="?android:attr/textAppearanceLarge"/>
<FrameLayout
android:id="@+id/action_progress_layout"
android:layout_width="56dp"
android:layout_height="match_parent">
<ProgressBar
android:id="@+id/progress"
style="?android:attr/progressBarStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:visibility="gone"/>
<ImageButton
android:id="@+id/action"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/list_selector_holo_dark"
android:onClick="onClick"
android:src="@drawable/ic_menu_send"/>
</FrameLayout>
</LinearLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/title_layout"
android:padding="12dp">
<TextView
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:autoLink="all"
android:textAppearance="?android:attr/textAppearanceMedium"/>
</ScrollView>
</RelativeLayout>