후원 랭킹 기간 선택 추가

프로필 후원 랭킹 조회와 프로필 갱신 요청에 기간 값을 전달한다.
This commit is contained in:
2026-02-03 19:09:55 +09:00
parent 84803c171c
commit 21c87f95ef
11 changed files with 242 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
@@ -54,11 +55,76 @@
android:textSize="12sp" />
</LinearLayout>
<LinearLayout
android:id="@+id/ll_donation_ranking_period"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="13.3dp"
android:layout_marginTop="13.3dp"
android:gravity="center"
android:orientation="horizontal"
android:visibility="gone">
<LinearLayout
android:id="@+id/ll_period_weekly"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"
android:focusable="true"
android:gravity="center_vertical">
<ImageView
android:id="@+id/iv_period_weekly"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@null"
android:src="@drawable/btn_square_select_checked"
tools:src="@drawable/btn_square_select_checked" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="6.7dp"
android:fontFamily="@font/medium"
android:text="@string/screen_user_profile_donation_period_weekly"
android:textColor="@color/color_eeeeee"
android:textSize="14.7sp" />
</LinearLayout>
<LinearLayout
android:id="@+id/ll_period_cumulative"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:clickable="true"
android:focusable="true"
android:gravity="center_vertical">
<ImageView
android:id="@+id/iv_period_cumulative"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@null"
android:src="@drawable/btn_square_select_normal"
tools:src="@drawable/btn_square_select_normal" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="6.7dp"
android:fontFamily="@font/medium"
android:text="@string/screen_user_profile_donation_period_cumulative"
android:textColor="@color/color_eeeeee"
android:textSize="14.7sp" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/ll_total"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="13.3dp"
android:layout_marginHorizontal="13.3dp"
android:layout_marginTop="13.3dp"
android:background="@drawable/bg_round_corner_8_13181b"
android:orientation="vertical"
android:padding="16.7dp"
@@ -167,9 +233,24 @@
</LinearLayout>
<com.google.android.material.tabs.TabLayout
android:id="@+id/tab_donation_ranking_period"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="13.3dp"
android:background="@color/black"
android:visibility="gone"
app:tabIndicatorColor="@color/color_3bb9f1"
app:tabIndicatorFullWidth="true"
app:tabIndicatorHeight="4dp"
app:tabSelectedTextColor="@color/color_3bb9f1"
app:tabTextAppearance="@style/tabText"
app:tabTextColor="@color/color_b0bec5" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="13.3dp"
android:gravity="center_vertical"
android:paddingHorizontal="13.3dp">

View File

@@ -810,6 +810,8 @@
<string name="screen_user_profile_donation_total_label">All</string>
<string name="screen_user_profile_donation_total_unit">items</string>
<string name="screen_user_profile_donation_total_can_format">%1$s %2$s</string>
<string name="screen_user_profile_donation_period_weekly">Weekly</string>
<string name="screen_user_profile_donation_period_cumulative">Cumulative</string>
<string name="screen_user_profile_community_title">Community</string>
<string name="screen_user_profile_community_create">Create post</string>
<string name="screen_user_profile_community_empty_desc">After posting, your post will appear here\nand be visible in the community.</string>

View File

@@ -810,6 +810,8 @@
<string name="screen_user_profile_donation_total_label"></string>
<string name="screen_user_profile_donation_total_unit"></string>
<string name="screen_user_profile_donation_total_can_format">%1$s %2$s</string>
<string name="screen_user_profile_donation_period_weekly">週間</string>
<string name="screen_user_profile_donation_period_cumulative">累計</string>
<string name="screen_user_profile_community_title">コミュニティ</string>
<string name="screen_user_profile_community_create">投稿作成</string>
<string name="screen_user_profile_community_empty_desc">投稿するとここに表示され、\nコミュニティに公開されます。</string>

View File

@@ -809,6 +809,8 @@
<string name="screen_user_profile_donation_total_label">전체</string>
<string name="screen_user_profile_donation_total_unit"></string>
<string name="screen_user_profile_donation_total_can_format">%1$s %2$s</string>
<string name="screen_user_profile_donation_period_weekly">주간</string>
<string name="screen_user_profile_donation_period_cumulative">누적</string>
<string name="screen_user_profile_community_title">커뮤니티</string>
<string name="screen_user_profile_community_create">게시물 등록</string>
<string name="screen_user_profile_community_empty_desc">게시 후에 게시물이 여기에 표시되고\n커뮤니티에 공개됩니다.</string>