mirror of https://github.com/ThmmyNoLife/mTHMMY
Ezerous
4 years ago
32 changed files with 350 additions and 328 deletions
@ -0,0 +1,11 @@ |
|||||
|
body { |
||||
|
background: #323232 !important; |
||||
|
} |
||||
|
|
||||
|
.post, .personalmessage { |
||||
|
background: #323232 !important; |
||||
|
} |
||||
|
|
||||
|
.customSignature { |
||||
|
background: #323232 !important; |
||||
|
} |
@ -0,0 +1,11 @@ |
|||||
|
body { |
||||
|
background: #434649 !important; |
||||
|
} |
||||
|
|
||||
|
.post, .personalmessage { |
||||
|
background: #434649 !important; |
||||
|
} |
||||
|
|
||||
|
.customSignature { |
||||
|
background: #434649 !important; |
||||
|
} |
@ -1,26 +1,16 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||
<RelativeLayout |
<RelativeLayout |
||||
xmlns:android="http://schemas.android.com/apk/res/android" |
xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||
android:layout_height="match_parent"> |
android:layout_height="match_parent" |
||||
|
android:background="@color/background_lighter"> |
||||
|
|
||||
<androidx.recyclerview.widget.RecyclerView |
<androidx.recyclerview.widget.RecyclerView |
||||
android:id="@+id/profile_latest_posts_recycler" |
android:id="@+id/profile_latest_posts_recycler" |
||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
android:layout_height="match_parent" |
||||
android:background="@color/background" |
android:padding="4dp" |
||||
|
android:clipToPadding = "false" |
||||
android:scrollbars="none"> |
android:scrollbars="none"> |
||||
</androidx.recyclerview.widget.RecyclerView> |
</androidx.recyclerview.widget.RecyclerView> |
||||
|
|
||||
<me.zhanghai.android.materialprogressbar.MaterialProgressBar |
|
||||
android:id="@+id/progressBar" |
|
||||
style="@style/Widget.MaterialProgressBar.ProgressBar.Horizontal.NoPadding" |
|
||||
android:layout_width="match_parent" |
|
||||
android:layout_height="@dimen/progress_bar_height" |
|
||||
android:layout_alignParentTop="true" |
|
||||
android:indeterminate="true" |
|
||||
android:visibility="invisible" |
|
||||
app:mpb_indeterminateTint="@color/accent" |
|
||||
app:mpb_progressStyle="horizontal"/> |
|
||||
</RelativeLayout> |
</RelativeLayout> |
@ -1,61 +1,82 @@ |
|||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||
<FrameLayout |
<RelativeLayout |
||||
xmlns:android="http://schemas.android.com/apk/res/android" |
xmlns:android="http://schemas.android.com/apk/res/android" |
||||
|
android:id="@+id/latest_posts_row" |
||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||
android:background="@color/background_light"> |
android:layout_marginBottom="2dp"> |
||||
|
|
||||
<RelativeLayout |
<androidx.cardview.widget.CardView |
||||
android:id="@+id/latest_posts_row" |
xmlns:card_view="http://schemas.android.com/apk/res-auto" |
||||
|
android:id="@+id/card_view" |
||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
android:layout_height="match_parent" |
||||
android:background="?android:attr/selectableItemBackground" |
android:layout_gravity="center" |
||||
android:clickable="true" |
android:foreground="?android:attr/selectableItemBackground" |
||||
android:focusable="true" |
card_view:cardBackgroundColor="@color/background" |
||||
android:paddingBottom="6dp" |
card_view:cardCornerRadius="5dp" |
||||
android:paddingLeft="10dp" |
card_view:cardElevation="2dp" |
||||
android:paddingRight="10dp" |
card_view:cardPreventCornerOverlap="false" |
||||
android:paddingTop="6dp"> |
card_view:cardUseCompatPadding="true"> |
||||
|
|
||||
<TextView |
|
||||
android:id="@+id/title" |
|
||||
android:layout_width="match_parent" |
|
||||
android:layout_height="wrap_content" |
|
||||
android:layout_alignParentStart="true" |
|
||||
android:layout_alignParentTop="true" |
|
||||
android:textAppearance="?attr/textAppearanceListItem" |
|
||||
android:textColor="@color/primary_text"/> |
|
||||
|
|
||||
<TextView |
|
||||
android:id="@+id/date" |
|
||||
android:layout_width="wrap_content" |
|
||||
android:layout_height="wrap_content" |
|
||||
android:layout_alignParentStart="true" |
|
||||
android:layout_below="@+id/title" |
|
||||
android:textColor="@color/secondary_text"/> |
|
||||
|
|
||||
|
|
||||
<View |
|
||||
android:id="@+id/spacer_divider" |
|
||||
android:layout_width="match_parent" |
|
||||
android:layout_height="1dp" |
|
||||
android:layout_below="@+id/date" |
|
||||
android:layout_marginBottom="3dp" |
|
||||
android:layout_marginTop="3dp" |
|
||||
android:background="@color/divider"/> |
|
||||
|
|
||||
<FrameLayout |
<RelativeLayout |
||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
android:layout_height="wrap_content"> |
||||
android:layout_alignParentStart="true" |
|
||||
android:layout_below="@+id/spacer_divider"> |
|
||||
|
|
||||
<gr.thmmy.mthmmy.views.ReactiveWebView |
<RelativeLayout |
||||
android:id="@+id/post" |
android:id="@+id/latest_posts_row_head" |
||||
android:layout_width="match_parent" |
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
||||
android:background="@color/background_light" |
android:background="?android:attr/selectableItemBackground" |
||||
android:text="@string/post"/> |
android:clickable="true" |
||||
</FrameLayout> |
android:focusable="true" |
||||
</RelativeLayout> |
android:paddingStart="10dp" |
||||
</FrameLayout> |
android:paddingEnd="10dp" |
||||
|
android:paddingTop="8dp"> |
||||
|
|
||||
|
<TextView |
||||
|
android:id="@+id/title" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_alignParentStart="true" |
||||
|
android:layout_alignParentTop="true" |
||||
|
android:textAppearance="?attr/textAppearanceListItem" |
||||
|
android:textColor="@color/primary_text"/> |
||||
|
|
||||
|
<TextView |
||||
|
android:id="@+id/date" |
||||
|
android:layout_width="wrap_content" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:layout_alignParentStart="true" |
||||
|
android:layout_below="@+id/title" |
||||
|
android:textColor="@color/secondary_text"/> |
||||
|
|
||||
|
<View |
||||
|
android:id="@+id/spacer_divider" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="1dp" |
||||
|
android:layout_below="@+id/date" |
||||
|
android:layout_marginTop="6dp" |
||||
|
android:background="@color/secondary_text"/> |
||||
|
</RelativeLayout> |
||||
|
|
||||
|
<FrameLayout |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="match_parent" |
||||
|
android:layout_alignParentStart="true" |
||||
|
android:layout_below="@+id/latest_posts_row_head" |
||||
|
android:paddingStart="10dp" |
||||
|
android:paddingEnd="10dp" |
||||
|
android:paddingTop="6dp" |
||||
|
android:paddingBottom="8dp"> |
||||
|
|
||||
|
<gr.thmmy.mthmmy.views.ReactiveWebView |
||||
|
android:id="@+id/post" |
||||
|
android:layout_width="match_parent" |
||||
|
android:layout_height="wrap_content" |
||||
|
android:background="@color/background_light" |
||||
|
android:text="@string/post"/> |
||||
|
</FrameLayout> |
||||
|
</RelativeLayout> |
||||
|
</androidx.cardview.widget.CardView> |
||||
|
</RelativeLayout> |
Loading…
Reference in new issue