浏览代码

fixed layouting for participate text

Andy Scherzinger 8 年之前
父节点
当前提交
d1fdbe44b0
共有 3 个文件被更改,包括 5 次插入6 次删除
  1. 2 3
      res/layout/participate_layout.xml
  2. 1 0
      res/values/dims.xml
  3. 2 3
      res/values/strings.xml

+ 2 - 3
res/layout/participate_layout.xml

@@ -149,7 +149,7 @@
                     android:layout_width="wrap_content"
                     android:layout_height="wrap_content"
                     android:text="@string/participate_contribute_irc_text"
-                    android:padding="@dimen/standard_half_padding"
+                    android:paddingBottom="@dimen/standard_quarter_padding"
                     android:textAppearance="?android:attr/textAppearanceMedium"/>
 
                 <TextView
@@ -157,7 +157,7 @@
                     android:layout_width="wrap_content"
                     android:layout_height="wrap_content"
                     android:text="@string/participate_contribute_forum_text"
-                    android:padding="@dimen/standard_half_padding"
+                    android:paddingBottom="@dimen/standard_quarter_padding"
                     android:textAppearance="?android:attr/textAppearanceMedium"/>
 
                 <TextView
@@ -165,7 +165,6 @@
                     android:layout_width="wrap_content"
                     android:layout_height="wrap_content"
                     android:text="@string/participate_contribute_github_text"
-                    android:padding="@dimen/standard_half_padding"
                     android:textAppearance="?android:attr/textAppearanceMedium"/>
             </LinearLayout>
         </ScrollView>

+ 1 - 0
res/values/dims.xml

@@ -37,6 +37,7 @@
     <dimen name="file_avatar_size">128dp</dimen>
     <dimen name="standard_padding">16dp</dimen>
     <dimen name="standard_half_padding">8dp</dimen>
+    <dimen name="standard_quarter_padding">4dp</dimen>
     <dimen name="standard_margin">16dp</dimen>
     <dimen name="standard_half_margin">8dp</dimen>
     <dimen name="min_list_item_size">56dp</dimen>

+ 2 - 3
res/values/strings.xml

@@ -478,12 +478,11 @@
     <string name="participate_beta_headline">Test the Beta version</string>
     <string name="participate_beta_text">This includes all upcoming features and is very bleeding edge. Bugs/errors can occur and if they do, please report them to us. &lt;a href="%2$s">Download the APK&lt;/a> or</string>
     <string name="participate_release_candidate_headline">Release candidate</string>
-    <string name="participate_release_candidate_text">The release candidate (RC) is a snapshot of the upcoming
-        release and it is expected to be stable. Testing your individual setup could help to ensure this. Sign up for testing on the Play store or manually look in the \"versions\" section on F-Droid.</string>
+    <string name="participate_release_candidate_text">The release candidate (RC) is a snapshot of the upcoming release and it is expected to be stable. Testing your individual setup could help to ensure this. Sign up for testing on the Play store or manually look in the \"versions\" section on F-Droid.</string>
     <string name="participate_contribute_headline">Actively Contribute</string>
     <string name="participate_contribute_irc_text">Join the chat on IRC: &lt;a href="%1$s">#nextcloud-mobile&lt;/a></string>
     <string name="participate_contribute_forum_text">Help others on the &lt;a href="%1$s>forum&lt;/a></string>
-    <string name="participate_contribute_github_text">Be part of the Team and contribute as a developer: &lt;a href="https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md">Github CONTRIBUTING.md&lt;/a></string>
+    <string name="participate_contribute_github_text">Contribute as a developer, see &lt;a href="https://github.com/nextcloud/android/blob/master/CONTRIBUTING.md">CONTRIBUTING.md&lt;/a> for details</string>
     <plurals name="items_selected_count">
         <!--
              As a developer, you should always supply "one" and "other"