diff --git a/res/layout/whats_new_activity.xml b/res/layout/whats_new_activity.xml index e46399dfee..692102a8ab 100644 --- a/res/layout/whats_new_activity.xml +++ b/res/layout/whats_new_activity.xml @@ -10,7 +10,7 @@ android:layout_width="match_parent" android:layout_height="0dp" android:textAppearance="?android:attr/textAppearanceLarge" - android:text="" + android:text="@string/placeholder_sentence" android:id="@+id/welcomeText" android:layout_margin="5dp" android:layout_weight="10" @@ -39,7 +39,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" - android:text="Skip" + android:text="@string/whats_new_skip" android:layout_gravity="center_vertical|center_horizontal"/> + android:layout_gravity="center_horizontal" + android:gravity="center"/> + android:layout_gravity="center_horizontal" + android:gravity="center"/> \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index fcb9bfb25d..742c82723d 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -347,7 +347,7 @@ An error occurred while waiting for the server; the operation couldn\'t be completed An error occurred while waiting for the server; the operation couldn\'t be completed The operation couldn\'t be completed; server is unavailable - + You do not have permission %s to rename this file @@ -546,7 +546,6 @@ Unknown - Welcome to Nextcloud! What\'s new in Nextcloud @@ -563,4 +562,5 @@ Connect to all your clouds Your private files synced anywhere + Skip diff --git a/res/values/styles.xml b/res/values/styles.xml index 664f6bfd95..6a8fd5a73f 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -277,4 +277,14 @@ + + \ No newline at end of file diff --git a/src/com/owncloud/android/ui/activity/WhatsNewActivity.java b/src/com/owncloud/android/ui/activity/WhatsNewActivity.java index 98a12cbcce..6f29dc4611 100644 --- a/src/com/owncloud/android/ui/activity/WhatsNewActivity.java +++ b/src/com/owncloud/android/ui/activity/WhatsNewActivity.java @@ -99,7 +99,7 @@ public class WhatsNewActivity extends FragmentActivity implements ViewPager.OnPa }); TextView tv = (TextView)findViewById(R.id.welcomeText); - tv.setText(isFirstRun() ? R.string.welcome_to_nc_title : R.string.whats_new_title); + tv.setText(isFirstRun() ? R.string.empty : R.string.whats_new_title); updateNextButtonIfNeeded(); }