mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-21 18:55:12 +00:00
revert some changes
This commit is contained in:
parent
e681da79e6
commit
9ddc7d6bb6
3 changed files with 11 additions and 17 deletions
|
@ -17,8 +17,6 @@ import androidx.preference.PreferenceManager
|
||||||
import androidx.recyclerview.widget.LinearLayoutManager
|
import androidx.recyclerview.widget.LinearLayoutManager
|
||||||
import com.crowdin.platform.util.inflateWithCrowdin
|
import com.crowdin.platform.util.inflateWithCrowdin
|
||||||
import com.github.florent37.viewtooltip.ViewTooltip
|
import com.github.florent37.viewtooltip.ViewTooltip
|
||||||
import com.google.android.flexbox.AlignContent
|
|
||||||
import com.google.android.flexbox.AlignItems
|
|
||||||
import com.google.android.flexbox.FlexboxLayoutManager
|
import com.google.android.flexbox.FlexboxLayoutManager
|
||||||
import com.google.android.flexbox.JustifyContent
|
import com.google.android.flexbox.JustifyContent
|
||||||
import com.vanced.manager.R
|
import com.vanced.manager.R
|
||||||
|
|
|
@ -1,21 +1,20 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<com.google.android.material.card.MaterialCardView
|
<com.google.android.material.card.MaterialCardView 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"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:id="@+id/link_bg"
|
android:id="@+id/link_bg"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="80dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="68dp"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginTop="12dp"
|
||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
app:cardBackgroundColor="?colorLinkBG"
|
app:cardBackgroundColor="?colorLinkBG"
|
||||||
app:cardCornerRadius="12dp"
|
app:cardCornerRadius="12dp"
|
||||||
app:cardElevation="0dp"
|
app:cardElevation="0dp"
|
||||||
app:contentPaddingBottom="16dp"
|
app:contentPaddingBottom="4dp"
|
||||||
app:contentPaddingLeft="16dp"
|
app:contentPaddingLeft="8dp"
|
||||||
app:contentPaddingRight="16dp"
|
app:contentPaddingRight="8dp"
|
||||||
app:contentPaddingTop="16dp">
|
app:contentPaddingTop="2dp">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/link_image"
|
android:id="@+id/link_image"
|
||||||
|
|
|
@ -3,15 +3,11 @@
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:id="@+id/card_sponsor"
|
android:id="@+id/card_sponsor"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="165dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="97dp"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
app:cardBackgroundColor="?colorLinkBG"
|
app:cardBackgroundColor="?colorLinkBG"
|
||||||
app:contentPaddingTop="16dp"
|
app:cardCornerRadius="12dp"
|
||||||
app:contentPaddingBottom="16dp"
|
|
||||||
app:contentPaddingLeft="64dp"
|
|
||||||
app:contentPaddingRight="64dp"
|
|
||||||
app:cardCornerRadius="16dp"
|
|
||||||
app:cardElevation="0dp">
|
app:cardElevation="0dp">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
@ -24,6 +20,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
|
android:layout_marginTop="16dp"
|
||||||
app:tint="?colorLinkImage"
|
app:tint="?colorLinkImage"
|
||||||
tools:src="@drawable/ic_brave" />
|
tools:src="@drawable/ic_brave" />
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue