394 lines
16 KiB
XML
394 lines
16 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:descendantFocusability="blocksDescendants"
|
|
android:orientation="vertical"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llBoosted"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="4dp"
|
|
android:background="@drawable/btn_bg_transparent"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
>
|
|
|
|
<ImageView
|
|
android:id="@+id/ivBoosted"
|
|
android:layout_width="48dp"
|
|
android:layout_height="32dp"
|
|
android:layout_marginEnd="4dp"
|
|
android:scaleType="fitEnd"
|
|
android:importantForAccessibility="no"
|
|
/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
>
|
|
|
|
<TextView
|
|
android:id="@+id/tvBoostedAcct"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="4dp"
|
|
android:layout_weight="1"
|
|
android:ellipsize="end"
|
|
android:gravity="end"
|
|
android:maxLines="1"
|
|
android:textColor="?attr/colorTimeSmall"
|
|
android:textSize="12sp"
|
|
tools:text="who@hoge"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/tvBoostedTime"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="?attr/colorTimeSmall"
|
|
android:textSize="12sp"
|
|
tools:text="2017-04-16 09:37:14"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/tvBoosted"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
tools:text="~にブーストされました"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llFollow"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/btn_bg_transparent"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_marginBottom="4dp"
|
|
>
|
|
|
|
<jp.juggler.subwaytooter.view.MyNetworkImageView
|
|
android:id="@+id/ivFollow"
|
|
android:layout_width="48dp"
|
|
android:layout_height="40dp"
|
|
android:layout_marginEnd="4dp"
|
|
android:contentDescription="@string/thumbnail"
|
|
android:scaleType="fitEnd"
|
|
|
|
/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
>
|
|
|
|
<TextView
|
|
android:id="@+id/tvFollowerName"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
tools:text="Follower Name"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/tvFollowerAcct"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="?attr/colorTimeSmall"
|
|
android:textSize="12sp"
|
|
tools:text="aaaaaaaaaaaaaaaa"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<FrameLayout
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_marginStart="4dp"
|
|
>
|
|
|
|
<ImageButton
|
|
android:id="@+id/btnFollow"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/btn_bg_transparent"
|
|
android:contentDescription="@string/follow"
|
|
android:scaleType="center"
|
|
tools:src="?attr/ic_follow_plus"
|
|
/>
|
|
|
|
<ImageView
|
|
android:id="@+id/ivFollowedBy"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="center"
|
|
android:src="?attr/ic_followed_by"
|
|
tools:ignore="ContentDescription"
|
|
/>
|
|
</FrameLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llStatus"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_marginBottom="3dp"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llTime"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
>
|
|
|
|
<TextView
|
|
android:id="@+id/tvAcct"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="4dp"
|
|
android:layout_weight="1"
|
|
android:ellipsize="end"
|
|
android:gravity="end"
|
|
android:maxLines="1"
|
|
android:textColor="?attr/colorTimeSmall"
|
|
android:textSize="12sp"
|
|
tools:text="who@hoge"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/tvTime"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end"
|
|
android:textColor="?attr/colorTimeSmall"
|
|
android:textSize="12sp"
|
|
tools:text="2017-04-16 09:37:14"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
>
|
|
|
|
<jp.juggler.subwaytooter.view.MyNetworkImageView
|
|
android:id="@+id/ivThumbnail"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_marginEnd="4dp"
|
|
android:layout_marginTop="4dp"
|
|
android:background="@drawable/btn_bg_transparent"
|
|
android:contentDescription="@string/thumbnail"
|
|
android:scaleType="centerCrop"
|
|
/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
>
|
|
|
|
<TextView
|
|
android:id="@+id/tvName"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
tools:text="Displayname @username"
|
|
/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llContentWarning"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="3dp"
|
|
android:baselineAligned="false"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
>
|
|
|
|
<Button
|
|
android:id="@+id/btnContentWarning"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="40dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:background="@drawable/btn_bg_ddd"
|
|
android:minWidth="40dp"
|
|
android:padding="4dp"
|
|
tools:text="見る"
|
|
/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical"
|
|
>
|
|
|
|
<jp.juggler.subwaytooter.view.MyTextView
|
|
android:id="@+id/tvMentions"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
|
|
<jp.juggler.subwaytooter.view.MyTextView
|
|
android:id="@+id/tvContentWarning"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="3dp"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llContents"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
>
|
|
|
|
<jp.juggler.subwaytooter.view.MyTextView
|
|
android:id="@+id/tvContent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="3dp"
|
|
android:lineSpacingMultiplier="1.1"
|
|
tools:text="Contents\nContents"
|
|
/>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/flMedia"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="64dp"
|
|
android:layout_marginTop="3dp"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal"
|
|
>
|
|
|
|
<jp.juggler.subwaytooter.view.MyNetworkImageView
|
|
android:id="@+id/ivMedia1"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/btn_bg_ddd"
|
|
android:contentDescription="@string/thumbnail"
|
|
android:scaleType="centerCrop"
|
|
/>
|
|
|
|
<jp.juggler.subwaytooter.view.MyNetworkImageView
|
|
android:id="@+id/ivMedia2"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/btn_bg_ddd"
|
|
android:contentDescription="@string/thumbnail"
|
|
android:scaleType="centerCrop"
|
|
/>
|
|
|
|
<jp.juggler.subwaytooter.view.MyNetworkImageView
|
|
android:id="@+id/ivMedia3"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/btn_bg_ddd"
|
|
android:contentDescription="@string/thumbnail"
|
|
android:scaleType="centerCrop"
|
|
/>
|
|
|
|
<jp.juggler.subwaytooter.view.MyNetworkImageView
|
|
android:id="@+id/ivMedia4"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/btn_bg_ddd"
|
|
android:contentDescription="@string/thumbnail"
|
|
android:scaleType="centerCrop"
|
|
/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/btnHideMedia"
|
|
android:layout_width="32dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="8dp"
|
|
android:background="@drawable/btn_bg_transparent"
|
|
android:contentDescription="@string/hide"
|
|
android:src="?attr/btn_close"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/btnShowMedia"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/colorShowMediaBackground"
|
|
android:gravity="center"
|
|
android:text="@string/tap_to_show"
|
|
android:textColor="?attr/colorShowMediaText"
|
|
/>
|
|
</FrameLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="0dp"
|
|
android:orientation="vertical"
|
|
android:id="@+id/llExtra"
|
|
/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/llSearchTag"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginTop="3dp"
|
|
android:layout_marginBottom="3dp"
|
|
>
|
|
|
|
<Button
|
|
android:id="@+id/btnSearchTag"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/btn_bg_transparent"
|
|
android:textAllCaps="false"
|
|
/>
|
|
</LinearLayout>
|
|
</LinearLayout> |