0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-22 19:25:11 +00:00

some little changes

This commit is contained in:
X1nto 2020-06-02 18:54:28 +04:00
parent da9ef8a5bd
commit 210ad34bf3
2 changed files with 24 additions and 7 deletions

View file

@ -31,20 +31,32 @@
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toTopOf="@id/vanced_title_buttons_barrier" />
<com.google.android.material.button.MaterialButton
android:id="@+id/vanced_installbtn"
style="@style/ButtonStyle"
android:text="@string/install"
<FrameLayout
android:id="@+id/vanced_buttons_frame"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:icon="@drawable/outline_cloud_download_24" />
app:layout_constraintTop_toTopOf="parent">
<com.google.android.material.button.MaterialButton
style="@style/DisabledButtonStyle"
android:text="No Microg!"
android:clickable="false" />
<com.google.android.material.button.MaterialButton
android:id="@+id/vanced_installbtn"
style="@style/ButtonStyle"
android:text="@string/install"
app:icon="@drawable/outline_cloud_download_24"/>
</FrameLayout>
<androidx.constraintlayout.widget.Barrier
android:id="@+id/vanced_title_buttons_barrier"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:barrierDirection="bottom"
app:constraint_referenced_ids="vanced_installbtn"/>
app:constraint_referenced_ids="home_vanced_logo, vanced_buttons_frame"/>
<ImageView
style="@style/ClickableImageWidget.Red"

View file

@ -15,6 +15,11 @@
<item name="fontFamily">@font/exo_bold</item>
</style>
<style name="DisabledButtonStyle" parent="ButtonStyle">
<item name="backgroundTint">?colorDisabled</item>
<item name="android:textColor">#e8e8e8</item>
</style>
<style name="InstallButtonStyle" parent="ButtonStyle">
<item name="android:layout_marginEnd">6dp</item>
<item name="android:layout_gravity">end</item>