0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-26 21:13:01 +00:00

updated update fragment

This commit is contained in:
X1nto 2020-05-13 23:11:44 +04:00
parent 2f2fb535c9
commit dec72bc7ae
4 changed files with 8 additions and 16 deletions

View file

@ -1,6 +1,5 @@
package com.vanced.manager.ui.fragments
import android.content.res.Configuration
import android.os.Build
import android.os.Bundle
import android.view.Menu

View file

@ -3,13 +3,11 @@
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"
style="@style/MaterialCard"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
app:cardCornerRadius="8dp"
app:contentPaddingRight="6dp"
app:contentPaddingLeft="6dp"
app:cardElevation="0dp"
tools:context=".ui.fragments.UpdateCheckFragment">
<androidx.constraintlayout.widget.ConstraintLayout
@ -17,14 +15,11 @@
android:layout_height="match_parent">
<TextView
style="@style/CardTitle"
android:id="@+id/update_center_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/update_center"
android:textAlignment="center"
android:textSize="18sp"
android:fontFamily="@font/exo_semibold"
android:textColor="?attr/colorOnSurfaceVariant"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"/>
@ -58,12 +53,9 @@
<com.google.android.material.button.MaterialButton
android:id="@+id/update_center_recheck"
style="@style/Widget.AppCompat.Button.Borderless.Colored"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/ButtonStyle"
android:layout_marginStart="4dp"
android:text="@string/re_check"
android:textAllCaps="false"/>
android:text="@string/re_check" />
</LinearLayout>

View file

@ -18,8 +18,8 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="4dp"
android:layout_marginEnd="4dp"
android:orientation="vertical">
<com.google.android.material.tabs.TabLayout

View file

@ -18,7 +18,8 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
android:orientation="vertical"
android:layout_marginTop="2dp">
<include
android:id="@+id/home_vanced_medias_wrapper"