diff --git a/app/src/main/res/layout/subscription_stage_fragment.xml b/app/src/main/res/layout/subscription_stage_fragment.xml index 77d9ef65f8c7c6bf54bdef7d54d1646b86417404..b8bbd8e9665850a4647798aa0b33e3238d62d570 100644 --- a/app/src/main/res/layout/subscription_stage_fragment.xml +++ b/app/src/main/res/layout/subscription_stage_fragment.xml @@ -1,6 +1,48 @@ <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout 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_height="match_parent"> + <androidx.constraintlayout.widget.Guideline + android:id="@+id/guidelineLogo" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:orientation="horizontal" + app:layout_constraintGuide_percent="0.35" /> + + <org.futo.circles.view.CirclesLogoView + android:id="@+id/ivLogo" + android:layout_width="0dp" + android:layout_height="0dp" + android:layout_marginHorizontal="35dp" + android:layout_marginTop="24dp" + app:layout_constraintBottom_toTopOf="@id/guidelineLogo" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + <TextView + android:id="@+id/tvSubscriptionTitle" + style="@style/title2" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:gravity="center" + android:text="@string/subscriptions" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/guidelineLogo" + app:layout_constraintVertical_bias="0.3" + app:layout_constraintVertical_chainStyle="packed" /> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/rvSubscriptions" + android:layout_width="0dp" + android:layout_height="0dp" + app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@id/tvSubscriptionTitle" /> + </androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index bf2a97bca53551c8ed29f632b134e1db5e35977a..0185ad83623ff2101ce62c98ab22026ddedf199b 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -238,6 +238,7 @@ <string name="enable_cross_signing">Enable Cross Signing</string> <string name="enable_cross_signing_message">Confirm auth to enable cross signing</string> <string name="device_media">Device media</string> + <string name="subscriptions">Subscriptions</string> <string-array name="report_categories"> <item>@string/crude_language</item>