Explicitly set the font face and color.
am: 70ae70b
* commit '70ae70b81e452ce8a85dfbb184786c02a9072c23':
Explicitly set the font face and color.
Change-Id: I94011b0f4df228e6cdfe4c095542839abb689a74
This commit is contained in:
@@ -19,7 +19,9 @@
|
|||||||
<TextView android:id="@+id/text"
|
<TextView android:id="@+id/text"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textColor="#ffffffff"
|
android:fontFamily="sans-serif-medium"
|
||||||
|
android:textColor="#fff5f5f5"
|
||||||
|
android:textSize="14sp"
|
||||||
android:background="#ff000000"
|
android:background="#ff000000"
|
||||||
android:maxWidth="480px"
|
android:maxWidth="480px"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
|||||||
@@ -149,12 +149,9 @@ public class Main extends Activity {
|
|||||||
String[] localeNames = getAssets().getLocales();
|
String[] localeNames = getAssets().getLocales();
|
||||||
Arrays.sort(localeNames);
|
Arrays.sort(localeNames);
|
||||||
ArrayList<Locale> locales = new ArrayList<Locale>();
|
ArrayList<Locale> locales = new ArrayList<Locale>();
|
||||||
for (String ln : localeNames) {
|
for (String localeName : localeNames) {
|
||||||
int u = ln.indexOf('_');
|
Log.i(TAG, "locale = " + localeName);
|
||||||
if (u >= 0) {
|
locales.add(Locale.forLanguageTag(localeName));
|
||||||
Log.i(TAG, "locale = " + ln);
|
|
||||||
locales.add(new Locale(ln.substring(0, u), ln.substring(u+1)));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
final Runnable seq = buildSequence(locales.toArray(new Locale[0]));
|
final Runnable seq = buildSequence(locales.toArray(new Locale[0]));
|
||||||
|
|||||||
Reference in New Issue
Block a user