Explicitly set the font face and color. am: 70ae70b

am: 6fa5fa9

* commit '6fa5fa91bf1439e6c5070f3aee9b447f995882c1':
  Explicitly set the font face and color.

Change-Id: I1b2079d35cb7165db738a8d9ca442fa96729979e
This commit is contained in:
Elliott Hughes
2016-04-15 16:01:01 +00:00
committed by android-build-merger
2 changed files with 6 additions and 7 deletions
+3 -1
View File
@@ -19,7 +19,9 @@
<TextView android:id="@+id/text"
android:layout_width="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:maxWidth="480px"
android:gravity="center"
@@ -149,12 +149,9 @@ public class Main extends Activity {
String[] localeNames = getAssets().getLocales();
Arrays.sort(localeNames);
ArrayList<Locale> locales = new ArrayList<Locale>();
for (String ln : localeNames) {
int u = ln.indexOf('_');
if (u >= 0) {
Log.i(TAG, "locale = " + ln);
locales.add(new Locale(ln.substring(0, u), ln.substring(u+1)));
}
for (String localeName : localeNames) {
Log.i(TAG, "locale = " + localeName);
locales.add(Locale.forLanguageTag(localeName));
}
final Runnable seq = buildSequence(locales.toArray(new Locale[0]));