|
|
@ -1,6 +1,7 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
android:id="@+id/activity_account" |
|
|
|
android:id="@+id/activity_account" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
@ -39,21 +40,16 @@ |
|
|
|
android:scaleType="centerCrop" |
|
|
|
android:scaleType="centerCrop" |
|
|
|
app:layout_collapseMode="pin" /> |
|
|
|
app:layout_collapseMode="pin" /> |
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
<RelativeLayout |
|
|
|
android:id="@+id/account_header_info" |
|
|
|
android:id="@+id/account_header_info" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:background="@drawable/account_header_gradient" |
|
|
|
android:background="@drawable/account_header_gradient" |
|
|
|
android:orientation="vertical" |
|
|
|
android:paddingLeft="16dp" |
|
|
|
|
|
|
|
android:paddingRight="16dp" |
|
|
|
android:paddingTop="?attr/actionBarSize" |
|
|
|
android:paddingTop="?attr/actionBarSize" |
|
|
|
app:layout_collapseMode="parallax"> |
|
|
|
app:layout_collapseMode="parallax"> |
|
|
|
|
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
android:paddingLeft="16dp" |
|
|
|
|
|
|
|
android:paddingRight="16dp"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<com.pkmmte.view.CircularImageView |
|
|
|
<com.pkmmte.view.CircularImageView |
|
|
|
android:id="@+id/account_avatar" |
|
|
|
android:id="@+id/account_avatar" |
|
|
|
android:layout_width="80dp" |
|
|
|
android:layout_width="80dp" |
|
|
@ -96,7 +92,8 @@ |
|
|
|
android:maxLines="1" |
|
|
|
android:maxLines="1" |
|
|
|
android:textColor="?android:textColorPrimary" |
|
|
|
android:textColor="?android:textColorPrimary" |
|
|
|
android:textSize="18sp" |
|
|
|
android:textSize="18sp" |
|
|
|
android:textStyle="normal|bold" /> |
|
|
|
android:textStyle="normal|bold" |
|
|
|
|
|
|
|
tools:text="Tusky Mastodon Client" /> |
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
<TextView |
|
|
|
android:id="@+id/account_username" |
|
|
|
android:id="@+id/account_username" |
|
|
@ -105,13 +102,14 @@ |
|
|
|
android:layout_below="@id/account_display_name" |
|
|
|
android:layout_below="@id/account_display_name" |
|
|
|
android:ellipsize="end" |
|
|
|
android:ellipsize="end" |
|
|
|
android:maxLines="1" |
|
|
|
android:maxLines="1" |
|
|
|
android:textColor="?android:textColorSecondary" /> |
|
|
|
android:textColor="?android:textColorSecondary" |
|
|
|
|
|
|
|
tools:text="\@Tusky" /> |
|
|
|
|
|
|
|
|
|
|
|
<ImageView |
|
|
|
<ImageView |
|
|
|
android:id="@+id/account_locked" |
|
|
|
android:id="@+id/account_locked" |
|
|
|
android:layout_width="16sp" |
|
|
|
android:layout_width="16sp" |
|
|
|
android:layout_height="16sp" |
|
|
|
android:layout_height="16sp" |
|
|
|
android:layout_alignBaseline="@+id/account_username" |
|
|
|
android:layout_alignBottom="@id/account_username" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:layout_marginLeft="4dp" |
|
|
|
android:layout_marginLeft="4dp" |
|
|
|
android:layout_marginStart="4dp" |
|
|
|
android:layout_marginStart="4dp" |
|
|
@ -122,17 +120,17 @@ |
|
|
|
android:visibility="gone" |
|
|
|
android:visibility="gone" |
|
|
|
app:srcCompat="@drawable/reblog_disabled_light" /> |
|
|
|
app:srcCompat="@drawable/reblog_disabled_light" /> |
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView |
|
|
|
<TextView |
|
|
|
android:id="@+id/account_note" |
|
|
|
android:id="@+id/account_note" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:padding="16dp" |
|
|
|
android:layout_below="@id/account_username" |
|
|
|
|
|
|
|
android:paddingBottom="16dp" |
|
|
|
android:paddingTop="10dp" |
|
|
|
android:paddingTop="10dp" |
|
|
|
android:textColor="?android:textColorTertiary" /> |
|
|
|
android:textColor="?android:textColorTertiary" |
|
|
|
|
|
|
|
tools:text="This is a test description" /> |
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
|
|
|
@ -179,11 +177,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
</android.support.v4.view.ViewPager> |
|
|
|
</android.support.v4.view.ViewPager> |
|
|
|
|
|
|
|
|
|
|
|
<FrameLayout |
|
|
|
|
|
|
|
android:id="@+id/overlay_fragment_container" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="match_parent" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View |
|
|
|
<View |
|
|
|
android:id="@+id/tab_bottom_shadow" |
|
|
|
android:id="@+id/tab_bottom_shadow" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_width="match_parent" |
|
|
@ -202,4 +195,9 @@ |
|
|
|
android:contentDescription="@string/action_mention" |
|
|
|
android:contentDescription="@string/action_mention" |
|
|
|
app:srcCompat="@drawable/ic_create_24dp" /> |
|
|
|
app:srcCompat="@drawable/ic_create_24dp" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<FrameLayout |
|
|
|
|
|
|
|
android:id="@+id/overlay_fragment_container" |
|
|
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
android:layout_height="match_parent" /> |
|
|
|
|
|
|
|
|
|
|
|
</android.support.design.widget.CoordinatorLayout> |
|
|
|
</android.support.design.widget.CoordinatorLayout> |
|
|
|