fedilab-Android-App/app/src/main/res/layout/drawer_art.xml

46 lines
1.7 KiB
XML
Raw Normal View History

2018-12-05 12:04:49 +01:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
2018-12-05 17:51:28 +01:00
android:layout_height="wrap_content">
2018-12-05 12:04:49 +01:00
<ImageView
android:id="@+id/art_media"
2018-12-05 17:51:28 +01:00
android:scaleType="fitCenter"
android:adjustViewBounds="true"
2018-12-05 12:04:49 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<LinearLayout
android:layout_alignParentBottom="true"
android:orientation="horizontal"
2018-12-05 17:51:28 +01:00
android:background="#44000000"
2018-12-05 12:04:49 +01:00
android:padding="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/art_pp"
android:layout_gravity="center"
android:layout_width="50dp"
android:layout_height="50dp" />
<LinearLayout
android:orientation="vertical"
2018-12-05 17:51:28 +01:00
android:layout_marginLeft="10dp"
android:layout_marginStart="10dp"
android:id="@+id/art_author"
2018-12-05 12:04:49 +01:00
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content">
<TextView
android:id="@+id/art_username"
android:textColor="@color/white"
2018-12-05 17:51:28 +01:00
android:textSize="16sp"
android:textStyle="bold"
2018-12-05 12:04:49 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/art_acct"
android:textColor="@color/white"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>