cleanup code, remove some unneeded files
This commit is contained in:
parent
07edebdfcf
commit
f2f3be37b3
47 changed files with 189 additions and 286 deletions
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#60000000">
|
||||
|
||||
<WebView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/gif_view"
|
||||
android:layout_centerInParent="true" />
|
||||
|
||||
</RelativeLayout>
|
|
@ -1,48 +1,49 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/account_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="72dp"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:gravity="center_vertical"
|
||||
android:id="@+id/account_container">
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp">
|
||||
|
||||
<com.pkmmte.view.CircularImageView
|
||||
android:id="@+id/account_avatar"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:id="@+id/account_avatar"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:layout_marginRight="24dp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_toEndOf="@id/account_avatar"
|
||||
android:layout_toRightOf="@id/account_avatar">
|
||||
android:layout_toRightOf="@id/account_avatar"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/account_display_name"
|
||||
android:text="Display name"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:textSize="16sp"
|
||||
android:textColor="?android:textColorPrimary"
|
||||
android:textStyle="normal|bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="\@username"
|
||||
android:maxLines="1"
|
||||
android:ellipsize="end"
|
||||
android:textSize="14sp"
|
||||
android:maxLines="1"
|
||||
android:textColor="?android:textColorPrimary"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="normal|bold"
|
||||
tools:text="Display name" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/account_username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:textColor="?android:textColorSecondary"
|
||||
android:id="@+id/account_username" />
|
||||
android:textSize="14sp"
|
||||
tools:text="\@username" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--This applies only to favourite and reblog notifications.-->
|
||||
<?xml version="1.0" encoding="utf-8"?><!--This applies only to favourite and reblog notifications.-->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/notification_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp">
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/notification_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/notification_top_bar"
|
||||
|
@ -25,7 +24,7 @@
|
|||
android:paddingLeft="24dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingStart="24dp"
|
||||
app:srcCompat="@drawable/ic_repeat_24dp"/>
|
||||
app:srcCompat="@drawable/ic_repeat_24dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/notification_text"
|
||||
|
@ -36,8 +35,8 @@
|
|||
android:layout_toRightOf="@id/notification_icon"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:text="Someone favourited your status"
|
||||
android:textColor="?android:textColorSecondary"/>
|
||||
android:textColor="?android:textColorSecondary"
|
||||
tools:text="Someone favourited your status" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
|
@ -52,7 +51,7 @@
|
|||
android:paddingRight="0dp"
|
||||
android:paddingStart="58dp"
|
||||
android:textColor="?android:textColorTertiary"
|
||||
tools:text="Example status here"/>
|
||||
tools:text="Example status here" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/notification_status_avatar"
|
||||
|
@ -68,7 +67,7 @@
|
|||
android:paddingRight="12dp"
|
||||
android:scaleType="fitCenter"
|
||||
tools:ignore="RtlHardcoded,RtlSymmetry"
|
||||
tools:src="@drawable/avatar_default"/>
|
||||
tools:src="@drawable/avatar_default" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/notification_notification_avatar"
|
||||
|
@ -79,6 +78,6 @@
|
|||
android:layout_alignRight="@id/notification_status_avatar"
|
||||
android:visibility="gone"
|
||||
tools:src="@color/accent"
|
||||
tools:visibility="visible"/>
|
||||
tools:visibility="visible" />
|
||||
|
||||
</RelativeLayout>
|
Loading…
Add table
Add a link
Reference in a new issue