mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 23:40:33 +05:30
UI improvements
This commit is contained in:
parent
6d9b55e519
commit
94e4f90a01
@ -16,7 +16,6 @@ import com.github.libretube.ui.sheets.VideoOptionsBottomSheet
|
||||
import com.github.libretube.ui.viewholders.ChannelViewHolder
|
||||
import com.github.libretube.util.ImageHelper
|
||||
import com.github.libretube.util.NavigationHelper
|
||||
import org.chromium.base.ContextUtils
|
||||
|
||||
class ChannelAdapter(
|
||||
private val videoFeed: MutableList<StreamItem>,
|
||||
|
@ -75,18 +75,16 @@
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/channel_share"
|
||||
style="@style/Widget.Material3.Button.ElevatedButton"
|
||||
style="@style/Widget.Material3.Button.IconButton.Filled.Tonal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:drawableTint="?android:attr/textColorPrimary"
|
||||
android:paddingHorizontal="15dp"
|
||||
android:stateListAnimator="@null"
|
||||
android:layout_marginEnd="10dp"
|
||||
app:icon="@drawable/ic_share"
|
||||
android:text="@string/share"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="12sp"
|
||||
app:cornerRadius="20dp"
|
||||
app:elevation="20dp"
|
||||
app:icon="@drawable/ic_share"
|
||||
tools:targetApi="m" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
@ -96,7 +94,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableTint="?android:attr/textColorPrimary"
|
||||
android:stateListAnimator="@null"
|
||||
app:icon="@drawable/ic_add"
|
||||
android:text="@string/subscribe"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="12sp"
|
||||
|
Loading…
x
Reference in New Issue
Block a user