Dbrant has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/403414 )
Change subject: Fix a couple more button text center-alignments.
......................................................................
Fix a couple more button text center-alignments.
Change-Id: I7df05cf8d592767ad1eca4f662e3bc0df8804327
---
M app/src/main/res/layout/fragment_local_compilations.xml
M app/src/main/res/layout/inflate_create_account_onboarding.xml
M app/src/main/res/layout/view_card_announcement.xml
M app/src/main/res/layout/view_card_offline_compilation.xml
M app/src/main/res/layout/view_onboarding.xml
5 files changed, 5 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia
refs/changes/14/403414/1
diff --git a/app/src/main/res/layout/fragment_local_compilations.xml
b/app/src/main/res/layout/fragment_local_compilations.xml
index d032a8c..23b8d50 100644
--- a/app/src/main/res/layout/fragment_local_compilations.xml
+++ b/app/src/main/res/layout/fragment_local_compilations.xml
@@ -68,6 +68,7 @@
<TextView
android:id="@+id/compilations_add_button"
style="@style/Widget.AppCompat.Button.Borderless"
+ android:textAlignment="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="4dp"
diff --git a/app/src/main/res/layout/inflate_create_account_onboarding.xml
b/app/src/main/res/layout/inflate_create_account_onboarding.xml
index f1a92ba..922bbfa 100644
--- a/app/src/main/res/layout/inflate_create_account_onboarding.xml
+++ b/app/src/main/res/layout/inflate_create_account_onboarding.xml
@@ -101,6 +101,7 @@
<TextView
android:id="@+id/create_account_login_button"
style="@style/Widget.AppCompat.Button.Borderless"
+ android:textAlignment="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="0dp"
diff --git a/app/src/main/res/layout/view_card_announcement.xml
b/app/src/main/res/layout/view_card_announcement.xml
index 7b46192..89d386b 100644
--- a/app/src/main/res/layout/view_card_announcement.xml
+++ b/app/src/main/res/layout/view_card_announcement.xml
@@ -36,6 +36,7 @@
<TextView
android:id="@+id/view_announcement_action_negative"
style="@style/Widget.AppCompat.Button.Borderless"
+ android:textAlignment="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="4dp"
diff --git a/app/src/main/res/layout/view_card_offline_compilation.xml
b/app/src/main/res/layout/view_card_offline_compilation.xml
index 50eeb82..3a91fcc 100644
--- a/app/src/main/res/layout/view_card_offline_compilation.xml
+++ b/app/src/main/res/layout/view_card_offline_compilation.xml
@@ -37,6 +37,7 @@
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
style="@style/Widget.AppCompat.Button.Borderless"
+ android:textAlignment="center"
android:textColor="@android:color/white"
android:text="@string/offline_my_compilations"/>
diff --git a/app/src/main/res/layout/view_onboarding.xml
b/app/src/main/res/layout/view_onboarding.xml
index feca0c2..f46a01d 100644
--- a/app/src/main/res/layout/view_onboarding.xml
+++ b/app/src/main/res/layout/view_onboarding.xml
@@ -44,6 +44,7 @@
<TextView
android:id="@+id/view_onboarding_action_negative"
style="@style/Widget.AppCompat.Button.Borderless"
+ android:textAlignment="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="4dp"
--
To view, visit https://gerrit.wikimedia.org/r/403414
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7df05cf8d592767ad1eca4f662e3bc0df8804327
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Dbrant <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits