Add credits to About; use style to remove duplicates; credit Sarah.

This commit is contained in:
Andy2 2010-07-18 19:16:46 -07:00
parent d0a632d3ff
commit 9eb424201d
3 changed files with 21 additions and 23 deletions

View file

@ -6,38 +6,24 @@
> >
<TextView android:id="@+id/version_string" <TextView android:id="@+id/version_string"
android:layout_marginLeft="5sp" style="@style/about_items"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="#FFFFFFFF"
/> />
<TextView android:layout_marginLeft="5sp" <TextView style="@style/about_items"
android:layout_marginTop="5sp"
android:layout_marginBottom="5sp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/about_copyright" android:text="@string/about_copyright"
android:textColor="#FFFFFFFF"
/> />
<TextView android:layout_marginLeft="5sp" <TextView style="@style/about_items"
android:layout_marginTop="5sp"
android:layout_marginBottom="5sp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/about_web" android:text="@string/about_web"
android:textColor="#FFFFFFFF"
android:autoLink="all" android:autoLink="all"
/> />
<TextView android:id="@+id/about_xlator" <TextView android:id="@+id/about_xlator"
android:layout_marginLeft="5sp" style="@style/about_items"
android:layout_marginTop="5sp" />
android:layout_marginBottom="5sp"
android:layout_width="fill_parent" <TextView style="@style/about_items"
android:layout_height="wrap_content" android:text="@string/about_credits"
android:textColor="#FFFFFFFF"
/> />
</LinearLayout> </LinearLayout>

View file

@ -340,6 +340,9 @@
<!-- fill this in other than in English --> <!-- fill this in other than in English -->
<string name="xlator"></string> <string name="xlator"></string>
<string name="about_credits">Toolbar icons by Sarah Chu; other
credits pending permission.</string>
<string name="downloading_dictf">Downloading Crosswords <string name="downloading_dictf">Downloading Crosswords
dictionary %s...</string> dictionary %s...</string>
<string name="no_dict_title">Dictionary not found</string> <string name="no_dict_title">Dictionary not found</string>

View file

@ -43,5 +43,14 @@
<item name="android:layout_weight">1</item> <item name="android:layout_weight">1</item>
</style> </style>
<style name="about_items">
<item name="android:layout_marginLeft">5sp</item>
<item name="android:layout_marginTop">5sp</item>
<item name="android:layout_marginBottom">5sp</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:textColor">#FFFFFFFF</item>
</style>
</resources> </resources>