summaryrefslogtreecommitdiffstats
path: root/samples/browseable/BasicImmersiveMode/src/com.example.android.basicimmersivemode/MainActivity.java
diff options
context:
space:
mode:
authorAlexander Lucas <alexlucas@google.com>2014-04-10 15:44:01 -0700
committerAlexander Lucas <alexlucas@google.com>2014-04-10 15:44:01 -0700
commitfb5e574e7953a646b95652632d0c4c87a47f4d5e (patch)
treed5088f81657abddfb38826713c0e6dfbc8d1fc61 /samples/browseable/BasicImmersiveMode/src/com.example.android.basicimmersivemode/MainActivity.java
parentf03f35fe248d4cf9ead29251d793f65f9f9f4c55 (diff)
downloadandroid_development-fb5e574e7953a646b95652632d0c4c87a47f4d5e.tar.gz
android_development-fb5e574e7953a646b95652632d0c4c87a47f4d5e.tar.bz2
android_development-fb5e574e7953a646b95652632d0c4c87a47f4d5e.zip
Updated browseable samples for april push
Change-Id: Idd8cc6b7c43ab93f05f0a5d69d5379631721d185
Diffstat (limited to 'samples/browseable/BasicImmersiveMode/src/com.example.android.basicimmersivemode/MainActivity.java')
-rw-r--r--samples/browseable/BasicImmersiveMode/src/com.example.android.basicimmersivemode/MainActivity.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/samples/browseable/BasicImmersiveMode/src/com.example.android.basicimmersivemode/MainActivity.java b/samples/browseable/BasicImmersiveMode/src/com.example.android.basicimmersivemode/MainActivity.java
index 83e8f0eca..0c1bcefed 100644
--- a/samples/browseable/BasicImmersiveMode/src/com.example.android.basicimmersivemode/MainActivity.java
+++ b/samples/browseable/BasicImmersiveMode/src/com.example.android.basicimmersivemode/MainActivity.java
@@ -19,6 +19,7 @@
package com.example.android.basicimmersivemode;
+import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.FragmentTransaction;
import android.view.Menu;
@@ -74,6 +75,9 @@ public class MainActivity extends SampleActivityBase {
LogFragment logFragment = (LogFragment) getSupportFragmentManager()
.findFragmentById(R.id.log_fragment);
msgFilter.setNext(logFragment.getLogView());
+ logFragment.getLogView().setTextAppearance(this, R.style.Log);
+ logFragment.getLogView().setBackgroundColor(Color.WHITE);
+
Log.i(TAG, "Ready");
}