diff --git a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/MainRecyclerAdapter.kt b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/MainRecyclerAdapter.kt index 500be2e4..ebd40b0d 100644 --- a/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/MainRecyclerAdapter.kt +++ b/V2rayNG/app/src/main/kotlin/com/v2ray/ang/ui/MainRecyclerAdapter.kt @@ -64,11 +64,13 @@ class MainRecyclerAdapter(val activity: MainActivity) : RecyclerView.Adapter + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:id="@+id/item_bg" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center_vertical"> - + app:cardCornerRadius="5dp"> - - - - - - - + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:paddingEnd="5dp"> + android:id="@+id/tv_subscription" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:lines="1" + android:textAppearance="@style/TextAppearance.AppCompat.Small" + android:textColor="@color/colorSubscription" + android:textSize="10sp" + tools:text="Sub" /> + + - \ No newline at end of file + diff --git a/V2rayNG/app/src/main/res/values/colors.xml b/V2rayNG/app/src/main/res/values/colors.xml index 1e7d71a4..0f46e604 100644 --- a/V2rayNG/app/src/main/res/values/colors.xml +++ b/V2rayNG/app/src/main/res/values/colors.xml @@ -9,4 +9,5 @@ #FFFFFF #BDBDBD #185534 + #247BA0