mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
122 lines
No EOL
4.7 KiB
XML
122 lines
No EOL
4.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/item_background"
|
|
android:orientation="vertical" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="20dp"
|
|
android:layout_marginTop="10dp"
|
|
android:orientation="horizontal" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="fill_parent"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="vertical" >
|
|
|
|
<ImageView
|
|
android:id="@+id/profile_picture"
|
|
android:layout_width="70dp"
|
|
android:layout_height="70dp"
|
|
android:layout_margin="20dp"
|
|
android:contentDescription="@string/description_profile_picture"
|
|
android:scaleType="fitCenter"
|
|
android:src="@drawable/person" />
|
|
|
|
<Button
|
|
android:id="@+id/profile_follow_button"
|
|
style="@style/slimGreenButton"
|
|
android:layout_width="70dp"
|
|
android:layout_height="wrap_content"
|
|
android:contentDescription="@string/description_follow_button"
|
|
android:text="@string/profile_button_follow"
|
|
android:textSize="11dp"
|
|
android:visibility="gone" />
|
|
|
|
<Button
|
|
android:id="@+id/profile_unfollow_button"
|
|
style="@style/slimButton"
|
|
android:layout_width="70dp"
|
|
android:layout_height="wrap_content"
|
|
android:contentDescription="@string/description_follow_button"
|
|
android:text="@string/profile_button_unfollow"
|
|
android:textSize="11dp"
|
|
android:visibility="gone" />
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_vertical" >
|
|
|
|
<TextView
|
|
android:id="@+id/profile_username"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/lightorange"
|
|
android:textSize="20dp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/profile_bio"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/profile_username"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_marginTop="5dp"
|
|
android:textColor="@color/darkgray"
|
|
android:textSize="12dp"
|
|
android:textStyle="italic" />
|
|
|
|
<ImageView
|
|
android:id="@+id/profile_location_icon"
|
|
android:layout_width="15dp"
|
|
android:layout_height="15dp"
|
|
android:layout_below="@id/profile_bio"
|
|
android:layout_marginRight="2dp"
|
|
android:contentDescription="@string/profile_location_icon"
|
|
android:scaleType="fitCenter"
|
|
android:src="@drawable/location_icon" />
|
|
|
|
<TextView
|
|
android:id="@+id/profile_location"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignBaseline="@id/profile_location_icon"
|
|
android:layout_below="@id/profile_bio"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_toRightOf="@id/profile_location_icon"
|
|
android:textColor="@color/lightgray"
|
|
android:textSize="12dp" />
|
|
|
|
<TextView
|
|
android:id="@+id/profile_website"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/profile_location"
|
|
android:autoLink="web"
|
|
android:clickable="true"
|
|
android:textColor="@color/lightorange"
|
|
android:textSize="12dp" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="1px"
|
|
android:background="@color/lightgray" />
|
|
|
|
<include
|
|
android:layout_width="fill_parent"
|
|
layout="@layout/profile_user_statistics" />
|
|
|
|
<View
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="1px"
|
|
android:background="@color/lightgray" />
|
|
|
|
</LinearLayout> |