mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-20 10:15:11 +00:00
Merge pull request #68 from AioiLight/usefullinks-text-wrap
Adjust the width of the layout for some languages
This commit is contained in:
commit
e93f800dba
2 changed files with 23 additions and 14 deletions
|
@ -24,12 +24,17 @@
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
style="@style/CardTitle"
|
style="@style/CardTitle"
|
||||||
|
android:layout_marginStart="8dp"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
android:text="@string/useful_links" />
|
android:text="@string/useful_links" />
|
||||||
|
|
||||||
<include
|
<include
|
||||||
layout="@layout/include_vanced_medias"
|
layout="@layout/include_vanced_medias"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="8dp"
|
||||||
|
android:layout_marginTop="8dp"
|
||||||
|
android:layout_marginEnd="8dp"
|
||||||
bind:viewModel="@{viewModel}" />
|
bind:viewModel="@{viewModel}" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -27,33 +27,37 @@
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
android:id="@+id/websitebtn"
|
android:id="@+id/websitebtn"
|
||||||
style="@style/SocialButtonStyle"
|
style="@style/SocialButtonStyle"
|
||||||
app:icon="@drawable/ic_vanced_nobg"
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="@font/exo_semibold"
|
||||||
|
android:onClick='@{()-> viewModel.openUrl("https://vanced.app")}'
|
||||||
android:text="@string/website_text"
|
android:text="@string/website_text"
|
||||||
android:textAlignment="textEnd"
|
android:textAlignment="textEnd"
|
||||||
android:textAllCaps="false"
|
android:textAllCaps="false"
|
||||||
android:fontFamily="@font/exo_semibold"
|
|
||||||
android:textSize="17sp"
|
android:textSize="17sp"
|
||||||
|
app:icon="@drawable/ic_vanced_nobg"
|
||||||
app:iconPadding="7sp"
|
app:iconPadding="7sp"
|
||||||
app:layout_constraintEnd_toStartOf="@id/bravebtn"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
android:onClick='@{()-> viewModel.openUrl("https://vanced.app")}'/>
|
app:layout_constraintEnd_toStartOf="@id/bravebtn"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
android:id="@+id/bravebtn"
|
android:id="@+id/bravebtn"
|
||||||
style="@style/SocialButtonStyle"
|
style="@style/SocialButtonStyle"
|
||||||
app:icon="@drawable/ic_brave_logo"
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:fontFamily="@font/exo_semibold"
|
||||||
|
android:onClick='@{()-> viewModel.openUrl("https://brave.com/van874")}'
|
||||||
android:text="@string/support_us"
|
android:text="@string/support_us"
|
||||||
android:textAllCaps="false"
|
android:textAllCaps="false"
|
||||||
android:fontFamily="@font/exo_semibold"
|
|
||||||
app:iconPadding="7dp"
|
|
||||||
android:textSize="17sp"
|
android:textSize="17sp"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:icon="@drawable/ic_brave_logo"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:iconPadding="7dp"
|
||||||
app:layout_constraintStart_toEndOf="@id/websitebtn"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
android:onClick='@{()-> viewModel.openUrl("https://brave.com/van874")}'/>
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toEndOf="@id/websitebtn"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue